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/
_______________________________________________
Kamailio (OpenSER) - Users mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to