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! Invite them now.