Hello Everyone,
I have finally setup A2billing and have everything pretty much working except for the calls! lol. I have my rate cards, call plans, etc all setup and they work correctly as far as the Ratecard simulator is concerned. When trying to place a call after the IVR prompts me for the phone number it rings once and then says 'The Number you have dialed is currently unavailable."
There are a few lines in the AGI debug window that concern me:
GI Tx >> 200 result=1
AGI Rx << VERBOSE "file:Class.RateEngine.php - line:984 - [EXEC SetCallerID : 786XXXXXXX]" 1
a2billing.php: file:Class.RateEngine.php - line:984 - [EXEC SetCallerID : 786XXXXXXX]
AGI Tx >> 200 result=1
AGI Rx << VERBOSE "file:Class.RateEngine.php - line:986 - app_callingcard: CIDGROUPID='1' OUTBOUND CID SELECTED IS '7866018448'." 1
a2billing.php: file:Class.RateEngine.php - line:986 - app_callingcard: CIDGROUPID='1' OUTBOUND CID SELECTED IS '786XXXXXXX'.
AGI Tx >> 200 result=1
AGI Rx << EXEC Dial SIP/gafachi/9011XXXXXXXXXX|60|HRrL(6000000:61000:30000)
AGI Tx >> 200 result=0
AGI Rx << GET VARIABLE ANSWEREDTIME
AGI Tx >> 200 result=0
AGI Rx << GET VARIABLE DIALSTATUS
AGI Tx >> 200 result=1 (CONGESTION)
AGI Rx << VERBOSE "file:Class.RateEngine.php - line:1096 - [USEDRATECARD - FAIL =0]" 1
a2billing.php: file:Class.RateEngine.php - line:1096 - [USEDRATECARD - FAIL =0]
AGI Tx >> 200 result=1
AGI Rx << STREAM FILE prepaid-dest-unreachable "#" 0
AGI Tx >> 200 result=-1 endpos=8480
asterisk1*CLI>
I placed X's instead of the numbers for obvious reasons, however I am 100% sure that they are in the correct format for the current provider that I am using. If I dial the numbers manually (a normal asterisk call) it works perfect. For my trunk settings in a2billing I am using the exact trunk name that is in asterisk however it still won't work. What am I doing wrong??
Any help is appreciated, thanks!
|