No calls displayed on the dashboard of a2billing.
I want to test a2billing on a lan network. When I make a fake call from xlite that is dialing any number, just to see if a2billing will register by call on the same lan. But the dashboard does not display any calls.
Asterisk version and a2billing version Server*CLI> core show version Asterisk 1.8.3.3 built by root @ Server on a i686 running Linux on 2011-04-27 12:01:12 UTC
A2Billing 1.9.3 (Cuprum),
SIP config
[kai] type=friend username=kai context=a2billing host=dynamic disallow=all allow=alaw jbimpl=fixed
extensions.conf
[a2billing] ; CallingCard application exten => _X.,1,Answer exten => _X.,2,Wait(40) exten => _X.,3,AGI(a2billing.php,1) exten => _X.,4,Answer exten => _X.,5,Hangup
When I make a fake call from xlite, just to see if a2billing will register by call on the same lan.
Here is the debug that i see.
root@Server:/etc/asterisk# asterisk -r Verbosity is at least 20 [Jun 27 16:37:39] NOTICE[1573]: chan_sip.c:23484 handle_request_subscribe: Received SIP subscribe for peer without mailbox: lata == Using SIP RTP CoS mark 5 -- Executing [050@a2billing:1] Answer("SIP/kai-0000001d", "") in new stack -- Executing [050@a2billing:2] Wait("SIP/kai-0000001d", "40") in new stack [Jun 27 16:38:10] NOTICE[1573]: chan_sip.c:23484 handle_request_subscribe: Received SIP subscribe for peer without mailbox: kai -- Executing [050@a2billing:3] AGI("SIP/kai-0000001d", "a2billing.php,1") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php <SIP/kai-0000001d>AGI Tx >> agi_request: a2billing.php <SIP/kai-0000001d>AGI Tx >> agi_channel: SIP/kai-0000001d <SIP/kai-0000001d>AGI Tx >> agi_language: en <SIP/kai-0000001d>AGI Tx >> agi_type: SIP <SIP/kai-0000001d>AGI Tx >> agi_uniqueid: 1309178262.29 <SIP/kai-0000001d>AGI Tx >> agi_version: 1.8.3.3 <SIP/kai-0000001d>AGI Tx >> agi_callerid: kai <SIP/kai-0000001d>AGI Tx >> agi_calleridname: kai <SIP/kai-0000001d>AGI Tx >> agi_callingpres: 0 <SIP/kai-0000001d>AGI Tx >> agi_callingani2: 0 <SIP/kai-0000001d>AGI Tx >> agi_callington: 0 <SIP/kai-0000001d>AGI Tx >> agi_callingtns: 0 <SIP/kai-0000001d>AGI Tx >> agi_dnid: 050 <SIP/kai-0000001d>AGI Tx >> agi_rdnis: unknown <SIP/kai-0000001d>AGI Tx >> agi_context: a2billing <SIP/kai-0000001d>AGI Tx >> agi_extension: 050 <SIP/kai-0000001d>AGI Tx >> agi_priority: 3 <SIP/kai-0000001d>AGI Tx >> agi_enhanced: 0.0 <SIP/kai-0000001d>AGI Tx >> agi_accountcode: <SIP/kai-0000001d>AGI Tx >> agi_threadid: -1227662480 <SIP/kai-0000001d>AGI Tx >> agi_arg_1: 1 <SIP/kai-0000001d>AGI Tx >> -- <SIP/kai-0000001d>AGI Script a2billing.php completed, returning 0 -- Executing [050@a2billing:4] Answer("SIP/kai-0000001d", "") in new stack -- Executing [050@a2billing:5] Hangup("SIP/kai-0000001d", "") in new stack == Spawn extension (a2billing, 050, 5) exited non-zero on 'SIP/kai-0000001d'
But still in the dashboard no calls is been registered. Why is that, can someone help.
|