[Asterisk-Users] Context for SIP incoming (newbie question?)

Nabeel Jafferali asterisk-lists at x2n.ca
Fri Jan 27 23:11:55 MST 2006


If you have, in sip.conf, a register => blah:blah at sip.blah.com/12345, you
would also have:

[blah]


host=sip.blah.com
context=from-blah



Then, in extensions.conf, you would have:

[from-blah]
exten => 12345,1,Dial(whatever)
...

Nabeel

________________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alejandro
Mejía Evertsz
Sent: January 27, 2006 5:42 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] Context for SIP incoming (newbie question?)

Please help me out with this


To which context of the dial-plan does asterisk tries to match incoming
calls when acting as a sip client?
To be more specific:
In extensions.conf
 Under which context should I place  “exten =>
648064,1,Dial(TECH/peer)” for an entry like this “register =>
648064:mysecret at fwd/648064” ?

This is because I want to match one sip client to one context, and another
sip client into another context.
Is it possible?
What is the correct way to do it??

Thanks,
Alejandro




More information about the asterisk-users mailing list