Hi joe,
Thank you for the replay...the callback is triggered but the channel show "SIP/Callwithus/*324407904164760"
(callwithus is the trunk name/ *32 prefix i have send to voip carrier).
As you have said i have check the rate list but the rate are defined in 44790 so i have modified the trigger to call back with "SIP/Callwithus/*32447904164760" but in the log: get error " Got SIP response 500 "Service Unavailable" back from 204.74.213.5"
Also if i have the local dialing option enabled in the agi-config and remove inter prefix in the call plan, why callback is not applying this? this work fine with calling card setting.
i have also tried by adding 44 to extentions_a2b
[a2billing-all-callback]
exten => _X.,1,DeadAgi(a2billing.php,1,all-callback,44) ;last parameter is the callback area code
exten => h,1,Hangup
What am i doing wrong?
UPDATE:
I have managed to get the callback working. the problem was due to not having the callback rate in the call plan.
i have modified the dialplan to receive in the format +44 so that it can match in the call plan.
exten => _X.,n,Set(CALLERID(num)=44${IF($[${CALLERID(num):0:1}=0]?${CALLERID(num):1}:${CALLERID(num)})})
Next Step to work on the 1st & 2nd leg billing