I'm a
little confused about Asterisk codec negotiation. Hopefully someone can
help.
I have
two phones, one on a slow link where I'd like to use G729, and one on a fast
link where I'd like to use ulaw.
My
sip.conf has:
[general]
allow=ulaw
allow=g729
allow=g729
...
[slow-phone]
allow=g729
allow=ulaw
Firstly, does setting the codec for the slow-link phone override the
general settings? Of course it's not actually documented
anywhere.
When
the fast link phone calls the slow link phone, it sends ulaw and G729 in that
order to Asterisk. When Asterisk relays the INVITE to the slow link phone, it
does not change the codec preference, and sends ulaw followed by G729. I end up
with a call that's ulaw on both legs, which isn't what I want.
I
guess the settings in [slow-phone] aren't overriding the settings in [general].
That's bad...
How
can I work around this?
Doug.
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users