Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 3:17 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Background Music while dialing DTMF
PostPosted: Fri Dec 02, 2011 3:32 am 
Offline

Joined: Fri Dec 02, 2011 2:21 am
Posts: 15
Hi,
I would like to know if there is a way to have a background music played during the calling out process.

This is my dial plan
[a2billing]
exten => _X.,1,Answer
;exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php,1)
exten => _X.,n,Hangup

I have an android application where the user does not have to type the number manually, the application does it for him.
So I would like to get a background sound instead of having silence when the DTMF tones are sent automatically :)
Then, I will use the m setting in the dial command.
I guess i will have to edit a2billing.php file for that. Any help much appreciated !
Thanks for your help. Sylvain


Top
 Profile  
 
 Post subject: Re: Background Music while dialing DTMF
PostPosted: Tue Dec 06, 2011 3:41 am 
Offline

Joined: Fri Dec 02, 2011 2:21 am
Posts: 15
Still no luck with it. Does anyone have advices on how to ?
THank, Sylvain


Top
 Profile  
 
 Post subject: Re: Background Music while dialing DTMF
PostPosted: Fri Jan 06, 2012 7:21 am 
Offline

Joined: Fri Dec 02, 2011 2:21 am
Posts: 15
i still have not find the solution for this. Do you know a place I could outsource this project ?
Thanks, SYlvain


Top
 Profile  
 
 Post subject: Re: Background Music while dialing DTMF
PostPosted: Fri Jan 06, 2012 9:09 am 
Offline

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

You can put the "m" setting in the dial command parameters of the agi-conf.

Joe


Top
 Profile  
 
 Post subject: Re: Background Music while dialing DTMF
PostPosted: Fri Jan 06, 2012 9:27 am 
Offline

Joined: Fri Dec 02, 2011 2:21 am
Posts: 15
This I did already but it only gives me the background music after the DTMF tones are send (once it is calling).
What I am looking at is having a background music starting from the beginning. Thanks Joe!


Top
 Profile  
 
 Post subject: Re: Background Music while dialing DTMF
PostPosted: Fri Jan 06, 2012 10:12 am 
Offline

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

My experience in Asterisk is that MOH / prompts stop when DTMF is being received, and I fear that there is no easy solution to this, and it is not a limitation of A2Billing, but of Asterisk.

I would re-think your call-flow, and sidestep this issue.

Joe


Top
 Profile  
 
 Post subject: Re: Background Music while dialing DTMF
PostPosted: Fri Jan 06, 2012 10:26 am 
Offline

Joined: Fri Dec 02, 2011 2:21 am
Posts: 15
Thanks Joe! I will see what I can do and will post the way around. SYlvain


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


All times are UTC


Who is online

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