But there is a way that on accouting requests to keep the old number (before rewriting ? ) So I can get an accouting request with called-station-id "011xxx" , and not "xxx" ? Thanks a lot.. Alex ----- Original Message ----- From: "Vance Shipley" <vances@motivity.ca> To: "Nitesh Divecha" <nitesh@incallusb.com> Cc: <openh323gk-users@lists.sourceforge.net> Sent: Tuesday, July 22, 2003 4:48 AM Subject: Re: [Openh323gk-users] How to Rewrite? > On Mon, Jul 21, 2003 at 05:03:37PM -0700, Nitesh Divecha wrote: > } > } My new T1 provider does not want me to send "011". How can I remove 011 > } when sending call to my provider...? > > Nitesh, > > Add the following to your gnugk.ini configuration file: > > [RasSrv::RewriteE164] > 011= > > } I just want to send a call with CountryCode+AreaCode+Number. NO 011... > > This is how you should be doing it anyway. "011" is an "international > prefix" and is not part of an E.164 address. In (most) other parts of the > world the prefixed used for international dialing is "00". The complete > form of an E.164 globally unique telephony address is: > > <CC><NSN> > > Where: > <CC> Country Code > <NSN> National (Significant) Number > > A North American number is as: > > 12125551234 > > <CC> 1 > <NSN> 2125551234 > > This can be confusing though because within the US (and Canada ...) you > would dial: > > 12125551234 > > However in this context it is: > > "national (trunk) prefix" 1 > <NDC> 212 > <SN> 5551234 > > The NSN can be broken down, within a national plan, as: > > <NDC><SN> > > <NDC> National Destination Code > <SN> Subscriber Number > > In the UK to reach this subscriber number you would dial: > > 0012125551234 > > "internation aprefix" 00 > <CC> 1 > <NSN> 2125551234 > > This UK subscriber might have an E.164 address as: > > 441712221234 > > <CC> 44 > <NSN> 1712221234 > > To dial him from the North America we dial: > > 011441712221234 > > "international prefix" 011 > <CC> 44 > <NSN> 1712221234 > > Within the UK, from some areas, you might dial: > > 01712221234 > > "national (trunk) prefix" 0 > <NDC> 171 > <SN> 2221234 > > To unambiguously represent E.164 numbers they should be > written as: > > +12125551234 > +441712221234 > > Alrgough you will often see things like: > > +44(0)1712221234 > > This is wrong, but common. The national (trunk) prefix has been > written included in parenthesis. You should delete it. > > So the thing is that you need to seperate out "prefixes" from the > actual address and not let them leak out into other address spaces. > To ask your UK partners to send their destination digits including > a "011" prefix would be wrong as "011" has no meaning in the UK. > > On international connections everyone should use a straight E.164 > <CC><NSN> format. When interconnecting with the US it would also > be a good idea however you could drop the country code / national > (trunk) prefix (1). > > -Vance > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > List: Openh323gk-users@lists.sourceforge.net > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Homepage: http://www.gnugk.org/ ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ List: Openh323gk-users@lists.sourceforge.net Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/