[Asterisk-Users] Codec mismatch between SIP (BT) and IAX Phone

Steve Kann stevek at stevek.com
Tue Jan 25 16:21:48 MST 2005


Robert Rozman wrote:

>----- Original Message ----- 
>From: "Steve Kann" <stevek at stevek.com>
>To: "Asterisk Users Mailing List - Non-Commercial Discussion"
><asterisk-users at lists.digium.com>
>Sent: Tuesday, January 25, 2005 3:56 PM
>Subject: Re: [Asterisk-Users] Codec mismatch between SIP (BT) and IAX Phone
>
>
>  
>
>>Robert Rozman wrote:
>>
>>    
>>
>>>----- Original Message ----- 
>>>From: <timebandit001 at gmail.com>
>>>To: "Asterisk Users Mailing List - Non-Commercial Discussion"
>>><asterisk-users at lists.digium.com>
>>>Sent: Tuesday, January 25, 2005 2:44 PM
>>>Subject: Re: [Asterisk-Users] Codec mismatch between SIP (BT) and IAX
>>>      
>>>
>Phone
>  
>
>>>
>>>
>>>      
>>>
>>>>>(IAXPhone):
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>I suppose you're talking about Steve Sokol's phone
>>>>If so, then this phone only support gsm.
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Jan 25 13:52:22 NOTICE[31334]: channel.c:1314 ast_read: Dropping
>>>>>incompatible voice frame on IAX2/200/1 of format gsm since our native
>>>>>
>>>>>
>>>>>          
>>>>>
>>>format
>>>
>>>
>>>      
>>>
>>>>>has changed to ulaw
>>>>>
>>>>>Why is Asterisk not satisfied with gsm packets - it should transcode if
>>>>>necessary ?
>>>>>I have enabled gsm and ulaw in both configs, but it seems not
>>>>>
>>>>>
>>>>>          
>>>>>
>>>sufficient.
>>>
>>>
>>>      
>>>
>>>>Yes, * will transcode, but you specified in the IAX Phone config that
>>>>you allow this one tu use gsm AND ulaw, so instead of transcoding, *
>>>>just tell the IAX Phone to switch to uLaw, since the originating party
>>>>sends it in ulaw.
>>>>
>>>>Just change your iax.conf to only allow gsm on the IAX Phone like this :
>>>>
>>>>disallow=all
>>>>allow=gsm
>>>>
>>>>
>>>>        
>>>>
>>>Oh, I see my mistake. Asterisk checks settings in iax.conf and plays
>>>accordingly (I thought it talks to client by himself).
>>>
>>>
>>>      
>>>
>>I think it should, but the old version of iaxclient that iaxphone is
>>based on doesn't advertise it's supported codecs correctly..
>>
>>-SteveK
>>
>>    
>>
>Hi,
>
>thanks for info. Which iax softphones are using newer iaxclient ? What is
>the best iax softphone from this point of view ?
>  
>
I don't know for sure, but I think iaxcomm and DIAX are most up-to-date.

-SteveK




More information about the asterisk-users mailing list