> > I noticed that when I try to call a hardphone
> configured to
> > prefer the ulaw codec from a Win7 Jitsi client
> audio codecs gsm,
> > ulaw and alaw then everything works except for
> sending audio to
> > the hardphone (ie. as if the mic were failing).
> From the logs it seems that we sent roughly the same
> of packets
> as what we received. Could it be that the audio is not
> reaching the
> hardphone or that it is not playing it?
The audio actually reaches the hardphone because during the
first second I hear something and then it goes silent.
> Does the same thing happen with the Asterisk Echo
Haven't tried that yet.
Tried the echo service and all went OK both with Jitsi->Asterisk and Hardphone->Asterisk.
> It coulg be a GSM codec incompatibility between Jitsi
> that version
> of asterisk, or Jitsi and the device.
The hardphone doesn't support GSM and uses ulaw or alaw. So
Asterisk should be transcoding Jitsi GSM - Hardphone
I currently don't have access to the Asterisk server until
next week but I'm pretty sure canreinvite is 'no'.
canreinvite is "no" for both sip peers. So correct me if I'm wrong but if the hardphone accepts only ulaw and alaw (not gsm) and Jitsi accepts gsm, ulaw and alaw, shouldn't the ulaw or alaw audio codecs be negotiated (not gsm)? So even if Jitsi "prefers" gsm, it should use a/ulaw. So I guess that if it's a compatibility issue then it shouldn't be related to GSM but ulaw/alaw, right?
Anyway, I setup a call Jitsi->Hardphone and here's what I see on the Asterisk server (Jitsi client is at 10.215.144.48, Hardphone is at 10.215.146.209):
# asterisk -rx "sip show channels" | grep 10.215.144.48
10.215.144.48 4053 aa0dd3265e5 00101/00002 0x2 (gsm) No Rx: ACK
10.215.144.48 (None) 752243aca04 00101/00580 0x0 (nothing) No Rx: REGISTER
# asterisk -rx "sip show channels" | grep 10.215.146.209
10.215.146.209 4444 3afe620c2a3 00102/00000 0x3f0004 (ulaw| No Tx: ACK
It could be a GSM compatibility issue between Jitsi and Asterisk 1.4. In fact if I disable GSM in Jitsi options then both ends are ulaw-encoded and all's fine (audio goes through).
However, if I enable GSM on Jitsi and call another type of device that supports GSM through Asterisk (with canreinvite=no) then the call is also full GSM on both sides and works fine.
If it were a GSM issue between Jitsi and Asterisk wouldn't this scenario also fail? I'm puzzled.
Has anyone tested Jitsi GSM + another ulaw peer with Asterisk 1.4.31?
--- On Thu, 3/28/13, Vieri <firstname.lastname@example.org> wrote:
--- On Tue, 3/26/13, Emil Ivov <email@example.com> > wrote: