Yes, there is a append_hf("Remote-Party-ID:
below is the complete section:
# Send to Asterisk
route[TOASTERISK] {
ds_mark_dst("P");
if(!ds_select_dst("1", "4")) {
sl_send_reply("500", "Service Unavailable");
xlog("L_INFO","[$fU@$si:$sp]{$rm} No destinations available for $rd
\n");
exit;
}
# Replace FROM header to Kamailio's address
#
http://www.kamailio.org/docs/modules/4.3.x/modules/uac.html#uac.f.uac_repla…
uac_replace_from("","sip:$sel(cfg_get.kamailio.bind_external_domain):5060");
# rewrite Destinatin URI
#$du= $au + "@10.1.4.22:5060";
# Add Remote-Party-ID to header
append_hf("Remote-Party-ID: \"$au\" <sip:$au@
$sel(cfg_get.kamailio.bindip_external)>;party=calling;privacy=off;screen=no");
xlog("L_INFO","route[TOASTERISK]: [$fU@$si:$sp]{$rm} From Outside World to
Asterisk Box $du\n");
rtpproxy_manage("cawei");
route(RELAY);
exit;
}
Regards
Subject: Re: [SR-Users] Error or Bug: [t_msgbuilder.c:490]:
build_local_reparse(): ERROR: build_local_reparse: HDR_EOH_T was not
found
Message-ID: <56B79AFD.8010505(a)gmail.com>
Content-Type: text/plain; charset="windows-1252"
Hello,
do you have an action like:
append_hf("Remote-Party-ID: ...");
in kamailio.cfg?
Can you paste all that action here?
Cheers,
Daniel