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
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
Just to add, besides the uac having some of the best example names... the callerid you mentioned is most likely set on your phone config; which kamailio is just passing along.
Fred Posner The Palner Group, Inc. 503-914-0999 (direct) 954-472-2896 (fax)
On 03/19/2014 07:18 PM, Alex Balashov wrote:
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
Thanks for responding. If I integrated Kamailio with Asterisk i.e to use Asterisk as a media server to support three-way call, do you think these configuration would display caller id name since it can be setup on Asterisk? I just want to avoid to append caller id name my modifying the code for each users. Thanks Abdul
Date: Wed, 19 Mar 2014 19:28:25 -0400 From: fred@palner.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Caller ID name
Just to add, besides the uac having some of the best example names... the callerid you mentioned is most likely set on your phone config; which kamailio is just passing along.
Fred Posner The Palner Group, Inc. 503-914-0999 (direct) 954-472-2896 (fax)
On 03/19/2014 07:18 PM, Alex Balashov wrote:
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
I am new to kamailio and where or which file or files should I modify? I would to try with P-Asserted-Identity header.
append_hf("P-Asserted-Identity: \"SHERIF MALIK\"
sip:$fU@$Ri:$Rp\r\n");
Date: Wed, 19 Mar 2014 19:28:25 -0400 From: fred@palner.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Caller ID name
Just to add, besides the uac having some of the best example names... the callerid you mentioned is most likely set on your phone config; which kamailio is just passing along.
Fred Posner The Palner Group, Inc. 503-914-0999 (direct) 954-472-2896 (fax)
On 03/19/2014 07:18 PM, Alex Balashov wrote:
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