Hello Everyone,
Is it possible to pass a meaningful caller name along with the caller id
given the carrier supports CLI?
Before asking the carrier, I was doing some tests.
I know that append_hf("P-Asserted-Identity: <sip:[email protected]>;
user=phone\r\n", "Call-ID") works
fine for the phone number alone (i.e., 15453387463) however,
append_hf("P-Asserted-Identity: From: \" Test User \" <
sip:[email protected]>; user=phone\r\n", "Call-ID") generates a
meaningless CID.
The SIP Trace: P-Asserted-Identity: From: "Mike Peer" <
sip:[email protected]>; user=phone.
Once I know what is accepted for PAI, I plan on assigning subscriber.rpid
that value. To load rpid for a specific caller and INVITE,
I have added the following code:
modparam("auth_db", "load_credentials", "rpid")
modparam("auth", "rpid_avp", "$avp(rpid)")
Testing from branch route, $avp(rpid) is NULL. We do not allow users to
REGISTER. Any way we can get subscriber.rpid for INVITES? Finally, is
branch_route and failure_routes, the safest place to append the PAI?
Thanks in Advance,
Nick
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users