Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-18 Thread Jayesh Nambiar
Thank you Bogdan. I'll try and implement this tomorrow and see how it goes. Thanks again. --- Jayesh On Wed, Jun 18, 2014 at 7:28 PM, Bogdan-Andrei Iancu wrote: > Jayesh, > > Using the t_was_cancelled() function in failure route will tell you if the > CANCEL was local or received from the cal

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-18 Thread Bogdan-Andrei Iancu
Jayesh, Using the t_was_cancelled() function in failure route will tell you if the CANCEL was local or received from the caller side: http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id295325 The call_center module is designed to reject calls if there is no agent logged in. Even if we

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-18 Thread Jayesh Nambiar
Hi Bogdan, Thanks for your response. I get your idea of sending the call to an unexisting destination which might work in my case. Would the failure route have a way to distinguish between the CANCEL generated by the script and the caller itself, such that I might not end up trying to route a call

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-18 Thread Bogdan-Andrei Iancu
Hi Jayesh, I see your point - if you do not want to send media to the caller (while in park), when you decide to park the call you can simply send back an 180 ringing and then relay to call to a fake unexisting destination with timeout == "how long to keep the call in parking". That branch wil

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-17 Thread Jayesh Nambiar
Hi Bogdan, Thanks for the reply. But the challenge with me is that I don't want to use an additional component like a Media Server in this setup. The idea is to get away with too many components which can act like point of failures. Hence I was exploring the idea of parking the call in Opensips its

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-17 Thread Bogdan-Andrei Iancu
Hi Jayesh, For such scenario you do not need b2b at all. You can do it at signaling level. How ? - determine that the incoming call needs to be parked - send the call to a media server to play some ringing via 183 early media (call still not accepted); also push DB record to with the callid +

[OpenSIPS-Users] Parking a Call using b2b modules

2014-06-17 Thread Jayesh Nambiar
Hello All, I was trying to explore an option of parking a call on opensips using b2b modules with a trying or ringing response. More precisely, I was trying to do something like this: http://lists.opensips.org/pipermail/users/2010-October/014849.html As soon as the call comes in, use b2b_logic to