[Asterisk-Dev] why chan_sip:regcontext registers Noop ?
Kevin P. Fleming
kpfleming at digium.com
Fri May 27 08:49:37 MST 2005
Luigi Rizzo wrote:
> I notice that chan_sip.c has the option, when given a regcontext
> argument in sip.conf, to register an entry in the dialplan of the form
>
> exten => 3456,1,Noop(3456)
Right, so in that context, you have also:
exten => _3XXX,2,Dial(SIP/${EXTEN})
Using 'regcontext' allows your dialplan to quickly know that a SIP peer
is not available, rather than attempting a dial (which allows the
dialplan to take alternative action if need be).
More information about the asterisk-dev
mailing list