[Spce-user] adding additional (strange requirement) header for a peer

Matthew Ogden matthew at tenacit.net
Fri Oct 19 05:18:20 EDT 2012


Hi



A peer is requesting a strange header for assert my user CLI when routing
calls through them



1)      Do I just amend the section under  “# Set CLI from branch route” in
proxy.custom.tt2?

So line 3342 (version 2.5) was this:

if($avp(s:caller_omit_outbound_displayname) != 1)

{

    append_hf("P-Asserted-Identity: <$var(caller_cli_uri_pai)>\r\n");

}

Becomes:

if($avp(s:caller_omit_outbound_displayname) != 1)

{

    append_hf("P-Asserted-Identity: <$var(caller_cli_uri_pai)>\r\n");

    append_hf("$fU=’$var(caller_cli_e.164_Number_Only)’;\r\n");



}





Also, what would be the variable holding my caller_cli_e.164_Number_Only
(no domain etc).

If I wanted to apply this only to one peer, should I just add and If, but
what should I check against, varialbe for their contract, or a variable for
their IP. Where can I find these variable names list/description?





Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20121019/44877f0b/attachment.html>


More information about the Spce-user mailing list