<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=578570411-07092003>Fredrik,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=578570411-07092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=578570411-07092003>Your
dialplan looks correct, however you disallow 112, the emergency
number!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=578570411-07092003>Does
it fail for local or interlocal calls?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=578570411-07092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=578570411-07092003>I
use:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=578570411-07092003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=578570411-07092003>[dutchdial]<BR>;<BR>;emergency (112) and other 11x
numbers<BR>;<BR>exten => _1XX,1,Dial(${ISDN}:${EXTEN})<BR>exten =>
_1XX,2,Congestion<BR>exten => _01XX,1,Dial(${ISDN}:${EXTEN:1})<BR>exten =>
_01XX,2,Congestion<BR>;<BR>;0900 & 0800 numbers<BR>;<BR>exten =>
_00[89]00.,1,SetCIDNum(0206408219)<BR>exten =>
_00[89]00.,2,Dial(${ISDN}:${EXTEN:1})<BR>exten =>
_00[89]00.,3,Congestion<BR>;<BR>;International<BR>;<BR>exten =>
_000.,1,Dial(${ISDN}:${EXTEN:1})<BR>exten =>
_000.,2,Congestion<BR>;<BR>;Local (7 digits, add area code)<BR>;<BR>exten =>
_0XXXXXXX,1,SetCIDNum(0206408219)<BR>exten =>
_0XXXXXXX,2,Dial(${ISDN}:020${EXTEN:1})<BR>exten =>
_0XXXXXXX,3,Congestion<BR>;<BR>;Interlocal, 10 digits<BR>;<BR>exten =>
_0XXXXXXXXXX,1,SetCIDNum(0206408219)<BR>exten =>
_0XXXXXXXXXX,2,Dial(${ISDN}:${EXTEN:1})<BR>exten =>
_0XXXXXXXXXX,3,Congestion<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=578570411-07092003>And it
works fine....</DIV></SPAN></FONT>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] <B>On Behalf Of </B>fredrik
chabot<BR><B>Sent:</B> zaterdag 6 september 2003 18:25<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] Dialplan
question<BR><BR></FONT></DIV>Hi,<BR><BR>Dialplan Question<BR><BR>I'm in
holland and I have:<BR><BR><TT>[naarbuiten]<BR>ignorepat => 0<BR>;
interlocaal<BR>exten =>
_00[1-9]XXXXXXXX,1,Dial(Modem/g1:${EXTEN})
<BR>exten => _00[1-9]XXXXXXXX,2,Congestion<BR>; locaal<BR>exten =>
_0[1-9]XXXXXX,1,Dial(Modem/g1:${EXTEN})
<BR>exten => _0[1-9]XXXXXX,2,Congestion<BR><BR></TT>And sometimes I can get
out, most of the time however I get a busy signal halfway throu the
number.<BR><BR>It works more often if I change <BR><BR><I>Early Dial:
</I> <INPUT type=radio value=0 name=P29>No <INPUT
type=radio CHECKED value=1 name=P29>Yes (use "Yes" only if proxy supports 484
response)<BR><BR>to No. In the Budgetone 100
phone.<BR><BR>regards,<BR><BR>fredrik chabot<BR><BR>---<BR><BR><TT>*CLI>
show dialplan <BR>[ Context 'default' created by 'pbx_config' ]<BR>
Include =>
'demo'
[pbx_config]<BR><BR>[ Context 'demo' created by 'pbx_config' ]<BR> '#'
=> 1.
Playback(demo-thanks)
[pbx_config]<BR>
2.
Hangup()
[pbx_config]<BR> '100'
=> 1.
Dial(SIP/100)
[pbx_config]<BR> '101'
=> 1.
Dial(SIP/101)
[pbx_config]<BR> '190'
=> 1.
Dial(Modem/g1:0064000000)
[pbx_config]<BR> '8500'
=> 1.
VoicemailMain()
[pbx_config]<BR>
2.
Goto(s|6)
[pbx_config]<BR> 'i'
=> 1.
Playback(invalid)
[pbx_config]<BR> 's'
=> 1.
Wait(1)
[pbx_config]<BR>
2.
Answer()
[pbx_config]<BR>
3.
DigitTimeout(5)
[pbx_config]<BR>
4.
ResponseTimeout(10)
[pbx_config]<BR>
5.
BackGround(demo-congrats)
[pbx_config]<BR>
6.
BackGround(demo-instruct)
[pbx_config]<BR> 't'
=> 1.
Goto(#|1)
[pbx_config]<BR><BR> Include
=>
'naarbuiten'
[pbx_config]<BR><BR>[ Context 'naarbuiten' created by 'pbx_config' ]<BR>
'_00[1-9]XXXXXXXX' => 1.
Dial(Modem/g1:${EXTEN})
[pbx_config]<BR>
2.
Congestion()
[pbx_config]<BR> '_0[1-9]XXXXXX' => 1.
Dial(Modem/g1:${EXTEN})
[pbx_config]<BR>
2.
Congestion()
[pbx_config]<BR><BR> Ignore pattern =>
'0'
[pbx_config]<BR><BR>[ Context 'vanbuiten' created by 'pbx_config' ]<BR>
's' => 1.
Wait(1)
[pbx_config]<BR>
2.
Answer()
[pbx_config]<BR>
3.
DigitTimeout(5)
[pbx_config]<BR>
4.
ResponseTimeout(10)
[pbx_config]<BR>
5.
Playback(tt-weasels)
[pbx_config]<BR>
6.
Dial(SIP/100|4)
[pbx_config]<BR>
7.
Dial(SIP/100&SIP/101|10)
[pbx_config]<BR>
8. Dial(SIP/100&SIP/101&Modem/g1:00640000000)
[pbx_config]<BR></TT><BR><BR><BR><BR>_______________________________________________
Asterisk-Users mailing list Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
</BLOCKQUOTE></BODY></HTML>