Jason,
by bad over here. I was with my brains still in vacation :(.
You need to use nathelper module before saving into the database:
modparam("nathelper", "received_avp", "$(avp(i:31))")
modparam("registrar", "received_avp", "$(avp(i:31))").
The rport one is for the case when you proxy the requests, in order for that
to return back to the right port.
DanB
On Thu, Jul 31, 2008 at 12:49 PM, Jason Penton
<jason.penton(a)smilecoms.com>wrote;wrote:
Thanks DanB
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??????
Cheers
Jason
On Thu, Jul 31, 2008 at 12:38 PM, DanB <danb(a)sms4sip.com> wrote:
Hi Jason,
Try forcing rport before saving user location:
http://www.openser.org/dokuwiki/doku.php/core-cookbook:1.3.x#force_rport
Cheers,
DanB
On Thu, Jul 31, 2008 at 12:19 PM, Jason Penton <
jason.penton(a)smilecoms.com> wrote:
Hi *
not sure if someone has encountered this before but I have noticed a
problem with Snom phones registering with Kamailio.
It seems that the Snom phones register with a contact port of 2049.
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.
Can anyone shed some light?
Kind regards
Jason
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users