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:[EMAIL PROTECTED]
web:www.torrenga.com


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to