[sr-dev] [kamailio/kamailio] Socket name ignored when sending to HEP server (Issue #3174)

manticode notifications at github.com
Wed Jul 6 17:48:47 CEST 2022


I made a mistake with the  send_sock_addr syntax. This does still work correctly. Apologies for the confusion.

The issue still remains with using send_sock_name however.

With the following config:
```
#!define SIPCAPTURE_IPADDRESS "10.219.31.105"
...
listen=udp:SIPCAPTURE_IPADDRESS:SIP_PORT name "sipcapture_socket"
...
#!ifdef SIPCAPTURE_IPADDRESS
modparam("siptrace", "duplicate_uri", "sip:10.218.31.205:9060") # TODO parameterise this
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_version", 3)
modparam("siptrace", "hep_capture_id", 110) # TODO parameterise this
modparam("siptrace", "send_sock_name", "sipcapture_socket")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_mode", 1)
modparam("siptrace", "trace_to_database", 0)
#!endif

```

```Jul  6 15:29:18 kamailio-server /usr/sbin/kamailio[187532]: DEBUG: tm [timer.c:641]: wait_handler(): finished transaction: 0x7f77f5db25c8 (p:0x7f77f5bf4310/n:0x7f77f5bf4310)
Jul  6 15:29:18 kamailio-server /usr/sbin/kamailio[187532]: DEBUG: tm [h_table.c:132]: free_cell_helper(): freeing transaction 0x7f77f5db25c8 from timer.c:650
Jul  6 15:29:18 kamailio-server /usr/sbin/kamailio[187532]: DEBUG: tm [timer.c:641]: wait_handler(): finished transaction: 0x7f77f5db4940 (p:0x7f77f5bf38f0/n:0x7f77f5bf38f0)
Jul  6 15:29:18 kamailio-server /usr/sbin/kamailio[187532]: DEBUG: tm [h_table.c:132]: free_cell_helper(): freeing transaction 0x7f77f5db4940 from timer.c:650

Jul  6 15:29:19 kamailio-server /usr/sbin/kamailio[187537]: DEBUG: ctl [../../core/io_wait.h:374]: io_watch_add(): processing io_watch_add(0x7f77f9c2a2c0, 12, 3, 0x5619c1103200) - fd_no=1
Jul  6 15:29:19 kamailio-server /usr/sbin/kamailio[187537]: DEBUG: ctl [io_listener.c:441]: handle_new_connect(): handle_stream read: new connection (1) on /var/run/kamailio//kamailio_ctl
Jul  6 15:29:19 kamailio-server /usr/sbin/kamailio[187537]: DEBUG: ctl [io_listener.c:498]: handle_stream_read(): bytes read: 18
Jul  6 15:29:19 kamailio-server /usr/sbin/kamailio[187537]: DEBUG: ctl [io_listener.c:518]: handle_stream_read(): bytes processed: 18
Jul  6 15:29:19 kamailio-server /usr/sbin/kamailio[187537]: DEBUG: ctl [io_listener.c:495]: handle_stream_read(): handle_stream read: eof on /var/run/kamailio//kamailio_ctl
Jul  6 15:29:19 kamailio-server /usr/sbin/kamailio[187537]: DEBUG: ctl [../../core/io_wait.h:599]: io_watch_del(): DBG: io_watch_del (0x7f77f9c2a2c0, 12, -1, 0x10) fd_no=2 called
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/udp_server.c:494]: udp_rcv_loop(): received on udp socket: (106/100/371) [[INVITE sip:test at 10.219.36.105 SIP/2.0 0D  0A Via: SIP/2.0/UDP 127.0.1.1:65060;branch=z9hG4bK.18d374a6;rpor]]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/receive.c:136]: sip_check_fline(): first line indicates a SIP request
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace.c:2176]: siptrace_net_data_recv(): processing message mode 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 50858
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 5060
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/proxy.c:264]: mk_proxy(): doing DNS lookup...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace_hep.c:184]: trace_send_hep3_duplicate(): setting up the socket_info
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_fline.c:249]: parse_first_line(): first line type 1 (request) flags 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:677]: parse_msg(): SIP Request:
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:678]: parse_msg():  method:  <INVITE>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:680]: parse_msg():  uri:     <sip:test at 10.219.36.105>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:682]: parse_msg():  version: <SIP/2.0>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Via] type 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_via.c:1300]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK.18d374a6>; state=6
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_via.c:1300]: parse_via_param(): Found param type 235, <rport> = <n/a>; state=6
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_via.c:1300]: parse_via_param(): Found param type 237, <alias> = <n/a>; state=16
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_via.c:2639]: parse_via(): end of header reached, state=5
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:555]: parse_headers(): Via found, flags=2
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:557]: parse_headers(): this is the first via
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [To] type 3
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_addr_spec.c:884]: parse_addr_spec(): end of header reached, state=9
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:172]: get_hdr_field(): <To> [24]; uri=[sip:test at 10.219.36.105]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:174]: get_hdr_field(): to body (24)[sip:test at 10.219.36.105#015#012], to tag (0)[]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Call-ID] type 6
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [CSeq] type 5
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:152]: get_hdr_field(): cseq <CSeq>: <1> <INVITE>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Content-Length] type 12
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:187]: get_hdr_field(): content_length=0
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Contact] type 7
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Subject] type 27
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Max-Forwards] type 8
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [User-Agent] type 28
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [From] type 4
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/receive.c:389]: receive_msg(): --- received sip message - request - call-id: [1123294220 at 127.0.1.1] - cseq: [1 INVITE]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/receive.c:261]: ksr_evrt_pre_routing(): event route core:pre-routing not defined
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/receive.c:471]: receive_msg(): preparing to run routing scripts...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=42f41c0c
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/parse_addr_spec.c:884]: parse_addr_spec(): end of header reached, state=29
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: INFO: kamailio_cfg START: 1123294220 at 127.0.1.1 INVITE from sip:sipsak at 127.0.1.1:65060 (IP:10.219.36.105:50858)
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: INFO: kamailio_cfg route [REQINIT]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: maxfwd [mf_funcs.c:74]: is_maxfwd_present(): value = 70
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:247]: check_ruri_sip_version(): check_ruri_sip_version entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:270]: check_ruri_sip_version(): check_ruri_sip_version passed
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:277]: check_ruri_scheme(): check_ruri_scheme entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:297]: check_ruri_scheme(): check_ruri_scheme passed
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:318]: check_required_headers(): check_required_headers entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/msg_parser.c:91]: get_hdr_field(): found end of header
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:340]: check_required_headers(): check_required_headers passed
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:506]: check_cseq_method(): check_cseq_method entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:539]: check_cseq_method(): check_cseq_method passed
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:548]: check_cseq_value(): check_cseq_value entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:576]: check_cseq_value(): check_cseq_value passed
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:585]: check_cl(): check_cl entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:610]: check_cl(): check_cl passed
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:622]: check_expires_value(): check_expires_value entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:659]: check_expires_value(): no expires header found
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:758]: check_parse_uris(): check_parse_uris entered
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:762]: check_parse_uris(): parsing ruri
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:776]: check_parse_uris(): looking up From header
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:791]: check_parse_uris(): looking up To header
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity.c:837]: check_parse_uris(): check_parse_uris passed
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sanity [sanity_mod.c:254]: w_sanity_check(): sanity checks result: 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: kamailio_cfg RETRANS 1123294220 at 127.0.1.1 INVITE from sip:sipsak at 127.0.1.1:65060
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: tm [t_lookup.c:1053]: t_check_msg(): msg (0x7f77fac55d00) id=16/187525 global id=15/187525 T start=0xffffffffffffffff
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: tm [t_lookup.c:497]: t_lookup_request(): start searching: hash=22958, isACK=0
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: tm [t_lookup.c:455]: matching_3261(): RFC3261 transaction matching failed - via branch [z9hG4bK.18d374a6]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: tm [t_lookup.c:675]: t_lookup_request(): no transaction found
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: tm [t_lookup.c:1122]: t_check_msg(): msg (0x7f77fac55d00) id=16/187525 global id=16/187525 T end=(nil)
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siputils [checks.c:120]: has_totag(): no totag
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: INFO: kamailio_cfg route [INITIALREQ] sip:test at 10.219.36.105 1123294220 at 127.0.1.1 INVITE
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: rr [loose.c:1293]: is_direction(): param ftag not found
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: rr [record.c:479]: record_route(): inserted record route (r2: 1 - plen: 0)
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/parser/sdp/sdp.c:781]: parse_sdp(): message body has length zero
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: INFO: kamailio_cfg No SDP found
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: sl [sl_funcs.c:558]: sl_run_callbacks(): execute callback for event type 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace.c:1860]: trace_sl_onreply_out(): trace off...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/receive.c:126]: sip_check_fline(): first line indicates a SIP reply
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace.c:2318]: siptrace_net_data_sent(): processing message mode 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 5060
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 50858
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/proxy.c:264]: mk_proxy(): doing DNS lookup...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: siptrace [siptrace_hep.c:184]: trace_send_hep3_duplicate(): setting up the socket_info
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/receive.c:528]: receive_msg(): request-route executed in: 932 usec
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/usr_avp.c:637]: destroy_avp_list(): destroying list 0x7f77f5db22e8
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/usr_avp.c:637]: destroy_avp_list(): destroying list (nil)
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: message repeated 4 times: [ DEBUG: <core> [core/usr_avp.c:637]: destroy_avp_list(): destroying list (nil)]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/xavp.c:541]: xavp_destroy_list(): destroying xavp list (nil)
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: message repeated 2 times: [ DEBUG: <core> [core/xavp.c:541]: xavp_destroy_list(): destroying xavp list (nil)]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187525]: DEBUG: <core> [core/receive.c:628]: receive_msg(): cleaning up
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/udp_server.c:494]: udp_rcv_loop(): received on udp socket: (106/100/411) [[ACK sip:test at 10.219.36.105 SIP/2.0 0D  0A Via: SIP/2.0/UDP 127.0.1.1:65060;branch=z9hG4bK.18d374a6;rport;a]]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/receive.c:136]: sip_check_fline(): first line indicates a SIP request
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace.c:2176]: siptrace_net_data_recv(): processing message mode 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 50858
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 5060
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/proxy.c:264]: mk_proxy(): doing DNS lookup...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace_hep.c:184]: trace_send_hep3_duplicate(): setting up the socket_info
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_fline.c:249]: parse_first_line(): first line type 1 (request) flags 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:677]: parse_msg(): SIP Request:
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:678]: parse_msg():  method:  <ACK>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:680]: parse_msg():  uri:     <sip:test at 10.219.36.105>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:682]: parse_msg():  version: <SIP/2.0>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Via] type 1
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_via.c:1300]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK.18d374a6>; state=6
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_via.c:1300]: parse_via_param(): Found param type 235, <rport> = <n/a>; state=6
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_via.c:1300]: parse_via_param(): Found param type 237, <alias> = <n/a>; state=16
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_via.c:2639]: parse_via(): end of header reached, state=5
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:555]: parse_headers(): Via found, flags=2
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:557]: parse_headers(): this is the first via
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [To] type 3
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=1cb105fdeb15f0b0e5a773344347d38a.b9285faa
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_addr_spec.c:884]: parse_addr_spec(): end of header reached, state=29
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:172]: get_hdr_field(): <To> [70]; uri=[sip:test at 10.219.36.105]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:174]: get_hdr_field(): to body (22)[sip:test at 10.219.36.105], to tag (41)[1cb105fdeb15f0b0e5a773344347d38a.b9285faa]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Call-ID] type 6
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [CSeq] type 5
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:152]: get_hdr_field(): cseq <CSeq>: <1> <ACK>
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Content-Length] type 12
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/msg_parser.c:187]: get_hdr_field(): content_length=0
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Contact] type 7
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Subject] type 27
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [Max-Forwards] type 8
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [User-Agent] type 28
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_hname2.c:301]: parse_sip_header_name(): parsed header name [From] type 4
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/receive.c:389]: receive_msg(): --- received sip message - request - call-id: [1123294220 at 127.0.1.1] - cseq: [1 ACK]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/receive.c:261]: ksr_evrt_pre_routing(): event route core:pre-routing not defined
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/receive.c:471]: receive_msg(): preparing to run routing scripts...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: sl [sl_funcs.c:466]: sl_filter_ACK(): SL local ACK found -> dropping it!
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: sl [sl_funcs.c:558]: sl_run_callbacks(): execute callback for event type 2
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace.c:1835]: trace_sl_ack_in(): storing ack...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=42f41c0c
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/parser/parse_addr_spec.c:884]: parse_addr_spec(): end of header reached, state=29
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 50858
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace_hep.c:496]: pipport2su(): the port string is 5060
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/proxy.c:264]: mk_proxy(): doing DNS lookup...
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: siptrace [siptrace_hep.c:184]: trace_send_hep3_duplicate(): setting up the socket_info
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/usr_avp.c:637]: destroy_avp_list(): destroying list (nil)
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: message repeated 5 times: [ DEBUG: <core> [core/usr_avp.c:637]: destroy_avp_list(): destroying list (nil)]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/xavp.c:541]: xavp_destroy_list(): destroying xavp list (nil)
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: message repeated 2 times: [ DEBUG: <core> [core/xavp.c:541]: xavp_destroy_list(): destroying xavp list (nil)]
Jul  6 15:29:20 kamailio-server /usr/sbin/kamailio[187526]: DEBUG: <core> [core/receive.c:628]: receive_msg(): cleaning up

```

This sends  10.219.36.105:5060 -> 10.218.31.205:9060.

I expect the outgoing socket to be 10.219.31.105:5060.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3174#issuecomment-1176386225
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3174/1176386225 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220706/8aaf59bd/attachment-0001.htm>


More information about the sr-dev mailing list