[SR-Users] PV: PAI vs. PPI

Hugh Waite hugh.waite at crocodile-rcs.com
Fri Jan 11 11:24:22 CET 2013


Hi Klaus,

I have been working on improving the PPI/PAI handling, my reason is to 
easily retrieve the 1st and 2nd header using an index where there may be 
a tel: or sip: URI or both (but no more than one each).
I haven't been adding new pv's for each uri part, but have been using 
the selects $(ai[0]{uri.host}). If people agree on a list of PV names, I 
can implement them as I complete it.
(E.g. $aiU for user, $aid for domain)

I intend to rewrite the parser as a file in /parser/ and remove it from 
the kcore library.

Regards,
Hugh


On 10/01/2013 21:44, Klaus Darilion wrote:
> Hi! I just found out that there is only $ai for the whole 
> P-Asserted-Identity URI, but lots of PVs for P-Preferred-URI: uri, 
> domainpart, userpart ...
>
> Is there a reason for that, or is it just that nobody implemented it 
> for PAI? I think it should be easy to extend it for PAI too.
>
> regards
> Klaus
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


-- 
Hugh Waite
Principal Design Engineer
Crocodile RCS Ltd.




More information about the sr-users mailing list