hi<br>you should first solve this<br><br>Warning [2630]: config.c:768 process_text_line: Unknown Directive at<br>
line 231 of /etc/asterisk/../zaptel.conf<br><br>check what do you have in the line 231 of your zaptel.conf file.<br><br>David<br><br><div class="gmail_quote">2009/2/26 Wye-khe Kwok <span dir="ltr"><<a href="mailto:Wye-khe.Kwok@biosjp.com">Wye-khe.Kwok@biosjp.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi everyone!<br>
<br>
I'm quite a newbie at this Asterisk stuff so please bear with me.<br>
<br>
We've recently decided to start training in Asterisk via AsteriskNow!<br>
<br>
Asterisk version is 1.4.18.1 through AsteriskNow! 1.02<br>
<br>
The box we have is paired with a Digium TE110P and we've managed to get<br>
it to the point where incoming calls via a single DID (from NTT Japan)<br>
can be received and answered (INS1500 here in Japan). We're using SIP<br>
phones here.<br>
<br>
However, on attempting outbound calls, I've noticed the following<br>
message on the Live Console.<br>
<br>
Warning [2630]: config.c:768 process_text_line: Unknown Directive at<br>
line 231 of /etc/asterisk/../zaptel.conf<br>
<br>
The phones have no dial tones and we get nothing but silence when<br>
dialing no.s and hitting the 'send' button.<br>
<br>
Following are some excerpts from the Conf Files (Sorry about the spam -<br>
I'm not sure what's redundant)<br>
<br>
---<br>
<br>
Sip.Conf: (Only included info that didn't start with semicolons)<br>
<br>
[general]<br>
context=default ; Default context for incoming calls<br>
allowoverlap=no ; Disable overlap dialing support.<br>
(Default is yes)<br>
bindport=5060 ; UDP Port to bind to (SIP standard port<br>
is 5060)<br>
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds<br>
to all)<br>
srvlookup=yes ; Enable DNS SRV lookups on outbound<br>
calls<br>
<br>
language=jp ; Default language setting for all<br>
users/peers<br>
; This may also be set for individual<br>
users/peers<br>
<br>
<br>
Extensions.Conf:<br>
<br>
[general]<br>
static = yes<br>
writeprotect = no<br>
autofallthrough = yes<br>
clearglobalvars = no<br>
priorityjumping = no<br>
<br>
[globals]<br>
span_1 = Zap/g1<br>
<br>
[dundi-e164-canonical]<br>
<br>
[dundi-e164-customers]<br>
<br>
[dundi-e164-via-pstn]<br>
<br>
[dundi-e164-local]<br>
include => dundi-e164-canonical<br>
include => dundi-e164-customers<br>
include => dundi-e164-via-pstn<br>
<br>
[dundi-e164-switch]<br>
switch => DUNDi/e164<br>
<br>
[dundi-e164-lookup]<br>
include => dundi-e164-local<br>
include => dundi-e164-switch<br>
<br>
[macro-dundi-e164]<br>
exten => s,1,Goto(${ARG1},1)<br>
include => dundi-e164-lookup<br>
<br>
[iaxtel700]<br>
exten =><br>
_91700XXXXXXX,1,Dial(IAX2/${<a href="http://IAXINFO%7D@iaxtel.com/$%7BEXTEN:1%7D@iaxtel" target="_blank">IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel</a>)<br>
<br>
[iaxprovider]<br>
<br>
[trunkint]<br>
exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})<br>
exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[trunkld]<br>
exten => _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1})<br>
exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[trunklocal]<br>
exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[trunktollfree]<br>
exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[international]<br>
ignorepat => 9<br>
include => longdistance<br>
include => trunkint<br>
<br>
[longdistance]<br>
ignorepat => 9<br>
include => local<br>
include => trunkld<br>
<br>
[local]<br>
ignorepat => 9<br>
include => default<br>
include => parkedcalls<br>
include => trunklocal<br>
include => iaxtel700<br>
include => trunktollfree<br>
include => iaxprovider<br>
<br>
[macro-stdexten]<br>
exten => s,1,Dial(${ARG2},20)<br>
exten => s,2,Goto(s-${DIALSTATUS},1)<br>
exten => s-NOANSWER,1,Voicemail(${ARG1},u)<br>
exten => s-NOANSWER,2,Goto(default,s,1)<br>
exten => s-BUSY,1,Voicemail(${ARG1},b)<br>
exten => s-BUSY,2,Goto(default,s,1)<br>
exten => _s-.,1,Goto(s-NOANSWER,1)<br>
exten => a,1,VoicemailMain(${ARG1})<br>
<br>
[macro-stdPrivacyexten]<br>
exten => s,1,Dial(${ARG2},20|p)<br>
exten => s,2,Goto(s-${DIALSTATUS},1)<br>
exten => s-NOANSWER,1,Voicemail(u${ARG1})<br>
exten => s-NOANSWER,2,Goto(default,s,1)<br>
exten => s-BUSY,1,Voicemail(b${ARG1})<br>
exten => s-BUSY,2,Goto(default,s,1)<br>
exten => s-DONTCALL,1,Goto(${ARG3},s,1)<br>
exten => s-TORTURE,1,Goto(${ARG4},s,1)<br>
exten => _s-.,1,Goto(s-NOANSWER,1)<br>
exten => a,1,VoicemailMain(${ARG1})<br>
<br>
[macro-page]<br>
exten => s,1,ChanIsAvail(${ARG1}|js)<br>
exten => s,n,GoToIf([${AVAILSTATUS} = "1"]?autoanswer:fail)<br>
exten => s,n(autoanswer),Set(_ALERT_INFO="RA")<br>
exten => s,n,SIPAddHeader(Call-Info: Answer-After=0)<br>
exten => s,n,NoOp()<br>
exten => s,n,Dial(${ARG1}||)<br>
exten => s,n(fail),Hangup<br>
<br>
[page]<br>
exten => _X.,1,Macro(page,SIP/${EXTEN})<br>
<br>
[default]<br>
exten => 6050,1,VoiceMailMain<br>
exten = 7000,1,Goto(voicemenu-custom-1|s|1)<br>
exten => 6000,1,MeetMe(${EXTEN}|MI)<br>
exten = 3010,1,Goto(ringroups-custom-1|s|1)<br>
exten = 3020,1,Goto(ringroups-custom-2|s|1)<br>
exten = 6005,1,Queue(${EXTEN})<br>
<br>
[voicemenu-custom-1]<br>
include = default<br>
comment = Welcome<br>
alias_exten = 7000<br>
exten = s,1,Answer<br>
exten = s,2,Wait(1)<br>
exten = s,3,Background(thank-you-for-calling)<br>
exten = s,4,Background(if-u-know-ext-dial)<br>
exten = s,5,Background(otherwise)<br>
exten = s,6,Background(to-reach-operator)<br>
exten = s,7,Background(pls-hold-while-try)<br>
exten = s,8,WaitExten(6)<br>
<br>
[numberplan-custom-1]<br>
plancomment = DialPlan1<br>
include = default<br>
include = parkedcalls<br>
exten =<br>
_9011XXXXXXX!,1,Macro(trunkdial,${span_1}/${EXTEN:1},${span_1_cid})<br>
comment = _9011XXXXXXX!,1,International,standard<br>
exten =<br>
_9256XXXXXXX!,1,Macro(trunkdial,${span_1}/${EXTEN:4},${span_1_cid})<br>
comment = _9256XXXXXXX!,1,Local,standard<br>
exten =<br>
_91700XXXXXXX!,1,Macro(trunkdial,${span_1}/${EXTEN:1},${span_1_cid})<br>
comment = _91700XXXXXXX!,1,IAXTEL,standard<br>
exten =<br>
_91XXXXXXXXXX!,1,Macro(trunkdial,${span_1}/${EXTEN:1},${span_1_cid})<br>
comment = _91XXXXXXXXXX!,1,Longdistance,standard<br>
exten = _9XXXXXXX!,1,Macro(trunkdial,${span_1}/${EXTEN:1},${span_1_cid})<br>
comment = _9XXXXXXX!,1,Local,standard<br>
exten = _911!,1,Macro(trunkdial,${span_1}/${EXTEN:0},${span_1_cid})<br>
comment = _911!,1,911,standard<br>
<br>
[macro-trunkdial]<br>
exten = s,1,set(CALLERID(all)=${IF($["${LEN(${CALLERID(num)})}" ><br>
"6"]?${CALLERID(all)}:${ARG2})})<br>
exten = s,n,Dial(${ARG1})<br>
exten = s,n,Goto(s-${DIALSTATUS},1)<br>
exten = s-NOANSWER,1,Hangup<br>
exten = s-BUSY,1,Hangup<br>
exten = _s-.,1,NoOp<br>
<br>
[ringroups-custom-1]<br>
gui_ring_groupname = Alpha_Bravo<br>
exten = s,1,NoOp(RINGGROUP)<br>
exten = s,n,Dial(SIP/3000,3)<br>
exten = s,n,Dial(SIP/3001,3)<br>
exten = s,n,Voicemail(3000,b)<br>
<br>
[ringroups-custom-2]<br>
gui_ring_groupname = Charlie_Delta<br>
exten = s,1,NoOp(RINGGROUP)<br>
exten = s,n,Dial(SIP/3002,3)<br>
exten = s,n,Dial(SIP/3003,3)<br>
exten = s,n,Voicemail(3002,b)<br>
<br>
[DID_span_1]<br>
include = default<br>
exten = _X.,1,Goto(ringroups-custom-1,s,1)<br>
exten = s,1,ExecIf($[ "${CALLERID(num)}"="" ],SetCallerPres,unavailable)<br>
exten = s,2,ExecIf($[ "${CALLERID(num)}"="" ],Set,CALLERID(all)=unknown<br>
<0000000>)<br>
exten = s,3,Goto(ringroups-custom-1,s,1)<br>
<br>
<br>
Zapata.Conf: (Pretty much empty - is this corrent?)<br>
<br>
[Trunks]<br>
<br>
[Channels]<br>
<br>
<br>
<br>
Zaptel.Conf:<br>
<br>
span = 1,1,0,esf,b8zs<br>
bchan = 1-23<br>
dchan = 24<br>
loadzone = jp<br>
defaultzone = jp<br>
<br>
---<br>
<br>
I'm still reading up on online help and documentation but can't find<br>
anything that suggests what could be wrong.<br>
<br>
Thanks in advance for any help!<br>
<br>
YK<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br> (\__/) <br>(='.'=)This is Bunny. Copy and paste bunny into your <br>(")_(")signature to help him gain world domination. <br><br>