Alex, thank you for your pointers. I will work with Asterisk to see how I can 
change the caller ID instead of messing with the UAC module. Thanks again.

Regards,
Arun


________________________________
 From: Alex Balashov <abalas...@evaristesys.com>
To: arun Jayaprakash <jayaprakasha...@yahoo.com>; Kamailio (SER) - Users 
Mailing List <sr-users@lists.sip-router.org> 
Sent: Friday, February 21, 2014 6:49 PM
Subject: Re: [SR-Users] Change from_uri
 

On 02/21/2014 07:46 PM, arun Jayaprakash wrote:

> It looks like my gateway is expecting to see a DID number in the from
> header. Can someone let me know how I can dot this? Thank you.

The uac_replace_from() function exported by the 'uac' module can do this:


http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.f.uac_replace_from

However, you should carefully give some consideration to whether you really 
want to change the value of the From header. It is quite inadvisable, and is 
not something proxies are formally permitted to do. The UAC module gets around 
this requirement through some rather complicated spoofing.

You might consider instead reconfiguring your UAC to send different From 
values, most likely by changing 'caller ID' settings in Asterisk, in your case. 
 For instance, there is the 'callerid' option for sip,conf peers.

-- Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
_______________________________________________
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

Reply via email to