It doesn’t “execute” a command upon registration. What it does is insert a simple noop into the extension and context at priority 1 so the extension then becomes active. For example:

 

Before I register:

Exten => 145,2,Dial(SIP/jcolp_cisco1)

 

When I register it then turns into:

Exten => 145,1,Noop()

Exten => 145,2,Dial(SIP/jcolp_cisco1)

 

This means when I’m registered, a person can call me but when I’m not – the extension is useless and calling it does nothing and doesn’t attempt to call me.

 

Joshua Colp

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Garstang
Sent: Sunday, December 11, 2005 4:38 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Regexten

 

Before I play around with this again in 1.2.1, regexten is still essentially broken, correct?

 

The misconception seems to be that it allows you to execute a command upon registration from a SIP UA. Even the O'Reilly TFOT book erroneously states that this is what it is for. After reading the developer discussion though, it definitely seems to be broken. Is it fixed yet?

 

Doug.

 

 

 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to