0(19421) DEBUG: <core> [core/parser/msg_parser.c:614]: parse_msg(): SIP Reply  (status):

0(19421) DEBUG: <core> [core/parser/msg_parser.c:616]: parse_msg():  version: <SIP/2.0>

0(19421) DEBUG: <core> [core/parser/msg_parser.c:618]: parse_msg():  status:  <100>

0(19421) DEBUG: <core> [core/parser/msg_parser.c:620]: parse_msg():  reason:  <trying -- your call is important to us>

0(19421) DEBUG: <core> [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK4791.5f2802a780788335a48cc2a042bd43a1.1>; state=6

0(19421) DEBUG: <core> [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 235, <rport> = <5060>; state=16

0(19421) DEBUG: <core> [core/parser/parse_via.c:2639]: parse_via(): end of header reached, state=5

0(19421) DEBUG: <core> [core/parser/msg_parser.c:492]: parse_headers(): Via found, flags=2

0(19421) DEBUG: <core> [core/parser/msg_parser.c:494]: parse_headers(): this is the first via

0(19421) DEBUG: <core> [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 235, <rport> = <10060>; state=6

0(19421) DEBUG: <core> [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 253, <TH> = <div>; state=6

0(19421) DEBUG: <core> [core/parser/parse_via.c:1303]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK128eed5a>; state=16

0(19421) DEBUG: <core> [core/parser/parse_via.c:2639]: parse_via(): end of header reached, state=5

0(19421) DEBUG: <core> [core/parser/msg_parser.c:492]: parse_headers(): Via found, flags=ffffffffffffffff

0(19421) DEBUG: <core> [core/parser/msg_parser.c:505]: parse_headers(): this is the second via

0(19421) DEBUG: <core> [core/parser/parse_addr_spec.c:864]: parse_addr_spec(): end of header reached, state=10

0(19421) DEBUG: <core> [core/parser/msg_parser.c:171]: get_hdr_field(): <To> [34]; uri=[sip:XXXXXXXX@111.112.180.235]

0(19421) DEBUG: <core> [core/parser/msg_parser.c:172]: get_hdr_field(): to body [<sip:XXXXXXXX@111.112.180.235>

]

0(19421) DEBUG: <core> [core/parser/msg_parser.c:152]: get_hdr_field(): cseq <CSeq>: <103> <INVITE>

0(19421) DEBUG: <core> [core/parser/msg_parser.c:183]: get_hdr_field(): content_length=0

0(19421) DEBUG: <core> [core/parser/msg_parser.c:89]: get_hdr_field(): found end of header

0(19421) DEBUG: <core> [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=as69ff8e5b

0(19421) DEBUG: <core> [core/parser/parse_addr_spec.c:864]: parse_addr_spec(): end of header reached, state=29

0(19421) DEBUG: topoh [th_msg.c:396]: th_unmask_via(): =======via[1]

0(19421) DEBUG: topoh [th_msg.c:397]: th_unmask_via(): hdr: [Via]

0(19421) DEBUG: topoh [th_msg.c:399]: th_unmask_via(): body: 90: [SIP/2.0/UDP 217.112.180.9;branch=z9hG4bK4791.5f2802a780788335a48cc2a042bd43a1.1;rport=5060]

0(19421) DEBUG: topoh [th_msg.c:396]: th_unmask_via(): =======via[2]

0(19421) DEBUG: topoh [th_msg.c:397]: th_unmask_via(): hdr: [Via]

0(19421) DEBUG: topoh [th_msg.c:399]: th_unmask_via(): body: 73: [SIP/2.0/UDP 81.171.20.203:10060;rport=10060;TH=div;branch=z9hG4bK128eed5a]

0(19421) DEBUG: topoh [th_msg.c:428]: th_unmask_via(): +body: 3: [$]

0(19421) ERROR: <core> [core/parser/parse_via.c:2051]: parse_via(): bad char <$> on state 100

0(19421) ERROR: <core> [core/parser/parse_via.c:2704]: parse_via(): parsing via on: <$

X>

0(19421) ERROR: <core> [core/parser/parse_via.c:2710]: parse_via(): via parse error

0(19421) ERROR: topoh [th_msg.c:454]: th_unmask_via(): cannot find cookie in via2

0(19421) DEBUG: topoh [th_msg.c:583]: th_flip_record_route(): no record route header

0(19421) DEBUG: topoh [topoh_mod.c:385]: th_msg_received(): adding cookie: uc

0(19421) DEBUG: topoh [th_msg.c:1015]: th_add_hdr_cookie(): added cookie header [TH: uch

 

De : Daniel-Constantin Mierla <miconda@gmail.com>
Envoyé : mercredi 20 février 2019 21:19
À : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Nicolas Breuer <Nicolas.Breuer@belcenter.biz>
Objet : Re: [SR-Users] Topoh disabling

 

Hello,

can you run with debug=3 and send here all log/debug messages?

Cheers,
Daniel

On 20.02.19 21:03, Nicolas Breuer wrote:

Hello,

 

Using this event route  (see doc)

 

event_route[topoh:msg-outgoing] {

  if($sndto(ip)=="10.1.1.10") {

    drop;

  }

}

 

Cause

 

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16417]: ERROR: <core> [core/parser/parse_via.c:2051]: parse_via(): bad char <´> on state 100

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16417]: ERROR: <core> [core/parser/parse_via.c:2704]: parse_via(): parsing via on: <´#037#027#015#012X>

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16417]: ERROR: <core> [core/parser/parse_via.c:2710]: parse_via(): via parse error

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16417]: ERROR: topoh [th_msg.c:454]: th_unmask_via(): cannot find cookie in via2

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16416]: ERROR: <core> [core/parser/parse_via.c:2051]: parse_via(): bad char <´> on state 100

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16416]: ERROR: <core> [core/parser/parse_via.c:2704]: parse_via(): parsing via on: <´#037#027#015#012X>

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16416]: ERROR: <core> [core/parser/parse_via.c:2710]: parse_via(): via parse error

Feb 20 21:02:22 proxy2 /usr/sbin/kamailio[16416]: ERROR: topoh [th_msg.c:454]: th_unmask_via(): cannot find cookie in via2

 

Kamailio 5.1.7

 



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com