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

Michael D Schelin mike at shelcomm.com
Mon Sep 26 10:33:41 MST 2005


This can be done by modifying the source code. 

trixter http://www.0xdecafbad.com wrote:

>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.
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>--Bandwidth and Colocation sponsored by Easynews.com --
>
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050926/e58a7e98/attachment.htm


More information about the asterisk-users mailing list