[SR-Users] "append_rpid_hf()" and "append_hf()" issues
Dominguez Jover, Ricardo
djover at umh.es
Wed Nov 10 11:36:55 CET 2010
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 at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] En nombre de Alex Balashov
Enviado el: miércoles, 10 de noviembre de 2010 11:24
Para: sr-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101110/f0f08df8/attachment-0001.htm>
More information about the sr-users
mailing list