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">&lt;<a href="mailto:Wye-khe.Kwok@biosjp.com">Wye-khe.Kwok@biosjp.com</a>&gt;</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&#39;m quite a newbie at this Asterisk stuff so please bear with me.<br>
<br>
We&#39;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&#39;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&#39;re using SIP<br>
phones here.<br>
<br>
However, on attempting outbound calls, I&#39;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 &#39;send&#39; button.<br>
<br>
Following are some excerpts from the Conf Files (Sorry about the spam -<br>
I&#39;m not sure what&#39;s redundant)<br>
<br>
---<br>
<br>
Sip.Conf: (Only included info that didn&#39;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 =&gt; dundi-e164-canonical<br>
include =&gt; dundi-e164-customers<br>
include =&gt; dundi-e164-via-pstn<br>
<br>
[dundi-e164-switch]<br>
switch =&gt; DUNDi/e164<br>
<br>
[dundi-e164-lookup]<br>
include =&gt; dundi-e164-local<br>
include =&gt; dundi-e164-switch<br>
<br>
[macro-dundi-e164]<br>
exten =&gt; s,1,Goto(${ARG1},1)<br>
include =&gt; dundi-e164-lookup<br>
<br>
[iaxtel700]<br>
exten =&gt;<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 =&gt; _9011.,1,Macro(dundi-e164,${EXTEN:4})<br>
exten =&gt; _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[trunkld]<br>
exten =&gt; _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1})<br>
exten =&gt; _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[trunklocal]<br>
exten =&gt; _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[trunktollfree]<br>
exten =&gt; _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
exten =&gt; _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
exten =&gt; _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
exten =&gt; _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})<br>
<br>
[international]<br>
ignorepat =&gt; 9<br>
include =&gt; longdistance<br>
include =&gt; trunkint<br>
<br>
[longdistance]<br>
ignorepat =&gt; 9<br>
include =&gt; local<br>
include =&gt; trunkld<br>
<br>
[local]<br>
ignorepat =&gt; 9<br>
include =&gt; default<br>
include =&gt; parkedcalls<br>
include =&gt; trunklocal<br>
include =&gt; iaxtel700<br>
include =&gt; trunktollfree<br>
include =&gt; iaxprovider<br>
<br>
[macro-stdexten]<br>
exten =&gt; s,1,Dial(${ARG2},20)<br>
exten =&gt; s,2,Goto(s-${DIALSTATUS},1)<br>
exten =&gt; s-NOANSWER,1,Voicemail(${ARG1},u)<br>
exten =&gt; s-NOANSWER,2,Goto(default,s,1)<br>
exten =&gt; s-BUSY,1,Voicemail(${ARG1},b)<br>
exten =&gt; s-BUSY,2,Goto(default,s,1)<br>
exten =&gt; _s-.,1,Goto(s-NOANSWER,1)<br>
exten =&gt; a,1,VoicemailMain(${ARG1})<br>
<br>
[macro-stdPrivacyexten]<br>
exten =&gt; s,1,Dial(${ARG2},20|p)<br>
exten =&gt; s,2,Goto(s-${DIALSTATUS},1)<br>
exten =&gt; s-NOANSWER,1,Voicemail(u${ARG1})<br>
exten =&gt; s-NOANSWER,2,Goto(default,s,1)<br>
exten =&gt; s-BUSY,1,Voicemail(b${ARG1})<br>
exten =&gt; s-BUSY,2,Goto(default,s,1)<br>
exten =&gt; s-DONTCALL,1,Goto(${ARG3},s,1)<br>
exten =&gt; s-TORTURE,1,Goto(${ARG4},s,1)<br>
exten =&gt; _s-.,1,Goto(s-NOANSWER,1)<br>
exten =&gt; a,1,VoicemailMain(${ARG1})<br>
<br>
[macro-page]<br>
exten =&gt; s,1,ChanIsAvail(${ARG1}|js)<br>
exten =&gt; s,n,GoToIf([${AVAILSTATUS} = &quot;1&quot;]?autoanswer:fail)<br>
exten =&gt; s,n(autoanswer),Set(_ALERT_INFO=&quot;RA&quot;)<br>
exten =&gt; s,n,SIPAddHeader(Call-Info: Answer-After=0)<br>
exten =&gt; s,n,NoOp()<br>
exten =&gt; s,n,Dial(${ARG1}||)<br>
exten =&gt; s,n(fail),Hangup<br>
<br>
 [page]<br>
exten =&gt; _X.,1,Macro(page,SIP/${EXTEN})<br>
<br>
[default]<br>
exten =&gt; 6050,1,VoiceMailMain<br>
exten = 7000,1,Goto(voicemenu-custom-1|s|1)<br>
exten =&gt; 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($[&quot;${LEN(${CALLERID(num)})}&quot; &gt;<br>
&quot;6&quot;]?${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($[ &quot;${CALLERID(num)}&quot;=&quot;&quot; ],SetCallerPres,unavailable)<br>
exten = s,2,ExecIf($[ &quot;${CALLERID(num)}&quot;=&quot;&quot; ],Set,CALLERID(all)=unknown<br>
&lt;0000000&gt;)<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&#39;m still reading up on online help and documentation but can&#39;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>(=&#39;.&#39;=)This is Bunny. Copy and paste bunny into your <br>(&quot;)_(&quot;)signature to help him gain world domination. <br><br>