sipml5 - call waiting

473 views
Skip to first unread message

Olaf Tomczak

unread,
Dec 2, 2014, 3:26:57 AM12/2/14
to doub...@googlegroups.com
Hi,

I'm developing a call center agent client app using sipml5 and have a problem with multiple incoming calls. I don't want to receive more calls when one is already in progress. I can't simply reject it, since it would interfere with the call center logic. As far as I know a 486 "Busy Here" response should be sent when a call is in progress and another invite arrives but have no idea how to do it in sipml5 - i don't see any such method in SIPml.Session.Call API. Can you give me a hint what I should do?

Thanks,
Olaf
  

Mamadou DIOP

unread,
Dec 2, 2014, 4:30:14 AM12/2/14
to doub...@googlegroups.com
No public API yet but ...
"SIPml.Session.Call" extends “SIPml.Session”
Call http://sipml5.org/docgen/symbols/SIPml.Session.html#reject to hangup the call. By default, we always send “603 busy here” because of code at https://code.google.com/p/sipml5/source/browse/trunk/src/tinySIP/src/dialogs/tsip_dialog_invite__server.js?r=190#398. As you can see, if the action object is filed with the right code and phrase then it’ll be used. The action is created at https://code.google.com/p/sipml5/source/browse/trunk/src/tinySIP/src/api/tsip_api_common.js?r=190#57. Put a breakpoint in this function, call reject() from your html code and check the call stack to understand how to pass the SIP code and phrase from your client

--
You received this message because you are subscribed to the Google Groups "discuss-doubango" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Olaf Tomczak

unread,
Dec 4, 2014, 12:35:14 PM12/4/14
to doub...@googlegroups.com
Thanks Mamadou,

I'll try that.

Bobby Hakimi

unread,
Feb 26, 2015, 12:46:39 PM2/26/15
to doub...@googlegroups.com
The current demo does not have multiple lines, can you possibly point me out in the right direction so i can program the demo to support multiple lines?

Mamadou DIOP

unread,
Feb 27, 2015, 6:41:58 AM2/27/15
to doub...@googlegroups.com
On Feb 26, 2015, at 5:41 AM, Bobby Hakimi <bhak...@gmail.com> wrote:

The current demo does not have multiple lines, can you possibly point me out in the right direction so i can program the demo to support multiple lines?
our demo will reject incoming call if you have an active one. This is just a demo and supporting multiple lines is straightforward. Please read the documentation.

On Tuesday, December 2, 2014 at 12:26:57 AM UTC-8, Olaf Tomczak wrote:
Hi,

I'm developing a call center agent client app using sipml5 and have a problem with multiple incoming calls. I don't want to receive more calls when one is already in progress. I can't simply reject it, since it would interfere with the call center logic. As far as I know a 486 "Busy Here" response should be sent when a call is in progress and another invite arrives but have no idea how to do it in sipml5 - i don't see any such method in SIPml.Session.Call API. Can you give me a hint what I should do?

Thanks,
Olaf
  

Kevin Weber

unread,
Dec 23, 2016, 6:10:38 PM12/23/16
to discuss-doubango
You say to read the documentation, but there is nothing in the documentation about accepting multiple calls. I am having the issue where if a call is active, (inbound or out) the new incoming call just rings busy. 

I am having the most frustrating time trying to piece through it and make it work.  Any help would be greatly appreciated. 

John DiSalvo

unread,
May 8, 2017, 4:26:11 PM5/8/17
to discuss-doubango
Did you ever figure out a solution for receiving multiple calls?
Reply all
Reply to author
Forward
0 new messages