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_replac... 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@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
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_replac... 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.8010505@gmail.com mailto: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
That saved lives and many worried families are relieved!
On Fri, Feb 19, 2016 at 3:43 PM, Daniel-Constantin Mierla <miconda@gmail.com
wrote:
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_replac... 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@gmail.com56B79AFD.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
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu