1 Replies Last post: Aug 29, 2008 2:55 AM by Guest  
Guest

Aug 29, 2008 2:53 AM

[OpenSIPStack] New Parallel Forking Support

Hello Everyone,

I am happy to announce that parallel forking is now supported by
OpenSIPStack and OpenSBC. For OpenSBC Users, Parallel Forking will be
enabled by setting the fork parameter in B2BUA Route Entry like so

sip:1111*;fork=true sip:gw1.domain.net:5060, sip:gw2.domain.net:5060,
sip:gw3.domain.net:5060

Instead of the usual serial fail-over, OpenSBC will send out
simultaneous INVITEs to all three routes. The first to send a 183 with
media or a 200 final response among the three routes will be used by
OpenSBC to process the call. The remaining two forked calls will be
CANCELed.

For OpenSIPStack users, parallel forking is accomplished by setting the
"PARALLEL-FORK" internal header of the INVITE you want to send

SIPMessage invite;
/// Pupulate INVITE headers here
SIPHeader fork( "PARALLEL-FORK" );
fork.SetHeaderBody( ",
, " );
fsm.FindTransactionAndAddEvent( invite );

Thats it. The transaction layer will take care of forking your request
and canceling abandoned forks.

Joegen


This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
1. Aug 29, 2008 2:55 AM in response to: Guest
Re: [OpenSIPStack] New Parallel Forking Support
Sorry typo in example code. Should be

SIPMessage invite;
/// Pupulate INVITE headers here
SIPHeader fork( "PARALLEL-FORK" );
fork.SetHeaderBody( ",
, " );

invite.SetInternalHeader( "PARALLEL-FORK", fork );

fsm.FindTransactionAndAddEvent( invite );

joegen@opensipstack.org wrote:

Hello Everyone,

I am happy to announce that parallel forking is now supported by
OpenSIPStack and OpenSBC. For OpenSBC Users, Parallel Forking will
be enabled by setting the fork parameter in B2BUA Route Entry like so

sip:1111*;fork=true sip:gw1.domain.net:5060,
sip:gw2.domain.net:5060, sip:gw3.domain.net:5060

Instead of the usual serial fail-over, OpenSBC will send out
simultaneous INVITEs to all three routes. The first to send a 183
with media or a 200 final response among the three routes will be used
by OpenSBC to process the call. The remaining two forked calls will
be CANCELed.

For OpenSIPStack users, parallel forking is accomplished by setting
the "PARALLEL-FORK" internal header of the INVITE you want to send

SIPMessage invite;
/// Pupulate INVITE headers here
SIPHeader fork( "PARALLEL-FORK" );
fork.SetHeaderBody( ",
, " );
fsm.FindTransactionAndAddEvent( invite );

Thats it. The transaction layer will take care of forking your
request and canceling abandoned forks.

Joegen


This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel