<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
According to your description BYE was sent using the information
from R-URI which had no 5080 port.<br>
Asterisk should have added port 5080 to the outgoing Invite contact
so that it could be used for in-dialog routing.<br>
<br>
Can you show a full trace with sip traffic between kamailio and
asterisk. To catch sip traffic on all interfaces use "-i any" option
for tcpdump or "-d any" for ngrep.<br>
<div class="moz-cite-prefix"><br>
</div>
<blockquote cite="mid:129760268.2jfOK9GCng@linux-ws1.messinet.com"
type="cite">
<pre wrap="">I've been working on integration of Asterisk and Kamailio, currently on the
same host with different ports, and have come across a problem with calls that
originate from the Asterisk side (PSTN/DAHDI) and route through Kamailio to a
SIP UAC. In short, when the SIP UAC (10.1.1.9) sends the BYE, loose_route()
is returning -1 and the BYE is routed back to Kamailio (10.1.1.1:5060) instead
of Asterisk (10.1.1.1:5080). I am using the stock WITHINDLG route
configuration.
RR module settings are as follows:
modparam("rr", "enable_full_lr", 1)
modparam("rr", "append_fromtag", 1)
The BYE from the SIP UAC contains the following Route header which only
contains the contents of Kamailio's Record-Route header. I have attached the
full sip trace for review as well.
Route: <sip:10.1.1.1;lr=on;ftag=2400d939-de0b-4456-9e01-f9a3302f3e25;nat=yes>.
What would be the best method to resolve this issue in either Asterisk or
Kamailio? Should I manually add a Record-Route header for the Asterisk
host:port to Kamailio config? Is there something to be done in Asterisk?
Thanks. -A
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
</body>
</html>