[Asterisk-Users] Codec negotiation

niels at wxn.nl niels at wxn.nl
Tue Jan 25 08:18:30 MST 2005


Hello 

On every Incoming SIP and IAX call I see the following in asterisk
debug:

Accepting AUTHENTICATED call from 10.10.10.10, requested format = gsm,
requested prefs = (), actual format = g729, my prefs =
(g729|gsm|g723|g726|ulaw|alaw) priority = mine 

The problem is that the codec preference on both parties is different 

The calling party has preference gsm/g729/etc
The called party (the one you see this debug from) has preference
g729/gsm/etc 

The problem is.. This call is now set up with G729... And I want it
rather to be decided by the callING party (thus want the call to be
negotiated GSM)

What can I do about this? (I just want that if I receive a call the
calling party decides the codec, and not my side) 

My IAX.conf and SIP.conf have the following allow settings now

Allow=all
Allow=g729
Allow=gsm
Allow=ulaw
Allow=alaw


Help :-)





More information about the asterisk-users mailing list