Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 6:30 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: In USE Value Internal calls no hangup
PostPosted: Sun Oct 23, 2011 8:12 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Hello,
All over my system are working properly under v. 1.9.4 without any problem.
But I just detected that when we place an internal call to another DID user, the call still not hanged-up, so the channel become busy within value 1 in the InUse directive for the users. So user with individual access become stacked, and cannot place calls any more...Even if user just place a call to the echo test application, as an internal extension, he become stacked, and a2billing is not hanging-up so, IN USE is turned to 1.

This behavior happen only, and exclusively with internal calls, no issue in external call, even call is abandoned, hanged-up, or just canceled. the call is properly hanged-up...

I have installed the pcntl module for my PHP v. 5.3.3.

In the DID dialplan I have simply the following:

Quote:
[a2billing-did]
exten => _X.,1,AGI(a2billing.php,1,did)
exten => _X.,2,Hangup()


What's happen, why is this behavior with the internal calls?? Anybody else are facing this issue??

Thanks in advance,


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Fri Oct 28, 2011 1:43 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
I've come across a similar issue in the past which I reported here.

viewtopic.php?f=34&t=8791


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Fri Oct 28, 2011 4:04 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

This has been noted and should be fixed in the next release.

Joe


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Sat Oct 29, 2011 6:45 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
Even though that fixes the PHP script error, there is still another issue in the elseif block at @line 1573
Simply "returning" is causing the In_use not to be updated.
Code:
                } elseif ($dialstatus == "CANCEL") {
               // Call cancelled, no need to follow-me
                 return 1;




If the script is allowed to run it will end normally and do the updates.
Code:
                } elseif ($dialstatus == "CANCEL") {
               // Call cancelled, no need to follow-me
//                return 1;
                                $answeredtime = 0;



This error is very evident when sip server is handling the registrations and on-net client dials another client via A2B and hangs up immediately. A2b sees the CANCEL but just returns and does nothing.


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 10:59 am 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Hi Guys,
this is not seem to work for me, I still having this issue...

Let's say, that I'm making a miss call from user XXX to user YYYY, if user YYYY, the destination, arrive to hangup, there's no problem, but if the call is just missed, the channel still open, and I see the number 1, IN USE value in the originator user account, and as the user XXXX have individual access, so his account become stacked...

Regards,


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 2:01 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
when you say call is missed, what happens at the end of the call? Does the caller hangup, it rings until there is no more ringing, goes into voicemail, or plays some kind of message. An at this stage, what is on the log?


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 2:13 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
vulcan wrote:
when you say call is missed, what happens at the end of the call? Does the caller hangup, it rings until there is no more ringing, goes into voicemail, or plays some kind of message. An at this stage, what is on the log?


I mean, just the caller make 2 or 3 rings, and hangup by his own... you just can consider it as abandon...I'm doing this in testing, just make couple of ringing, and hangup...
:)


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 3:26 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
It sounds just like the problem I'm describing above. To confirm, what changes did you make to class.A2billing.php as described above?


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 3:36 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
vulcan wrote:
It sounds just like the problem I'm describing above. To confirm, what changes did you make to class.A2billing.php as described above?



Sure, I have change that as you described, but nothing change, I still having the same...


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 4:03 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
What I'm really driving at is if you changed this line in two places.

Code:
} elseif ($this->dialstatus == "NOANSWER") {


to this

Code:
} elseif (dialstatus == "NOANSWER") {


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 4:14 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Code:
} elseif ($this->dialstatus == "NOANSWER") {


To be sure I just made again a query to search for this line in Class.A2Billing.php, and I don't have this line at all...

Code:
} elseif (dialstatus == "NOANSWER") {
[/quote]

I have only this as I replace it before following your suggestion...


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 4:22 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
Search for this one more time:
Code:
$this->dialstatus


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 4:46 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
vulcan wrote:
Search for this one more time:
Code:
$this->dialstatus


Not found...


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 5:01 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
That means the bug is still in another place. I don't use did calls so I've not come across it. Will take a look for you.


Top
 Profile  
 
 Post subject: Re: In USE Value Internal calls no hangup
PostPosted: Tue Nov 01, 2011 5:03 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
vulcan wrote:
That means the bug is still in another place. I don't use did calls so I've not come across it. Will take a look for you.


Thanks Vulcan, I'll keep forward your update...
Regards,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2, 3  Next
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 19 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