Hi Alex, I think I'm doing what you say, look at the configuration my config file:
append_rpid_hf("$fU",
";party=calling;id-type=subscriber;privacy=off;screen=yes");
consume_credentials();
(the following lines are commented)
####### I also tested the following
#
append_hf("Remote-Party-ID:<sip:$avp(rpid)@$avp(domain);user=phone>;privacy=$avp(privacy);party=calling\r\n");
#
append_hf("P-Asserted-Identity:<sip:$avp(rpid)@$avp(domain)>\r\n",
"Call-ID");
# consume_credentials();
Is that right or you mean something like this:
append_rpid_hf("$avp(rpid)",
";party=calling;id-type=subscriber;privacy=off;screen=yes");
consume_credentials();
?
Anyway I've just tested this last configuration and I can't see "Remote Party
ID" headers in SIP message.
Kind regards,
Ricardo
-----Mensaje original-----
De: sr-users-bounces(a)lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org]
En nombre de Alex Balashov
Enviado el: miércoles, 10 de noviembre de 2010 11:24
Para: sr-users(a)lists.sip-router.org
Asunto: Re: [SR-Users] "append_rpid_hf()" and "append_hf()" issues
Ricardo,
The 'rpid' value is loaded from the 'subscriber' table as part of the
authentication functions; if you consume_credentials() before it, it
will be gone. You should append_rpid_hf() the RPID header first, and
consume_credentials() afterward.
Cheers,
-- Alex
Show replies by date