Answered call duration in seconds didn't work

New features you'd like see on SIP Sorcery
Post Reply
zcharming
Posts: 24
Joined: Sun Jun 28, 2009 2:15 am

Answered call duration in seconds didn't work

Post by zcharming » Fri Sep 18, 2009 7:03 am

sys.Dial("123@provider1[rm=a,cd=3600]&456@provider2[dt=5,rm=a,cd=600]")

dt: Delay call start in seconds,
cd: Answered call duration in seconds,
rm: Redirect mode, a=Add to current call.
ma: Whether to mangle the SDP, true or false (default is true so use this to specify no mangling on a call leg).

above is the help of SS . but cd: cannot work any more!

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Post by Aaron » Fri Sep 18, 2009 10:41 am

Yes I know. That feature got removed during the recent tuning of the SQL selects to lower CPU utilisation. It will be back soon.

Regards,

Aaron

AviMarcus
Posts: 153
Joined: Sun May 16, 2010 7:07 am

Re: Answered call duration in seconds didn't work

Post by AviMarcus » Thu Jun 03, 2010 3:39 pm

eh, what is CD? I couldn't find it anywhere. Is that how long it rings the phone, like sys.dial("me@local",30), just for use with multiple dialers?
Help document SIP Sorcery on the wiki!
If you solved an issue you were having or figured out how to do something, please share on the wiki! It will save everyone lots of time and frustration.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Answered call duration in seconds didn't work

Post by Aaron » Thu Jun 03, 2010 10:23 pm


AviMarcus
Posts: 153
Joined: Sun May 16, 2010 7:07 am

Re: Answered call duration in seconds didn't work

Post by AviMarcus » Fri Jun 04, 2010 7:16 am

cd: Answered call duration in seconds
I see the syntax of how to use it. But what does it do? Will it cut off that leg, on a 200 sip response, after that length?
Help document SIP Sorcery on the wiki!
If you solved an issue you were having or figured out how to do something, please share on the wiki! It will save everyone lots of time and frustration.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Answered call duration in seconds didn't work

Post by Aaron » Fri Jun 04, 2010 10:28 am

Yep.

AviMarcus
Posts: 153
Joined: Sun May 16, 2010 7:07 am

Re: Answered call duration in seconds didn't work

Post by AviMarcus » Fri Jun 04, 2010 10:36 am

Hmm. cut it off.
Can sipsorcery substitute the media or connect it to a second leg, instead of just ending the call? (like the failover in dialing?)
Help document SIP Sorcery on the wiki!
If you solved an issue you were having or figured out how to do something, please share on the wiki! It will save everyone lots of time and frustration.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Answered call duration in seconds didn't work

Post by Aaron » Fri Jun 04, 2010 10:42 am

Not really. It can handle transfers but you have to initate those from a phone at either end or via a HTTP request. There's no provision to act on a timer and transfer a call. And sipsorcery does not deal with any media so it cannot be used to play any announcements.

Regards,
Aaron

AviMarcus
Posts: 153
Joined: Sun May 16, 2010 7:07 am

Re: Answered call duration in seconds didn't work

Post by AviMarcus » Fri Jun 04, 2010 1:29 pm

I knew it didn't handle any media, I just meant switch the server.

What do you mean by HTTP request? Can I have a 3rd party server trigger the media-stream transfer?
Help document SIP Sorcery on the wiki!
If you solved an issue you were having or figured out how to do something, please share on the wiki! It will save everyone lots of time and frustration.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Answered call duration in seconds didn't work

Post by Aaron » Fri Jun 04, 2010 11:50 pm

Yes see http://sipsorcery.wordpress.com/2010/01 ... transfers/. It's an even more experimental feature than the rest of sipsorcery so not for the faint hearted but there are a few of us using it acceptably.

Regards,
Aaron

Post Reply