[asterisk-users] Can you specify a sip UA's codec based on IP?
Brent Torrenga
lists at torrenga.com
Wed Aug 1 08:47:50 CDT 2007
Does anyone have any tricks to use some logic with SIP UA's codec
negotiation based on the UA's IP? What I would like to do is have Cisco
7960's use g711u when they register with a local IP, and g729 when they
register with a non-local IP. I was thinking about sip.conf and making two
entries for each UA, one where the host=dynamic, disallow=all, then
allow=g729; the other host=static.local.ip.address, disallow=all, then
allow=ulaw. Has anyone achieved this behavior? How did you do it? Would
dialplan magic be involved?
Sincerely,
Brent A. Torrenga
Torrenga Engineering, Inc.
907 Ridge Road
Munster, Indiana 46321-1771
tel:+1 219 836 8918 x325
fax:+1 219 836 1138
email:brent.torrenga at torrenga.com
web:www.torrenga.com
More information about the asterisk-users
mailing list