[Kamailio-Users] Problem with LCR
Antonio Reale
ant.reale at gmail.com
Wed Apr 22 18:09:06 CEST 2009
2009/4/22 Juha Heinanen <jh at tutpro.com>:
> Antonio Reale writes:
>
> are you sure that you have not assigned a value to ruri_user_avp
> yourself?
Yes. avp(i:500) is present only in modparam("lcr", "ruri_user_avp",
"$avp(i:500)").
> debug should show this upon first call of next_gw:
>
> LM_DBG("added ruri_user_avp <%.*s>\n", val.s.len, val.s.s);
>
I can't see similar line in my debug.
> xlog value of ruri_user_avp and gw_uri avp before load_gws() call and
> befor eeach next_gw() call.
Scenario 1: local user --> PSTN
Apr 22 17:48:02 sipsvr1 /usr/sbin/kamailio[10619]: gw_uri_avp before
load_gws: '<null>'
Apr 22 17:48:02 sipsvr1 /usr/sbin/kamailio[10619]: ruri_user_avp
before load_gws: '<null>'
Apr 22 17:48:02 sipsvr1 /usr/sbin/kamailio[10619]: gw_uri_avp before
next_gw: '0sip:|0 at 10.10.45.228:5060;transport=udp'
Apr 22 17:48:02 sipsvr1 /usr/sbin/kamailio[10619]: ruri_user_avp
before next_gw: '<null>'
Apr 22 17:48:02 sipsvr1 /usr/sbin/kamailio[10619]: Request leaving
server, D-URI='<null>' - M=INVITE
RURI=sip:02555XXXX at 10.10.45.228:5060;transport=udp ...
Scenario 2: local user --> local user --> PSTN (call forwarding)
Apr 22 17:46:23 sipsvr1 /usr/sbin/kamailio[10623]: gw_uri_avp before
load_gws: '<null>'
Apr 22 17:46:23 sipsvr1 /usr/sbin/kamailio[10623]: ruri_user_avp
before load_gws: '<null>'
Apr 22 17:46:23 sipsvr1 /usr/sbin/kamailio[10623]: gw_uri_avp before
next_gw: '0sip:|0 at 10.10.45.228:5060;transport=udp'
Apr 22 17:46:23 sipsvr1 /usr/sbin/kamailio[10623]: ruri_user_avp
before next_gw: '<null>'
Apr 22 17:46:23 sipsvr1 /usr/sbin/kamailio[10623]: ERROR:lcr:next_gw:
No ruri_user AVP
>
> -- juha
>
Thanks a lot for the support.
Regards.
Antonio
More information about the sr-users
mailing list