[Asterisk-Dev] IAX2 protocol question

Steve Kann stevek at stevek.com
Mon Oct 18 07:47:22 MST 2004


Matt Riddell wrote:

> Tim Robbins wrote:
>
>>  From reading the Asterisk sources, it looks as if the FORMAT 
>> information element, when sent as part of an ACCEPT frame, lets the 
>> calling IAX endpoint know which formats are supported by both 
>> parties. However, libiax2 (and therefore the majority of IAX 
>> softphones) does not send a FORMAT IE as part of the ACCEPT. In this 
>> situation, what is the "right" way to determine which format voice 
>> frames should be sent in?
>>
>> Thanks for any suggestions.
>
>
> The iaxclient libraries have just recently had multiple codecs added. 
> You might want to check that you have the latest version.


I didn't make any changes to libiax2 w.r.t. how the codec negotiation 
works yet.  Basically, I think I'll need to just look at what asterisk 
does, and follow the same model.   (I also haven't tested any calls 
being _accepted_, only calls from iaxclient -> asterisk.

If people want this done faster, of course, contributions are always 
welcome :)

-SteveK






More information about the asterisk-dev mailing list