The codec is selected by asterisk depending upon the codecs that you have allowed for the particular channel context and your setting of the bandwidth= parameter.

It would be nice if you could set things up so that an inbound call could force * to a higher bandwidth codec when needed (for example, an inbound fax call, let's say) but AFAIK this is not possible.

-mark

On Jan 25, 2005, at 10:18 AM, <[EMAIL PROTECTED]> wrote:


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 :-)


_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

--
Mark Eissler, [EMAIL PROTECTED]
Mixtur Interactive, Inc. [EMAIL PROTECTED] http://www.mixtur.com

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to