Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 7:04 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Calls hang up but are not billed
PostPosted: Wed May 26, 2010 1:35 pm 
Offline

Joined: Tue Feb 09, 2010 4:57 pm
Posts: 19
Hi,

I have the following scenario:

User A --- PSTN -- a2Billing -- User B (SIP)

User B calls to User A.

At the end of the call, it is only billed if the user who hangs the call up is user A, not B.

The main difference is that when user B hangs up, we never receive an answer to
AGI Tx >> 200 result=-1CLI>

but when user A hangs up, we have:
AGI Tx >> 200 result=-1CLI>
AGI Rx << GET VARIABLE ANSWEREDTIME
AGI Tx >> 200 result=1 (5)>
AGI Rx << GET VARIABLE DIALSTATUS
AGI Tx >> 200 result=1 (ANSWER)
AGI Rx << HANGUP-nuevo*CLI>
AGI Tx >> 200 result=1*CLI>



When User A hangs up:

AGI Rx << EXEC DIAL SIP/provider/666666666|60|HRL(2147483647:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (SIP/provider/66666666|60|HRL(2147483647:61000:30000))
-- Limit Data for this call:
> timelimit = 2147483647
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
-- Called provider/66666666
-- SIP/provider-0075ab20 is making progress passing it to SIP/B-540bbfe0
-- SIP/provider-0075ab20 answered SIP/B-540bbfe0
-- Executing [h@a2billing:1] Hangup("SIP/B-540bbfe0", "") in new stack
== Spawn h extension (a2billing, h, 1) exited non-zero on 'SIP/B-540bbfe0'
AGI Tx >> 200 result=-1CLI>
AGI Rx << GET VARIABLE ANSWEREDTIME
AGI Tx >> 200 result=1 (5)>
AGI Rx << GET VARIABLE DIALSTATUS
AGI Tx >> 200 result=1 (ANSWER)
AGI Rx << HANGUP-nuevo*CLI>
AGI Tx >> 200 result=1*CLI>

== Spawn extension (a2billing, 34666666666, 2) exited non-zero on 'SIP/B-540bbfe0'

Any ideas?

Regards

I attach detailed debug:

When user B hangs up:

AGI Rx << EXEC DIAL SIP/provider/666666666|60|HRL(2147483647:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (SIP/provider/666666666|60|HRL(2147483647:61000:30000))
-- Limit Data for this call:
> timelimit = 2147483647
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
-- Called provider/666666666
-- SIP/provider-0075ab20 is making progress passing it to SIP/B-540bf000
-- SIP/provider-0075ab20 answered SIP/B-540bf000
-- Executing [h@a2billing:1] Hangup("SIP/B-540bf000", "") in new stack
== Spawn h extension (a2billing, h, 1) exited non-zero on 'SIP/B-540bf000'
AGI Tx >> 200 result=-1CLI>
== Spawn extension (a2billing, 34666666666, 2) exited non-zero on 'SIP/B-540bf000'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group