[Kamailio-Users] TextOps - Removal of To

sasirekha jaganathan sasi_kool at yahoo.com
Thu Apr 2 09:55:27 CEST 2009


Hi, 
  I need only the To value omitting the tag parameter in the To header.

$avp(s:toadd)=$tu;
if(remove_hf("To")){
              xlog("Removed To tag \n");
}
insert_hf("To: $avp(s:toadd)\r\n");

The log "Removed To tag" gets printed but after inserting if I try to print the header value with $hdr(To) it shows the value with tag-param too.

Is there anything wrong?


Thanks






  



      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090402/494e56b8/attachment.htm>


More information about the sr-users mailing list