On Tue, 4 Jan 2005, GIBERT Frédéric wrote:

> I had such problem on PRI and BRI lines. And I think but I need to verify,
> also on analog lines.
> 
> For example, I had such configuration:
> 
> [EMAIL PROTECTED] asterisk]# more zapata.conf
> [channels]
> 
> switchtype=euroisdn
> pridialplan=unknown
> signalling=pri_cpe
> group = 1
> channel => 1-15,17-31
> context=FromTNR



> 
> 
> 
> And I get such traces:
> 
> < Calling Number (len=13) [ Ext: 0  TON: National Number (2)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> <                           Presentation: Presentation allowed of network
> provided number (3) '672083516' ]
>
> Do I need to change my pridialplan?

This is as expected, the switch you are connected to sends the numbers in 
the "National" format, i.e. no leading zero. Chances are very good that 
international numbers will be sent with "international" number format, 
i.e. a country prefix but no international prefix (no double zero in 
Europe). 

You will have to modify the callerid once received. We pass it through a 
context that rewrites the callerid using setcallerid. This is not related 
to the "pridialplan" setting which sets what TON is used on outgoing 
dialed numbers or "prilocaldialplan" which sets the outgoing callerid 
format.

Peter


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to