<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>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.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Regards,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Arun</div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times
 new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Alex Balashov <abalashov@evaristesys.com><br> <b><span style="font-weight: bold;">To:</span></b> arun Jayaprakash <jayaprakasharun@yahoo.com>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, February 21, 2014 6:49 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] Change from_uri<br> </font> </div> <div class="y_msg_container"><br>On 02/21/2014 07:46 PM, arun Jayaprakash wrote:<br><br>> It looks like my gateway is expecting to see a DID number in the from<br>> header. Can someone let me know how I can dot this? Thank you.<br><br>The uac_replace_from() function exported by the 'uac' module can do this:<br><br><br><a
 href="http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.f.uac_replace_from" target="_blank">http://kamailio.org/docs/modules/4.1.x/modules/uac.html#uac.f.uac_replace_from</a><br><br>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.<br><br>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.<br><br>-- Alex Balashov - Principal<br>Evariste Systems LLC<br>235 E Ponce de Leon Ave<br>Suite 106<br>Decatur, GA 30030<br>United States<br>Tel: +1-678-954-0670<br>Web: <a href="http://www.evaristesys.com/"
 target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br><br><br></div> </div> </div>  </div></body></html>