[Asterisk-Users] change codec based on callerid (sip/iax)

trixter http://www.0xdecafbad.com trixter at 0xdecafbad.com
Sun Sep 25 23:22:15 MST 2005


I have been asked if asterisk can change codecs dynamically based on the
calling party's caller id.  I couldnt find anything, and dont know that
this is something that asterisk can do, but it occurs to me that
possibly with a reinvite it can be done, however I dont think you can
issue those from the dialplan or agi.

The only solution I can think of on this is to use something like ser
(www.iptel.org/ser) in between the asterisk box and forward effectivly
to a different account on the asterisk box based on caller id (ie ser
makes a choice which account to use).  codecs then would be negotiated
normally at connect time.


-- 
Trixter http://www.0xdecafbad.com     Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050926/97181602/attachment.pgp


More information about the asterisk-users mailing list