HI,
I do have the same problem I have to send 011 prefix to my provider.
Here is my configuration.
User.config
[IP Communications] ;context = DID_IP Communications context = a2billing host = XXX.XXX.XXX.XXX username = secret = trunkname = IP Communications ; GUI metadata hasiax = no registeriax = no hassip = yes registersip = yes trunkstyle = voip hasexten = no insecure = no disallow = all allow = ulaw,alaw,gsm
extenstions.coj . . . [a2billing] include = a2billing_default . . . [a2billing_default] ; CallingCard application exten => _X.,1,Answer exten => _X.,2,Wait,2 exten => _X.,3,AGI,a2billing.php exten => _X.,4,Wait,2 exten => _X.,5,Hangup
Now for outbound calls to my provider . . . [DID_VOIPProvider] include = DID_VOIPProvider_default . .
[CallingRule_International] exten = _011XXXXX.,1,Macro(trunkdial-failover-0.3,${VOIPProvider}/${EXTEN:0},,VOIPProvider,VOIPProvider) . .
and on my failovertrunk I have the dial() as follow
exten = 1-dial,1,Dial(${ARG1},,L(180000:120000:30000))
Also, in my prefix configuration I do have to add 011.
Any Ideas how to pass 011 from a2billing. If I cal from another trunk the international call rules works fine.
Best regards,
AL
Last edited by aberrio on Mon Dec 14, 2009 8:38 pm, edited 1 time in total.
|