Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Sep 18, 2019 10:26 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Conversation Background Music or Sound
PostPosted: Wed Jan 13, 2010 12:28 pm 
Offline

Joined: Wed Jan 13, 2010 12:22 pm
Posts: 2
Hello, this is my first message in the forum, I am testing A2Billing Version 1.4.2.1 and am very satisfied with it.

I need a strange option I don´t really know how to do, I need to play a sound file DURING a conversation, like a message or music in low volume in the background. I have looked at the php files from A2B and it seems possible with the $agi-> stream_file command, I simply don´t know how to implement this. I also think that $agi-> stream_file by default only streams to the internal, local side, not to the outside called person, i wish that both can hear the message.

Do you think this is possible to do ?

Any help or suggestion will be appreciated.

Regards.


Top
 Profile  
 
 Post subject: Re: Conversation Background Music or Sound
PostPosted: Wed Jan 13, 2010 1:44 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
There are probably more elegant ways of doing it, but I wonder if you can get both legs of the call into a conference, with the third attendee playing the music.

Joe


Top
 Profile  
 
 Post subject: Re: Conversation Background Music or Sound
PostPosted: Thu Jan 14, 2010 11:01 am 
Offline

Joined: Wed Jan 13, 2010 12:22 pm
Posts: 2
I think that converence is a good way to do it, and it seem to be possible but I don´t know how to automate the process and integrate it in a2billing php code.

Creating a conference room in Elastix, inviting two extensions (one of them can be a sound-player) and calling out do work, but as we are forking to A2Billing it´s here where the thing must happen and not in elastix or asterisk i think.

The PHP code from a2billing is just too complex for me to make such a thing.

Imagine a customer that auth. via a valid calling card, than calls the outgoing number and the call begins, i just want to play a sound file so that the called person can hear it, or the two persons can hear it if it is a conference...

Hope anyone have an idea :wink:

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Predictive Dialer


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group