On 24/02/2006, at 5:40 AM, Mike Pollitt wrote:
You want regexten/regcontext in sip.conf under each peer.
http://www.voip-info.org/wiki-Asterisk+sip+regcontext
Yes, thats exactly what I want.
the scenario is i have two asterisk boxes.
box one (10.0.1.1) has a phone that registers as 1000
box two (10.0.2.1) has a phone that registers as 2000
I want to be able to call [EMAIL PROTECTED] and [EMAIL PROTECTED]
Now i realise I can add an extension similar to this
exten => 1000,1,Dial(Sip/100)
But I just want it to somewhat dynamic so if 1000 registers on
10.0.1.1 I can easily send it a call with the Dial(SIP/[EMAIL PROTECTED])
from box two (or another box).
regexten is basically what I want but as stated earlier is has some
shortcomings in the face that you must restart (not reload) asterisk
when the state of a sip peer changes.
Regards,
Nathan.
_______________________________________________
--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