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

2006-01-27 Thread Alejandro Mejía Evertsz








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:[EMAIL PROTECTED]/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






___
--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


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

2006-01-27 Thread Nabeel Jafferali
If you have, in sip.conf, a register = blah:[EMAIL PROTECTED]/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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED]/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

___
--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