Too Tony I know you want to help but sometimes you brilliance gets in the way of simple solutions.
Anebi was looking for simple guidence not sub-lessons on sipX programming. (disable the local calling rule and add a custom rule that > looks for 7 digits and prepends it with 1<localarea code>&<7digits>. ) Come on get real. My suggestion get right to the point. Use the existing sipX dial plans. Keep is simple. Keep the local and long distence settings logically distinct. r ----- Original Message ----- From: "Tony Graziano" <[EMAIL PROTECTED]> To: <sipx-users@list.sipfoundry.org>; <[EMAIL PROTECTED]> Sent: Saturday, October 25, 2008 3:49 PM Subject: Re: [sipx-users] how to configure sipxecs 3.10 with OpenSBC ? > I don;t understand why two gateways to the same provider would be > necessary. I might have misunderstood the reason. > > What I do is disable the local calling rule and add a custom rule that > looks for 7 digits and prepends it with 1<localarea code>&<7digits>. > > You might also find receiving calls from the Siptrunk provider will show > all inbound calls with "+1<10digits>", if so, you might create a rule to > catch that "above" your Long distance rule (i.e., %2B1&<10digits> > resulting call is 1&<10 digits>. > > > >>> "voice" <[EMAIL PROTECTED]> 10/25/08 13:08 PM >>> > To Anebi > > <snip> > > You will have to create 2 Gateways one for local calling within your > Area code and 1 for long distance both pointing you your ST For local > you will have ot put your areacode in the prefix "Dial Plan" This will > add the areacode to your 7 digits local number because your ST provider > does not understand "local" only DID(10). > > <snip> > > _______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users