[SR-Users] outbound loose routing question

אורן אברהם oren.av.jnk at gmail.com
Wed May 29 15:48:30 CEST 2013


I have the following network:
UAC-caller  === OB1 === registrar === OB2 === UAC-callee

The caller initiates the INVITE messsge, and after the calle returns OK
(call accepted) the caller wishes to
. send the ACK to the UAC-calle that accepted the call (sent the OK
message). it uses the Record-Route headers that OB1, registrar and OB2
added in the transaction. When the caller sends the OK msg it is sent
normally using the Route headers until OB2. then it fails using the
flow-token due to the above condition.



2013/5/29 Daniel-Constantin Mierla <miconda at gmail.com>

> Hello,
>
>
> On 5/29/13 2:46 AM, אורן אברהם wrote:
>
>> Dear list
>>
>> I'm trying to route using the loose_route() method for an ACK message of
>> an INVITE.
>> the ACK message contains a Route header field with the outbound proxy
>> address (which is the server processing this message - aka "myself") and a
>> flow token to the UAC. but the routing is failed because the
>> process_outbound() function in loose.c deliberatly ignores my flow-token
>> because of the condition in loose.c:522 which is:
>> else if (!ip_addr_cmp(&rcv->src_ip, &_m->rcv.src_ip || rcv->src_port !=
>> _m->rcv.src_port).
>>
>> I don't understand why i cannot use this flow token to send the ACK back
>> to the UAC...
>>
> to understand, do you want to send the ACK back to the UAC that sent it?
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/**miconda<http://www.linkedin.com/in/miconda>
> Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
>   * http://asipto.com/u/katu *
>
>
> ______________________________**_________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130529/bebb7d47/attachment.html>


More information about the sr-users mailing list