[asterisk-dev] Full implementation for Call-Waiting
Harel Cohen
harel at easycall.gi
Thu Apr 15 11:19:59 CDT 2010
Hi,
How can I implement a full-featured Call-Waiting behavior on the Asterisk level (e.g. I don't want to relay on end-equipment capabilities)?
I found it very strange that such a basic feature is not built-in in Asterisk (and I've googled a lot in search for this).
Here is what I need:
SomeuserX is calling MyUserA. They are on conversation (assumption: voice is via the Asterisk)
SomeuserY is calling MyUserA.
SomeuserY gets a special ringing tone. Meaning -> Asterisk opens voice channel towards SomeuserY (progress with SDP) and plays SpecialRingBack.wav/gsm etc.
MyUserA Gets voice notification (e.g. beep-beep) during his call to SomeuserX. Meaning -> Asterisk barge-in the rtp stream and play the file beepbeep.wav/gsm on the MyUserA channel. This is done periodically for as long as SomeuserY is waiting to be answered (i.e. doesn't hang-up).
Asterisk is monitoring the state of the call SomeuserX <-> MyUserA.
If the conversation SomeuserX with MyUserA is terminated Asterisk will INVITE MyUserA and when picked up will bridge SomeuserY with MyUserA.
If MyUserA will signal (e.g. hook-flash or some digit sequence) that he wants to answer the 2nd call then Asterisk will put on hold SomeuserX and bridge SomeuserY to MyUserA with the option for MyUserA to toggle between the two channels.
Thanks in advance,
Harel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100415/0f4af355/attachment-0001.htm
More information about the asterisk-dev
mailing list