Hello Abdul,
This depends on how you want to signal the caller ID.
If you want to indicate it with the P-Asserted-Identity header, which overrides both Remote-Party-ID and the 'From' value, you can just append your own header with a display name value:
append_hf("P-Asserted-Identity: "SHERIF MALIK" sip:$fU@$Ri:$Rp\r\n");
If you want to actually override the From display value, that's a bit more complex, since proxies aren't technically supposed to do that. However, the 'uac' module gives you this capability:
http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.f.uac_replace_fr...
e.g.
uac_replace_from(""SHERIF MALIK"", ""); # Don't modify From URI.
-- Alex
On 03/19/2014 07:15 PM, malik sherif wrote:
Hello, I set SIP users using kamctl add command with username ( I put the phone numbers) doamin (doamin name) and password. Is their a way to add caller id name? when I make a call , i see the phone number but for caller id name I displayline1. Thank you for your help. Abdul
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users