2008/12/4 Samuel Muller <sml(a)720.fr>fr>:
append_hf("P-Asserted-Identity:
$avp(s:caller_cli)
<sip:$avp(s:caller_cli)@$fd>\r\n");
append_hf("Remote-Party-ID: $avp(s:caller_cli)
<sip:$avp(s:caller_cli)@$si>;party=caller;privacy=none;screen=yes\r\n");
}
Do you have a better solution to have the best rpid and pai coding way ?
It's ok now.
And, is the P-Preferred-Identity really necessary for
PSTN ?
It depends on the gateway configuration, but basically PPI shouldn't
be used when sending the request to a gateway (they usually expect
RPID or PAI).
--
Iñaki Baz Castillo
<ibc(a)aliax.net>