Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 9:05 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Continue if dialstatus is distinct of Answer
PostPosted: Fri May 04, 2012 6:38 am 
Offline

Joined: Fri May 04, 2012 6:21 am
Posts: 1
Hi everybody,

I have a little doubt about a2billing. I have an agi script (made with phpagi) which receive a call from a trunk sip (I'm not using a2billing to manage phone numbers). This agi is an ivr and sometimes it need to make a call and billing it. So what I do is Dial(Local/myphonenumber@mycontext/n,40) and the myphonenumber context has _X.,1,AGI(a2billing.conf,1). Everything is ok, the call is billing. The problem is that I want to continue in my ivr agi script when the dialstatus is distinct of ANSWER but in this case a2billing reproduce the sound (Destination not ...) and then hangup the call. My agi will be the responsible to read the DIALSTATUS variable and if it's distinct of ANSWER will end the call. In my a2billing I have try count = 1.

Is there any way to do this?
Is Dial(Local/myphonenumber@mycontext/n,40) the best way to link my inbound call with an outbound call?

Thanks you,
Carlos


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


All times are UTC


Who is online

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