[OpenSIPS-Users] Redirect & LCR

Jeff Pyle jpyle at fidelityvoice.com
Thu Feb 20 14:20:11 CET 2014


Hi Bogdan,

I'm not looking to process a received 302, but rather generate one of my
own.  I want to set the q values so that the other side will serially fork.
 Ovidiu's example [1] from earlier in the thread doesn't address this.
 Looking at the docs for append_branch() [2] or rewriteuri() [3] I don't
see any mention either.

  [1] https://github.com/OpenSIPS/opensips/blob/master/examples/redirect.cfg
  [2] http://www.opensips.org/Documentation/Script-CoreFunctions#toc2
  [3] http://www.opensips.org/Documentation/Script-CoreFunctions#toc40


- Jeff


On Wed, Feb 19, 2014 at 1:05 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>wrote:

>  Jeff,
>
> In OpenSIPS, the get_redirects() (
> http://www.opensips.org/html/docs/modules/1.10.x/uac_redirect.html#id250266)
> and the serialize_branches() (
> http://www.opensips.org/Documentation/Script-CoreFunctions-1-10#toc44) do
> follow the q values in the handled contacts.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 19.02.2014 18:08, Jeff Pyle wrote:
>
>   How does one manage q values for the various branches?  I'd like the
> endpoint receiving the 302 to serially fork through the various URIs
> (branches) I include.
>
>
>  - Jeff
>
>
>
> On Thu, Sep 19, 2013 at 11:26 AM, Ovidiu Sas <osas at voipembedded.com>wrote:
>
>> Take a look at the redirect example in the source tree:
>> https://github.com/OpenSIPS/opensips/blob/master/examples/redirect.cfg
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Thu, Sep 19, 2013 at 11:20 AM, bruno PHILIP <bruno_philip at hotmail.com>
>> wrote:
>> > Hi,
>> >
>> > I want to use opensips for LCR, and also, I don't want it to stay in SIP
>> > path, so it will send a 302 message with the targeted gateway.
>> > I don't know how to write the routing script.
>> > Someone can help
>> >
>> > Thanks
>> >
>>  > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>>
>>
>>
>> --
>> VoIP Embedded, Inc.
>> http://www.voipembedded.com
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140220/615a888a/attachment.htm>


More information about the Users mailing list