Question about Parallel Forking

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about Parallel Forking

Spady#7
Hi all, i need to do parallel forking towards 2 different systems. When one of them had picked up the call, opensips has to be able to knows that until call is terminated. What i need is, if a second call comes again, opensips has to reply to the caller the busy tone.
Is this possible?

SCENARIO:


 
        E1                       SIP                   Fork   |--------> PBX1
PSTN----->Mediant 1000------->OpenSIPS--------|
                                                                  |--------> PBX2

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Question about Parallel Forking

Spady#7
Any Idea??
Reply | Threaded
Open this post in threaded view
|

Re: Question about Parallel Forking

osiris123d
In reply to this post by Spady#7
Reply | Threaded
Open this post in threaded view
|

Re: Question about Parallel Forking

osiris123d
Also if you are expecting a second call to come in and want to send a BUSY if there is already an ongoing call then you will want to look at the Dialog modules "Exported Functions" to keep up with concurrent calls.  You might want to look at them and figure out which one works best for your scenario and you can do searches on them and see examples in the mailing list.
Reply | Threaded
Open this post in threaded view
|

Re: Question about Parallel Forking

SamyGo
In reply to this post by Spady#7
Hi,
I think Its done now. This is easy. 
if your call is already going out to first user and then you want it to go in parallel to second destination too then all you need it to do just before hitting the t_relay() is 

$branch= "sip:newdestincation@secondip:port";

and you'll see it go to both destinations in parallel.

Regards,
Gohar

On Mon, Nov 19, 2012 at 7:45 PM, spady <[hidden email]> wrote:
        E1                       SIP                   Fork   |-------->
PBX1
PSTN----->Mediant 1000------->OpenSIPS--------|
                                                                  |-------->
PBX2


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users