use P, Q etc for prefix in the dialplan in this case, forget the 0

On Wed, 2009-03-11 at 13:50 +0200, Kaloyan Kovachev wrote:
> It is easy for me to replace the '000' with '00' in the dialplan, but
> shouldn't asterisk add just the national prefix when calling nai is set to
> national in the config or they are used for the outbound calls only?
> 
> On Wed, 11 Mar 2009 12:18:35 +0100, Attila Domjan wrote
> > Use another char (like M, P) for prefix, if your provider so idiot using
> > prefix in ss7
> > 
> > On Wed, 2009-03-11 at 12:55 +0200, Kaloyan Kovachev wrote:
> > > Hello,
> > >  I have repeated the results with two Asterisk via dynamic:
> > > 
> > > the first Asterisk is configured as nai dynamic for both called and 
> > > calling,
> > > the second is configured with both set to national and:
> > >   ss7_internationalprefix = 00
> > >   ss7_nationalprefix = 0
> > >   ss7_subscriberprefix = 
> > >   ss7_unknownprefix = 
> > > 
> > > from the first machine a SIP phone with callerid set to 00035952555555 is
> > > calling the second machine so with dynamic it sends nai to 4, but sends
> > > 035952555555 as the number (to recreate what i am getting from the 
> > > provider)
> > > even the second machine is set to nai = national there is no difference 
> > > like
> > > when it set to dynamic ... logs attached
> > > _______________________________________________
> > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > > 
> > > asterisk-ss7 mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-ss7
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss7

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7

Reply via email to