jroper wrote:
Hi
For outbound calling, you will have a context that looks like this:
Code:
[a2billing]
exten => _x.,1,DeadAgi(a2billing.php,1)
exten => _x.,2,Hangup
Simply configure your agi-conf for the service you are providing.
The caller ID is either passed by the client, or you can set it against the SIP peer details.
Joe
How do I pass that out of asterisk into a2billing for a call out to PSTN via SIP, I have all my sip setup in the acutal sip.conf, Its also throwing back:
[04/07/2014 22:37:23]:[file:Class.A2Billing.php - line:1039 - uniqueid:XXXX-1404535042.340]:[CallerID:XXXXXXXX]:[CN:]:[ERROR ::> The phone number (XXXXXX) cannot be dialed by the Rate engine, check that the Ratecard and Call Plan are well configured!]
in /var/log/a2billing, Do I need to setup all the sip stuff thru a2billing? I also am very unsure how to setup a trunk if i dont move it and setting ratecards/call plan.
Thanks again jroper
--Tammy