I use SIP phone (X-lite) dail to PSTN number 18503
I have setup if dail a prefix “0” it will take the Zap trunk
I am sure it can pick the trunk but cannot dail out to pstn
here is the log
Sep 17 19:21:03 DEBUG[5074] pbx.c: Function result is 'ZAP/1'
Sep 17 19:21:03 DEBUG[5074] pbx.c: Expression result is '0'
Sep 17 19:21:03 DEBUG[5074] pbx.c: Not taking any branch
Sep 17 19:21:03 DEBUG[5074] chan_zap.c: Dialing '18503'
Sep 17 19:21:03 DEBUG[5074] chan_zap.c: Deferring dialing...
Sep 17 19:21:04 DEBUG[5074] chan_zap.c: Exception on 14, channel 1
Sep 17 19:21:04 DEBUG[5074] chan_zap.c: Got event Hook Transition Complete(12) on channel 1 (index 0)
Sep 17 19:21:06 DEBUG[5074] chan_zap.c: Exception on 14, channel 1
Sep 17 19:21:06 DEBUG[5074] chan_zap.c: Got event Dial Complete(9) on channel 1 (index 0)
Sep 17 19:21:06 DEBUG[5074] chan_zap.c: Enabled echo cancellation on channel 1
Sep 17 19:21:06 WARNING[5074] chan_zap.c: Unable to request echo training on channel 1
Sep 17 19:21:13 DEBUG[5074] chan_zap.c: Exception on 14, channel 1
Sep 17 19:21:13 DEBUG[5074] chan_zap.c: Got event Dial Complete(9) on channel 1 (index 0)
Sep 17 19:21:13 DEBUG[5074] chan_zap.c: Echo cancellation already on
PLs help thank you