You have to put end of line \r\n at the end of the parameter for append_hf().
Cheers, Daniel On 19/02/16 08:39, Sid Mason wrote: > 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_replace_from > uac_replace_from("","sip:$sel(cfg_get.kamailio.bind_external_domain):5060"); > # rewrite Destinatin URI > #$du= $au + "@10.1.4.22:5060 <http://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.8010...@gmail.com > <mailto:56b79afd.8010...@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 -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users