On Wednesday 15 April 2015 14:03:16 Daniel-Constantin Mierla wrote:
add_path();
msg_apply_changes();
Are you saying the result after msg_apply_changes() is a broken message?
You can see what is there by printing $rb or $mb -- don't recall by
heart which one is the entire buffer or the body.
Apparent reason is add_path results in:
Path: <sip:;lr>
The config is close to "standard", no listens, only add an
alias="sip.pocos-
voip.nl"
$mb:
REGISTER sip:sip.pocos-voip.nl SIP/2.0#015#012Via: SIP/2.0/UDP
10.0.3.175:5555;branch=z9hG4bK-34fb1235#015#012From: "DT"
<sip:tst0@sip.pocos-
voip.nl>;tag=aff3ef534fac57f9o0#015#012To: "DT" <sip:tst0@sip.pocos-
voip.nl>#015#012Call-ID: 3b3571bd-7d95a5ce(a)10.0.3.175#015#012CSeq: 10284
REGISTER#015#012Max-Forwards: 69#015#012Contact: "DT"
<sip:tst0@10.0.3.175:5555>;expires=90#015#012User-Agent:
Linksys/SPA962-6.1.3(a)#015#012Content-Length: 0#015#012Allow: ACK, BYE,
CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER#015#012Supported:
replaces#015#012Path: <sip:;lr>