# 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
#
rewrite Destinatin URI
#
Add Remote-Party-ID to header
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@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