Description

For some reason From header cannot be parsed.

Reproduction

Tested config

listen=udp:127.0.0.1:5060
loadmodule "pv.so"
loadmodule "http_client.so"
loadmodule "lost.so"

modparam("http_client", "httpcon", "http://example.com=>http://example.com");


request_route {
    lost_held_query("http://example.com", "$var(pidf)", "$var(geo_url)", "$var(err)");
}

Client sipp

sipp -m 1 -sn uac  -p 2345 127.0.0.1

Log Messages

Kamailio output

 1(7643) WARNING: lost [functions.c:252]: lost_held_function(): P-A-I header not found, trying From header ...
 1(7643) ERROR: lost [utilities.c:644]: lost_get_from_header(): From header not found
 1(7643) ERROR: lost [functions.c:259]: lost_held_function(): no device id found
 2(7644) WARNING: lost [functions.c:252]: lost_held_function(): P-A-I header not found, trying From header ...
 2(7644) ERROR: lost [utilities.c:644]: lost_get_from_header(): From header not found
 2(7644) ERROR: lost [functions.c:259]: lost_held_function(): no device id found
 3(7645) WARNING: lost [functions.c:252]: lost_held_function(): P-A-I header not found, trying From header ...
 3(7645) ERROR: lost [utilities.c:644]: lost_get_from_header(): From header not found
 3(7645) ERROR: lost [functions.c:259]: lost_held_function(): no device id found

SIP Traffic

INVITE sip:service@127.0.0.1:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:2345;branch=z9hG4bK-7655-1-0
From: sipp <sip:sipp@127.0.0.1:2345>;tag=7655SIPpTag001
To: service <sip:service@127.0.0.1:5060>
Call-ID: 1-7655@127.0.0.1
CSeq: 1 INVITE
Contact: sip:sipp@127.0.0.1:2345
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
Content-Length:   129

v=0
o=user1 53655765 2353687637 IN IP4 127.0.0.1
s=-
c=IN IP4 127.0.0.1
t=0 0
m=audio 6000 RTP/AVP 0
a=rtpmap:0 PCMU/8000

Additional Information

current master

CentOS 8 x86_64


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.