<div dir="ltr">Jason,<br><br>by bad over here. I was with my brains still in vacation :(.<br><br>You need to use nathelper module before saving into the database:<br><br>modparam("nathelper", "received_avp", "$(avp(i:31))")<br>
modparam("registrar", "received_avp", "$(avp(i:31))").<br><br>The rport one is for the case when you proxy the requests, in order for that to return back to the right port.<br><br>DanB<br><br>
<div class="gmail_quote">On Thu, Jul 31, 2008 at 12:49 PM, Jason Penton <span dir="ltr"><<a href="mailto:jason.penton@smilecoms.com">jason.penton@smilecoms.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Thanks DanB<br><br>ill give that a try. I got it all to work by forcing the Snoms to register with 5060, but was more concerned about the possibility of this being a bug (hence the post to devel list above). If I do an openserctl ul show. I can see the full contact field with the correct port (2049). Surely then t_relay should be capable of routing correctly??????<br>
<br>Cheers<br>Jason<br><br><div class="gmail_quote">On Thu, Jul 31, 2008 at 12:38 PM, DanB <span dir="ltr"><<a href="mailto:danb@sms4sip.com" target="_blank">danb@sms4sip.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi Jason,<br><br>Try forcing rport before saving user location:<br><a href="http://www.openser.org/dokuwiki/doku.php/core-cookbook:1.3.x#force_rport" target="_blank">http://www.openser.org/dokuwiki/doku.php/core-cookbook:1.3.x#force_rport</a><br>
<br>Cheers,<br>DanB<br><br><br><div class="gmail_quote"><div><div></div><div>On Thu, Jul 31, 2008 at 12:19 PM, Jason Penton <span dir="ltr"><<a href="mailto:jason.penton@smilecoms.com" target="_blank">jason.penton@smilecoms.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
<div dir="ltr">Hi *<br><br>not sure if someone has encountered this before but I have noticed a problem with Snom phones registering with Kamailio.<br><br>It seems that the Snom phones register with a contact port of 2049.<br>
<br>However, when Kamailio does the usrloc lookup and the corresponding t_relay, a packet dump shows me that Kamailio is trying to send the invite to port 5060.<br><br>Can anyone shed some light?<br><br>Kind regards<br>Jason<br>
</div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div><br></div>