Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 5:17 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: how to hangup and change a call by pressing ## ?
PostPosted: Tue Dec 01, 2009 12:05 am 
Offline

Joined: Mon Nov 30, 2009 11:52 pm
Posts: 4
hello every one .
this is my first post ( there is always a first time :) )
here is my probleme . i am working on asterisk and a2billing 1.3 .
i am using a2billing to manage prepaid calling card and everything works fine .
i just want to add a new feature .
when a user performe a call . i want to offer him the possibility to push ## to hangup and enter another number without having him enter the calling card number again.

please help me
thanks .


Top
 Profile  
 
 Post subject: Re: how to hangup and change a call by pressing ## ?
PostPosted: Tue Dec 01, 2009 1:43 am 
Offline

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

Check the dial_command_parameters in the agi-conf against the asterisk dial command.

# h: Allow the callee to hang up by dialing *
# H: Allow the caller to hang up by dialing *

From http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial

Joe


Top
 Profile  
 
 Post subject: Re: how to hangup and change a call by pressing ## ?
PostPosted: Tue Dec 01, 2009 10:03 am 
Offline

Joined: Mon Nov 30, 2009 11:52 pm
Posts: 4
Thank you joe for your response .
The probleme is that ## is a wanted feature .
is there a away to change * to #.

I am trying to develop a solution to do so .
my idea is to modify the function engine_performecall() in Class.RateEngine.php
and use the function wait_for_digit() defined in phpagi.php.
and compare the digit entered with # .


my question would be does the wait_for_digit(). block the executed script while waiting for the entered digit?

any suggestion would be helpful


Top
 Profile  
 
 Post subject: Re: how to hangup and change a call by pressing ## ?
PostPosted: Wed Dec 02, 2009 8:44 am 
Offline

Joined: Mon Nov 30, 2009 11:52 pm
Posts: 4
I found the solution in features.conf
I just changed the H: by defining an exact dial pattern
thanks again Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

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