Hi All.<br>
<br>
I just need a sanity check regarding avp_pushto() for serial forking. Someone please correct me if I'm wrong here.<br>
<br>
When processing an INVITE message which results in a 486 Busy status my failure_route[] gets invoked.<br>
<br>
In the failure route I use avp_pushto() to load the next leg of the
call in to the $ruri and then call append_branch() and lookup(location)
prior to t_relay()ing the message.<br>
<br>
Using ngrep I do see the R-URI being changed to the value used in the
avp_pushto() call, but the IP address that the INVITE is then sent to
is the same as the IP address of the SIP router, which I cannot
understand because I do call lookup(&quot;location&quot;) before t_relay()<br>
<br>
In otherwords, if my sip router, <a href="http://sip.mycompany.com">sip.mycompany.com</a> has an IP of
<a href="http://71.72.73.74">71.72.73.74</a> and I use avp_pushto() to set the R-URI to
1001_at_sip.mycompany.com, lookup(location) does return TRUE, but ngrep
still shows the INVITE leaving the SIP router and going to <a href="http://71.72.73.74">71.72.73.74</a>
(ie, itself) rather than the IP address in usrloc.<br>
<br>
Is there anything obvious that I'm not doing that would cause
lookup(location) to return TRUE, but not change the R-URI accordingly?<br>
<br>
Regards,<br>
Paul <br>