Dan I think the easiest method is just to replace the incoming CLI with a 7 digit range number or an acceptable range of numbers to the provider. Maybe something like this [RewriteCLI] out:any=x.x.x.x any=5551000-5559000 unless the provider requires the actual CLI your receive for some reason. Simon At 07:38 PM 9/10/2006, you wrote: >Hello All, > >Please advice me in the following scenario: > >I am sending calls to a provider which supports only 7 digit numbers cli. >I need to check the cli, if more than 7 digits, cut what comes more than 7 >and send out, for calls which are not having 7 digits, generate maybe >aleatory clis of 7 digits. Is my scenario possible? >I tried looking in the manual, but the manual helps only with prefixes and >fix cli rewriting. >Can I use some regexp with cli rewriting module? > >Thank you in advance for any kind of help. > >Dan > > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________________ > >Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx >Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 >Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users >Homepage: http://www.gnugk.org/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/