[Asterisk-Users] How to make extension groups ???

Ira ira at extrasensory.com
Tue Mar 21 10:57:22 MST 2006


At 01:50 AM 03/21/2006, you wrote:
>i am repeating this question for the sixth time but i think i was 
>not explaining the problem correctly.  ............. Now i will try 
>to explain it......

For each line in Zapata.conf make an entry like:

context=line1
group=1,9
channel => 1

context=line2
group=2,9
channel => 2

context=line3
group=2,3,9
channel => 3

context=line4
group=2,3,4,9
channel => 4

Then in sip.conf assign the extensions to the outgoing contexts as 
shown in extensions.conf:

[12]
context=group2
[13]
context=group2
[14]
context=group3
[20]
context=group3
[21]
context=group4
[30]
context=group4


Then in extensions.conf make your dial entries look something like:

[group1]
include => emergency
exten => _x.,1, dial(ZAP/g1, ${EXTEN})

[group2]
include => emergency
exten => _x.,1, dial(ZAP/g2, ${EXTEN})

[group3]
include => emergency
exten => _x.,1, dial(ZAP/g3, ${EXTEN})

[group4]
include => emergency
exten => _x.,1, dial(ZAP/g4, ${EXTEN})

[emergency] 911,1,dial(ZAP/g9, 911)

That's the tip of the iceberg. It's everything you need to know if 
you've read the documentation about setting up *.

Ira 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 03/20/2006





More information about the asterisk-users mailing list