[Kamailio-Users] Remove function

Juha Heinanen jh at tutpro.com
Tue Oct 21 09:33:55 CEST 2008


michel freiha writes:

 > I have the following function:
 > 
 > if($rU =~ "^[+].*")
 > {
 > route(8);
 > exit;
 > }
 > 
 > I need to remove the + sign from the dilaed number before sending the call
 > to route(8)

check core functions on page

http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:1.4.x#strip_int

read the whole document so next time you may not need to ask the list.

-- juha




More information about the Users mailing list