<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Todd<br />
<br />
How do you have the context in the phones sip configs set?<br />
<div id="divSignature"></div>
<br />
Bryant<br />
<span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b><br />
From</b>: "Todd Reese" <a href="mailto:treese65@gmail.com">treese65@gmail.com</a><br />
</span><br />
Hi all,<br />
<br />
I've been have problems with getting this system on line and would like <br />
to acquire some help with the extensions.conf.<br />
<br />
My current problem is that the phones won't dialout.on the VOIP lines <br />
listed as dialout1, dialout2, dialout3. This version of asterisk is <br />
1.6.2.11. Below is the extensions.conf file.<br />
<br />
<br />
[globals]<br />
<br />
<br />
<br />
QPHONE0=SIP/10<br />
QPHONE1=SIP/11<br />
QPHONE2=SIP/12<br />
QPHONE3=SIP/13<br />
QPHONE4=SIP/14<br />
QPHONE5=SIP/15<br />
QPHONE6=SIP/16<br />
QPHONE7=SIP/17<br />
<br />
ACAPHONE0=SIP/20<br />
ACAPHONE1=SIP/21<br />
ACAPHONE2=SIP/22<br />
ACAPHONE3=SIP/23<br />
ACAPHONE4=SIP/24<br />
ACAPHONE5=SIP/25<br />
ACAPHONE6=SIP/26<br />
ACAPHONE7=SIP/27<br />
<br />
GMNETPHONE0=SIP/30<br />
GMNETPHONE1=SIP/31<br />
GMNETPHONE2=SIP/32<br />
GMNETPHONE3=SIP/33<br />
GMNETPHONE4=SIP/34<br />
GMNETPHONE5=SIP/35<br />
GMNETPHONE6=SIP/36<br />
GMNETPHONE7=SIP/37<br />
<br />
EXTERNPHONE0=SIP/150<br />
<br />
CPHONE1=SIP/16780000000<br />
CPHONE2=SIP/17700000000<br />
<br />
EMERGENCY=0<br />
EMERGENCY_TRUNK=DAHDI/G1<br />
; Change this for production use:<br />
EMERGENCY_NUM=6789542133<br />
<br />
<br />
[from-pstn]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming1,s,1)<br />
<br />
<br />
<br />
<br />
[from-pstn1]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming1,s,1)<br />
<br />
[from-pstn2]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming1,s,1)<br />
<br />
[from-pstn3]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming1,s,1)<br />
<br />
[from-pstn4]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming3,s,1)<br />
<br />
[from-pstn5]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming2,s,1)<br />
<br />
[from-pstn6]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming1,s,1)<br />
<br />
[from-pstn7]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming1,s,1)<br />
<br />
[from-pstn8]<br />
exten => s,1,Set(FROM_DID="6780000000)<br />
exten => s,n,NoOp(id is ${FROM_DID})<br />
exten => s,n,Goto(incoming1,s,1)<br />
<br />
<br />
[incoming1]<br />
include => from-internal<br />
include => parkedcalls<br />
exten => s,1,Answer<br />
exten => s,n,Wait(1)<br />
exten => s,n,Set(CHANNEL(musicclass)=QCI)<br />
exten => s,n,Set(TIMEOUT(digit)=5)<br />
exten => s,n,Set(TIMEOUT(response)=10)<br />
exten => s,n,Background(thank-you-for-calling)<br />
exten => <br />
s,n,Dial(${QPHONE0}&${QPHONE1}&${QPHONE2}&${QPHONE3}&${QPHONE4}&${QPHONE5}&${QPHONE6}&${QPHONE7},40,Ttr)<br />
exten => s,n,Hangup<br />
<br />
<br />
[incoming2]<br />
include => from-internal<br />
include => parkedcalls<br />
exten => s,1,Answer<br />
exten => s,n,Wait(1)<br />
exten => s,n,Set(CHANNEL(musicclass)=QCI)<br />
exten => s,n,Set(TIMEOUT(digit)=5)<br />
exten => s,n,Set(TIMEOUT(response)=10)<br />
exten => s,n,Background(thank-you-for-calling)<br />
exten => <br />
s,n,Dial(${ACAPHONE0}&${ACAPHONE1}&${ACAPHONE2}&${ACAPHONE3}&${ACAPHONE4}&${ACAPHONE5}&${ACAPHONE6}&${ACAPHONE7},40,TTr)<br />
exten => s,n,Hangup<br />
<br />
[incoming3]<br />
include => from-internal<br />
include => parkedcalls<br />
exten => s,1,Answer<br />
exten => s,n,Wait(1)<br />
exten => s,n,Set(CHANNEL(musicclass)=QCI)<br />
exten => s,n,Set(TIMEOUT(digit)=5)<br />
exten => s,n,Set(TIMEOUT(response)=10)<br />
exten => s,n,Background(thank-you-for-calling)<br />
exten => s,n,GotoIfTime(17:01-09:00|*|*|*?closed,s,1)<br />
exten => <br />
s,n,Dial(${GMNETPHONE0}&${GMNETPHONE1}&${GMNETPHONE2}&${GMNETPHONE3}&${GMNETPHONE4}&${GMNETPHONE5}&${GMNETPHONE6}&${GMNETPHONE7},40,Ttr)<br />
exten => s,n,Hangup<br />
<br />
[from-interal]<br />
include => dialout1<br />
include => dialout2<br />
include => dialout3<br />
include => parkedcalls<br />
include => intercom<br />
<br />
exten => 10,1,Macro(oneline,${QPHONE0})<br />
exten => 11,1,Macro(oneline,${QPHONE1})<br />
exten => 12,1,Macro(oneline,${QPHONE2})<br />
exten => 13,1,Macro(oneline,${QPHONE3})<br />
exten => 14,1,Macro(oneline,${QPHONE4})<br />
exten => 15,1,Macro(oneline,${QPHONE5})<br />
exten => 16,1,Macro(oneline,${QPHONE6})<br />
exten => 17,1,Macro(oneline,${QPHONE7})<br />
<br />
exten => 20,1,Macro(oneline,${ACAPHONE0})<br />
exten => 21,1,Macro(oneline,${ACAPHONE1})<br />
exten => 22,1,Macro(oneline,${ACAPHONE2})<br />
exten => 23,1,Macro(oneline,${ACAPHONE3})<br />
exten => 24,1,Macro(oneline,${ACAPHONE4})<br />
exten => 25,1,Macro(oneline,${ACAPHONE5})<br />
exten => 26,1,Macro(oneline,${ACAPHONE6})<br />
exten => 27,1,Macro(oneline,${ACAPHONE7})<br />
<br />
exten => 30,1,Macro(oneline,${GMNETPHONE0})<br />
exten => 31,1,Macro(oneline,${GMNETPHONE1})<br />
exten => 32,1,Macro(oneline,${GMNETPHONE2})<br />
exten => 33,1,Macro(oneline,${GMNETPHONE3})<br />
exten => 34,1,Macro(oneline,${GMNETPHONE4})<br />
exten => 35,1,Macro(oneline,${GMNETPHONE5})<br />
exten => 36,1,Macro(oneline,${GMNETPHONE6})<br />
exten => 37,1,Macro(oneline,${GMNETPHONE7})<br />
<br />
exten => 40,1,Macro(oneline,${QPHONE0})<br />
exten => 41,1,Macro(oneline,${QPHONE1})<br />
exten => 42,1,Macro(oneline,${QPHONE2})<br />
exten => 43,1,Macro(oneline,${QPHONE3})<br />
exten => 44,1,Macro(oneline,${QPHONE4})<br />
exten => 45,1,Macro(oneline,${QPHONE5})<br />
exten => 46,1,Macro(oneline,${QPHONE6})<br />
exten => 47,1,Macro(oneline,${QPHONE7})<br />
<br />
exten => 150,1,Macro(oneline,${EXTERNPHONE0})<br />
<br />
<br />
<br />
<br />
[macro-oneline]<br />
exten => s,1,Set(CHANNEL(musicclass)=default)<br />
exten => s,n,Dial(${ARG1},20,Ttr)<br />
exten => s,n,Voicemail(${MACRO_EXTEN})<br />
exten => s,n,Hangup<br />
exten => s,102,Voicemail(${MACRO_EXTEN})<br />
exten => s,103,Hangup<br />
<br />
<br />
<br />
[dialout1]<br />
include => from-internal<br />
include => 411<br />
exten => 911,1,Goto(nineoneone,s,1)<br />
exten => _1NXXNXXXXXX,n,Dial(SIP/v6781234567/${EXTEN},40,Ttr)<br />
exten => _NXXNXXXXXX,n,Dial(SIP/v6781234567/${EXTEN},40,Ttr)<br />
<br />
[dialout2]<br />
include => from-internal<br />
include => 411<br />
exten => 911,1,Goto(nineoneone,s,1)<br />
exten => _1NXXNXXXXXX,n,Dial(SIP/voipdialACA/${EXTEN},40,Ttr)<br />
exten => _NXXNXXXXXX,n,Dial(SIP/voipdialACA/${EXTEN},40,Ttr)<br />
<br />
[dialout3]<br />
include => from-internal<br />
include => 411<br />
exten => 911,1,Goto(nineoneone,s,1)<br />
exten => _1NXXNXXXXXX,n,Dial(SIP/v6781234567/${EXTEN},40,Ttr)<br />
exten => _1NXXNXXXXXX,n,Dial(SIP/v6781234567/${EXTEN},40,Ttr)<br />
<br />
<br />
<br />
[voicemail]<br />
exten => 8500,1,VoicemailMain<br />
exten => 8500,2,Hangup<br />
<br />
<br />
<br />
<br />
[411]<br />
exten => 411,1,Dial(SIP/v6781234567/18004664411,,Ttr)<br />
<br />
<br />
[nineoneone]<br />
exten => s,1,Set(SET_EMERG_FLAG=0)<br />
exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK})<br />
exten => s,n,Set(EMERGENCY=1,g)<br />
exten => s,n,Set(SET_EMERG_FLAG=1)<br />
exten => s,n(dial),Dial(${EMERGENCY_TRUNK}/${EMERGENCY_NUM})<br />
exten => s,s+2(trunkbusy),GotoIf($[${EMERGENCY} = 1]?inprogress)<br />
exten => s,n,SoftHangup(${EMERGENCY_TRUNK}-1)<br />
exten => s,n,Wait(12)<br />
exten => s,n,Goto(checkavail)<br />
exten => s,s+2(inprogress),Congestion<br />
exten => s,checkavail+101(notavail),Goto(trunkbusy)<br />
exten => h,1,GotoIf($[${SET_EMERG_FLAG} = 1]?3)<br />
exten => h,3,Set(EMERGENCY=0,g)<br />
<br />
<br />
[closed]<br />
exten => s,n,Dial(Dial(SIP/v6781234567/${CPHONE1},40,Ttr)<br />
exten => s,n,Hangup<br />
<br />
<br />
[intercom]<br />
exten => 59,1,SIPAddHeader(Call-Info: answer-after=0)<br />
exten => <br />
59,2,Page(${GMNETPHONE0}&${GMNETPHONE1}&${GMNETPHONE2}&${GMNETPHONE3}&${GMNETPHONE4}&${GMNETPHONE5}&${GMNETPHONE6}&${GMNETPHONE7}|d)<br />
exten => 59,3, Hangup<br />
<br />
<br />
-- <br />
_____________________________________________________________________<br />
-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
http://www.asterisk.org/hello<br />
<br />
asterisk-users mailing list<br />
To UNSUBSCRIBE or update options visit:<br />
http://lists.digium.com/mailman/listinfo/asterisk-users<br />
<br /></span>