When dialling a certain series of numbers, i am sending my call out via a FXO line on a TDM400P card with 2 FXS and 2 FXO Ports.
The dial string I am using is
exten => 10,1,Dial(Zap/g1/XXXXXXXX,5,r) (Where XXXXXXX is the number I am dialling)
In the Asterisk CLI i am getting :-
Executing Dial(“SIP/15-09669fb0”, “Zap/3/XXXXXXXX|5|r”) in new stack
– Called 3/0414499222
– Zap/3-1 answered SIP/15-09669fb0
The call goes through and works fine.
However when it dials, it dials the Zaptel line once or twice, then the Zaptel line picks up and dials the number. I am trying to get rid of the that initial dial where it dials the Zaptel Trunk. I am trying to just dial out the Zaptel Trunk, not dial the Zaptel trunk and then it dials the number.
In my zapata.conf i have setup immediate=yes but it makes no difference.
Can anyone offer any assistance??