[asterisk-users] SIP Change canreinvite=yes/no from dialplan?

JR Richardson jmr.richardson at gmail.com
Mon Nov 16 14:59:36 CST 2009


Hi All,

Currently I have voice calls from a certain SIP peer coming into an asterisk
server where the specific [SIP] channel is set to 'canreinvite=no'.

I would like to enable reinvites for certain calls, matched on DID.  So I'm
wondering if there is a mechanism in the dial plan to turn on/off reinvite
capability or will every call on this channel be forced to use the SIP peer
context for the duration of the call?  Is there maybe a new feature in 1.6
that does this?

exten => 5551212,1,Set(canreinvite=yes)
exten => 5551212,2,Dial(SIP/${EXTEN}@othersippeer<SIP/$%7BEXTEN%7D at othersippeer>
,,)

Something like that.

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091116/c41cd915/attachment.htm 


More information about the asterisk-users mailing list