[Spce-user] Error on ROUTE_OUTBOUND, REPLY_ROUTE_STD and REPLY_ROUTE_NAT
Andrew Pogrebennyk
apogrebennyk at sipwise.com
Tue Nov 4 07:20:43 EST 2014
Hello Raúl,
hm, I was specifically testing this not to happen. The exclude_hf_value
is executed in ROUTE_OUTBOUND and record_route() right after that, so I
don't understand how that could have happened. The lump error occurs if
we execute msg_apply_changes() after record_route().
Could you please provide me the kamailio-proxy.log for the complete
call? Before that you may set debug 2:
ngcp-kamctl proxy fifo debug 2
Also please make sure that you are not running with
proxy.cfg.customtt.tt2 from an older version.
Regards,
Andrew
On 11/04/2014 10:39 AM, Raúl Alexis Betancor Santana wrote:
> After doing tests on mr3.5.1, I found that the code for allow_info_method and allow_refer_method on the mentioned routes, produce a malformed SIP package that the UA's refuses.
>
> Looking deeply on it ... the only diference I found is that after calling exclude_hf_value function ... you call msg_apply_changes ... but when doing the same with the SST and the ICE candidates sections ... you don't do a msg_apply_changes.
>
> Well ... on the kamailio-log this appears after doing the msg_apply_changes:
>
> 2014-11-03T17:40:03.391022+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
> 2014-11-03T17:40:03.391028+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:917]: lumps_len(): FIXME: lumps_len called with null send_sock
> 2014-11-03T17:40:03.391037+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
> 2014-11-03T17:40:03.391042+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
> 2014-11-03T17:40:03.391047+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
> 2014-11-03T17:40:03.391060+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
> 2014-11-03T17:40:03.391067+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:1467]: process_lumps(): FIXME: process_lumps: null bind_address
> 2014-11-03T17:40:03.391072+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
> 2014-11-03T17:40:03.391077+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
> 2014-11-03T17:40:03.391083+01:00 sipapp01 proxy[24251]: : <core> [msg_translator.c:521]: lump_check_opt(): ERROR: lump_check_opt: null send socket
>
>
> And from then on ... the sip message get malformed, because the upper most RR get corrupted, losing it IP and port, and apears like:
>
> Record-Route: <sip:;r2=on;lr=on;ftag=1743994789>
>
> Instead of:
>
> Record-Route: <sip:[SIP_INT];r2=on;lr=on;ftag=1743994789> that was just before doing the call to msg_apply_changes.
>
> On the other routes that use the exclude_hf_value, there is no call to msg_apply_changes ... and all seems ok.
>
> Also, this have only fails with one UA I have ... that it's behind NAT, but other UA behind NAT doesn't get affected.
>
> Best regards
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
More information about the Spce-user
mailing list