[OpenSIPS-Users] parallel forking

stefanoIT stefano at omnianet.it
Mon Feb 2 17:17:52 CET 2009


Hi Iñaki,
you suggestion was brilliant.
I can store the uri(s) is avp $(avp(s:uri)[n]) = $ru
then put n in via header, and get it on 200 reply.
I'll try.
Thanks

PS I remember that in via header there is alrealy branch number (.1 .2 .3
and so on)


Iñaki Baz Castillo wrote:
> 
> 2009/2/2 stefanoIT <stefano at omnianet.it>:
>>
>> So there is no a solution to my problem. At the moment.
> 
> You can also process each generated branch in "branch_route" and add
> the RURI value as Via or Record-Route parameter. For example:
> 
> branch_route[X] {
>   add_rr_param(";branch_ruri_user=$rU");
>   add_rr_param(";branch_ruri_hostport=$rd:$rp");
> }
> 
> Later in reply_route you can check those parameters in Record-Route by
> using "check_route_param":
>   http://kamailio.org/docs/modules/1.5.x/rr.html#check-route-param-id
> 
> But Record-route will only exist if the reply is 2XX, if not it's not
> required. So using "Via" parameters would be a better choice.
> 
> 
> Note however that "@" char is not valid as a header parameter
> according to the SIP BNF grammar. This is why I split the TUTI into
> user and host parts.
> 
> 
> 
> -- 
> Iñaki Baz Castillo
> <ibc at aliax.net>
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/parallel-forking-tp2257204p2258779.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.




More information about the Users mailing list