[Asterisk-Users] help on dial plan

Wooi Koay wooi at pobox.com
Sun Feb 12 08:05:37 MST 2006


The following is my dialplan for outgoing international call.  What I want are:

- when people dial 9011604xxxxxxx , 9011605xxxxxxx, 90114411xxxxxxx,
90114421xxxxxxx, use voipstunt to dial out
- otherwise, use my pstn to dial out.

What I've found is when i dial 9011604xxxxxxx , 9011605xxxxxxx,
90114411xxxxxxx, 90114421xxxxxxx, it always use the pstn to dial out. 
Anything wrong with my dial plan?

Thanks!!


[outbound-oversea]
exten => _9011604.,1,Macro(outgoingcall3,${VOIPSTUNT},4)  ;penang
exten => _9011605.,1,Macro(outgoingcall3,${VOIPSTUNT},4)  ;perak
exten => _90114411.,1,Macro(outgoingcall3,${VOIPSTUNT},4) ;uk landline
exten => _90114421.,1,Macro(outgoingcall3,${VOIPSTUNT},4) ;uk landline
exten => _9011.,1,Macro(outgoingcall,${OUTBOUNDTRUNK})



More information about the asterisk-users mailing list