[Asterisk-Dev] why chan_sip:regcontext registers Noop ?
Chris A. Icide
chris at netgeeks.net
Fri May 27 09:56:04 MST 2005
Luigi,
Take a look at the SIP Registration section of the following patch:
<http://bugs.digium.com/view.php?id=4371>
It allows you to do execute any dialplan function when a SIP or IAX device registers or the register expires. This adds the functionality that the regcontext doesn't have.
-Chris
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)
>
>where 3456 is the extension number.
>I don't understand how is this supposed to be used. In all examples
>I saw, and in most applications i can think of, I would rather
>have something like
>
> exten => 3456,1,Foo(SIP/${EXTEN})
>
>or exten => 3456,1,Macro(bar,${EXTEN})
>
>where Foo or bar are configurable through some entry in sip.conf,
>so that once a user/peer registers successfully it is automatically
>added to the dialplan.
>
>Am i missing something ?
>
> cheers
> luigi
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
More information about the asterisk-dev
mailing list