Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 11:13 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Thu Feb 28, 2008 3:04 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Thanks johnaa, that's a very informative link. Murf's blog looks like a veritable clue-bomb, and if only I knew the appropriate onomatopœia for subscribing to an RSS feed, I'd make that noise.

As A2Billing currently stands it makes no use of the CDRs generated by Asterisk (instead it captures channel variables like DIALSTATUS, set by Asterisk), so the changes described in that link seem to have little impact for us.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 03, 2008 2:03 am 
Offline

Joined: Wed Feb 27, 2008 5:10 am
Posts: 12
hi stavros!
I was wrong .... I have tested your solution during all weekend and I can't find solution for this case:
When I call from my * to other PBX(not other *) with IVR and the PBX ask me to type the extension number I want to call. When I type the extension number my call is TRANSFER and A2billing stop to billing the call. I really don't know how to solve this.
When I navigate in IVR (inside other PBX) menu A2B works fine and billing correct, just when the call is transfer to other extension the A2B stop to billing the call and my users call for free using my system :-( .

Any help will be appreciated :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 03, 2008 9:29 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Disable reinvites?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 03, 2008 9:54 am 
Offline

Joined: Wed Feb 27, 2008 5:10 am
Posts: 12
I use only IAX peers, I will try transfer=mediaonly and transfer=no, and inform you. Do you know if canreinvite=no works for IAX peers?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 03, 2008 9:38 pm 
Offline

Joined: Mon Oct 01, 2007 10:44 pm
Posts: 230
Location: Bovey, Devon, UK
As you've guessed, transfer=no should do the trick.

regards


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 4:51 am 
Offline

Joined: Wed Apr 16, 2008 4:39 pm
Posts: 31
Question here: Im also having problem re: billing when call is transferred. The 2nd Leg or the transferred call is not being billed and reflected to CDR. My question is, how can i call this to my dial plan? If say, i already connected to the first call, how can i or what should i dial to transfer the call to other number?

Thanks


stavros wrote:
:mrgreen: I've thought of a possible workaround, but beware! It is so ugly and kludgey you may go blind just by looking at it.
Merge this into Asterisk's features.conf:
Code:
[general]
featuredigittimeout = 1000

[applicationmap]
xferone => #201,peer/callee,Set,AGIXFER=201
xfertwo => #202,peer/callee,Set,AGIXFER=202
xferthree => #203,peer/callee,Set,AGIXFER=203

And modify how you are already launching A2Billing in your Asterisk dialplan:
Code:
[custom-a2billing]
exten => _X.,1,Set(DYNAMIC_FEATURES=xferone#xfertwo#xferthree)
exten => _X.,2,Answer
exten => _X.,3,Wait(0.25)
exten => _X.,4,Set(AGIXFER="")
exten => _X.,5,DeadAGI(a2billing.php|1)
exten => _X.,6,Wait(0.25)
exten => _X.,7,GotoIf(${AGIXFER}?${AGIXFER},4)
exten => _X.,8,Hangup
To do a blind transfer dial #201 and hangup. I can't think of a way to easily support attended transfer.
You may need to set 'answer_call=no' in a2billing.conf. This is totally untested. If it breaks (or is already broken) please realise I may not have enough glue to fix it for you.

Added after 13 minutes:

I forgot to mention this method should give one CDR for each leg answered, and supports being transferred more than once. The drawback is that I think each CDR will be billed from the moment the first call was answered, leading to incorrect billing. I guess this is better than hanging-up on clients.


Added after 2 hours 59 minutes:

Just want to ask , Where did you put the transfer=no ?

middletn wrote:
As you've guessed, transfer=no should do the trick.

regards


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 8:17 pm 
Offline

Joined: Mon Oct 01, 2007 10:44 pm
Posts: 230
Location: Bovey, Devon, UK
Quote:
Just want to ask , Where did you put the transfer=no ?



Iax.conf in the peer definition

regards


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 03, 2009 10:12 pm 
Offline

Joined: Mon Oct 01, 2007 10:44 pm
Posts: 230
Location: Bovey, Devon, UK
Hi Guy's,

Thought I'd follow this one up.

As far as I can tell, there is no solution for this one, even with Openser as a front end. I have looked to see what the 'big' providers do. They make the user setup diverts via a web interface, so my guess is that they haven't found a way either.

So for me, I simply tell my customers that can't divert via a hosted phone, though I do give them a number to call to divert the phone remotely. This has been well recieved as they don't need to set a divert before leaving the office/home, they can do it from their mobile.

regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group