<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for pointing out the misspelling. I've corrected that and
still no luck.<br>
<br>
On 8/30/2010 2:33 PM, Alex Bell wrote:
<blockquote
cite="mid:AANLkTikjTyc2sMxgUdmf2CLT0iTrqujnNWGRFWyvynW7@mail.gmail.com"
type="cite">possibly check you spelling: [from-interal] ->
[dialout1]<br>
include => from-internal<br>
<br>
??<br>
<br>
<div class="gmail_quote">On Mon, Aug 30, 2010 at 10:14 AM, Todd
Reese <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:treese65@gmail.com">treese65@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> 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 <a
moz-do-not-send="true" href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every
Thurs:<br>
<a moz-do-not-send="true"
href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a moz-do-not-send="true"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>