asterisk2billing.org
http://forum.asterisk2billing.org/

The call not hangs up
http://forum.asterisk2billing.org/viewtopic.php?f=22&t=8381
Page 1 of 1

Author:  ryan_mu [ Fri Nov 26, 2010 4:01 pm ]
Post subject:  The call not hangs up

Hi all,
I have installed A2Billing 1.7.1 and asterisk 1.4.36.
But I call to a destination. If the destination hangs up the call, this my client SIP phone have maintained this call, not hangs up automatically. Accordingly, the system A2Billing continues to calculate this call.
Is this a bug A2B ?

this is my log Asterisk :
Code:
Executing [[email protected]:1] DeadAGI("SIP/3883985975-000002f5", "a2billing.php|1|0044138356058") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
    -- AGI Script Executing Application: (DIAL) Options: (SIP/ABC-trunk/44138356058|60|HRrL(8760000:61000:30000))
    -- Limit Data for this call:
       > timelimit      = 8760000
       > play_warning   = 61000
       > play_to_caller = yes
       > play_to_callee = no
       > warning_freq   = 30000
       > start_sound    =
       > warning_sound  = timeleft
       > end_sound      =
    -- Called ABC-trunk/44138356058
    -- SIP/ABC-trunk-000002f6 is making progress passing it to SIP/3883985975-000002f5
    -- SIP/ABC-trunk-000002f6 is ringing
    -- SIP/ABC-trunk-000002f6 is making progress passing it to SIP/3883985975-000002f5
    -- SIP/ABC-trunk-000002f6 answered SIP/3883985975-000002f5
    -- <SIP/3883985975-000002f5> Playing 'prepaid-enter-dest' (language 'en')
    -- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)

And extension.conf :
Code:
[a2billing]
exten => _441.,1,DeadAGI(a2billing.php,1,${EXTEN})
exten => _441.,n,Hangup
exten => _+441.,1,DeadAGI(a2billing.php,1,${EXTEN})
exten => _+441.,n,Hangup
exten => _00441.,1,DeadAGI(a2billing.php,1,${EXTEN})
exten => _00441.,n,Hangup


Thank in advance for all helps!
B.R

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/