[Asterisk-Users] Dial plan for TDM22B
Garry Taylor
garry at steelclaws.net
Mon Nov 29 06:04:03 MST 2004
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Ronald Wiplinger
> Sent: Monday, 29 November 2004 6:35 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Dial plan for TDM22B
>
>
> I finally got the TDM22B to work.
> Just for the rcord. The problem was, that I did not see the
> zaptel.conf
> and created a new one in /etc/asterisk, however /etc/zaptel.conf
> existed, ....
>
>
> Now I am trying to setup the dial plan for these 4 ports of
> the TDM22B.
> I face with my extension.conf following problems:
> 601 (on an ATA-186) can reach 603 / 604 (on the TDM22B)
> 603 or 604 cannot dial anything !!!
>
> dailing in from the PSTN results in "You have configured
> Asterisk ..."
> - You can stop it by dialing the extension number you want.
>
> Unfortunately you also can dial to a remote line (UK, USA) ...
>
> [incoming_88097680]
> exten => _**7680,1,Ringing
> exten => _**7680,2,Answer
> exten => _**7680,3,Dial(SIP/601,20,r)
> exten => _**7680,4,Voicemail,u601
> exten => _**7680,105,Voicemail,b601
>
> [incoming_88097074]
> exten => _**7074,1,Ringing
> exten => _**7074,2,NoOp
> exten => _**7074,3,Dial(SIP/601,20,r)
> exten => _**7074,4,Voicemail,u601
> exten => _**7074,105,Voicemail,b601
>
> [TDM22B]
> exten => 603,1,Dial(ZAP/1,60,tr)
> exten => 603,2,Voicemail,u603
> exten => 603,102,Voicemail,b603
> exten => 604,1,Dial(ZAP/2,60,tr)
> exten => 604,2,Voicemail,u604
> exten => 604,102,Voicemail,b604
>
>
> I also did not find a document about possible options (like
> t, T, m, r
> .... ????) . What does the ** mean ??? (I guess it means
> anything ending
> with the numbers)
Actually, "*" is not a wildcard, "." is the asterisk wildcard.
The problem that you have here is that you are assuming that the PSTN passes
calling ID and it does not. Calling ID can only be passed on a PRI or BRI
(ISDN) interface. So all you receive on a ZAP interface is caller ID. Since
there is no calling ID (as you expect), incoming calls must go the the "s"
extention. Here is what I use on a TDM22B -
; incoming calls from the PSTN should come here
[incoming]
exten => s,1,Wait(1) ;wait to get caller ID in.
exten => s,2,Dial(SIP/102,20)
exten => s,3,Voicemail(u102)
exten => s,102,Voicemail(b102)
exten => s,103,Hangup
Not sure what you mean by 603 and 604 cannot dial anything, they should be
able to dial each other based on the config you have here. Maybe you have
errors in other parts of your config?
>
>
> bye
>
> Ronald
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To
> UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list