[Asterisk-Users] Trying to dial out the Other Zap

Brian brian at ihatekuwait.com
Tue Feb 17 15:03:08 MST 2004


I have 2 X100P cards.
1 is connected to my Packet8 DTA (Zap/1)
1 is connceted to my Kuwait Land Line (yeah. kuwait's a fun place)

anyways.. I'm trying to use my kuwait cell phone to dial the PBX and
then dial to the US..

I've been googling for a few hours and can't get it to work.. Everytime
I dial 91NXX-NXX-XXXX, i get hungup on by the asterisk box.. (I used to
get invalid extension.. but i don't even get that anymore). sorry if
this is an easy question.. but this is my 2nd day with asterisk..

Below is my incoming_kuwait extension block

[incoming_kuwait]
ignorepat => 9
exten => _91NXXNXXXXXX,1,BackGround(transfer)
exten => _91NXXNXXXXXX,2,Dial(Zap/1/${EXTEN:1})
exten => _91NXXNXXXXXX,3,Congestion
exten => _91NXXNXXXXXX,103,Goto(incoming_kuwait,s,2)
                                                                                             
exten => t,1,Goto(incoming_kuwait,s,2)
exten => i,1,Playback,invalid ; "That's not valid, try again"
exten => i,2,Goto(incoming_kuwait,s,2)
                                                                                             
exten => s,1,Answer
exten => s,2,ResponseTimeout,10         ; Set Response Timeout to 10
seconds
exten => s,3,BackGround(brian-answer)  ; Play a congratulatory message
exten => s,4,Goto(incoming_kuwait,s,2)
                                                                                             
exten => 1,1,BackGround(transfer)
exten => 1,2,Voicemail(u5000)
exten => 1,3,Goto(incoming_kuwait,s,2)
                                                                                             
exten => 2,1,BackGround(transfer)
exten => 2,2,Voicemail(u5001)
exten => 2,3,Goto(incoming_kuwait,s,2)
                                                                                             
exten => 5555,1,BackGround(transfer)  ; play transfer sound
exten => 5555,2,VoicemailMain2

Thanks,
Brian




More information about the asterisk-users mailing list