[Asterisk-Users] Don't receive the prefix

2005-01-04 Thread GIBERT Frédéric



Hello,

I had installed 
several asterisk, but I every time had a problem with 
callerID.
On each phones I 
don't reveive the first digit.

For 
example:

Caller 0672083516 
called an IP Phone 0123456789. The IP Phone see 672083516 as 
callerID.

I think there is a 
patch for it, but I don't know where to find it out.

Thanks.

___
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

Re: [Asterisk-Users] Don't receive the prefix

2005-01-04 Thread Eric Wieling aka ManxPower
GIBERT Frédéric wrote:
Hello,
I had installed several asterisk, but I every time had a problem with
callerID.
On each phones I don't reveive the first digit.
For example:
Caller 0672083516 called an IP Phone 0123456789. The IP Phone see 672083516
as callerID.
I think there is a patch for it, but I don't know where to find it out.
I think one of the switchtype options in zapata.conf deal with this. 
Set to national, it strips the national prefix.

___
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


Re: [Asterisk-Users] Don't receive the prefix

2005-01-04 Thread Peter Svensson
On Tue, 4 Jan 2005, Eric Wieling aka ManxPower wrote:

 GIBERT Frédéric wrote:
  Hello,
  
  I had installed several asterisk, but I every time had a problem with
  callerID.
  On each phones I don't reveive the first digit.
  
  For example:
  
  Caller 0672083516 called an IP Phone 0123456789. The IP Phone see 672083516
  as callerID.
  
  I think there is a patch for it, but I don't know where to find it out.
 
 I think one of the switchtype options in zapata.conf deal with this. 
 Set to national, it strips the national prefix.

You need to give us a bit more information on how you are connected. How 
are the lines that the calls are coming in on connected? Isdn, sip, h.323, 
analog?

For isdn (and h.323 at least) your provider may send the caller id in 
several standardized formats as well as several non-compliant-but-common 
formats as well. 

If you are connected via isdn the number format is identified by the Type 
Of Number and Numbering Plan sent along with the caller id number. Either 
talk to your provider on how the line is provisioned or look at the result 
of a pri intense debug and see how the numbers are sent and what TON is 
set.

Common choises are:
  (TON)   / (NPI)
  unknown /unknown- the number is sent as it would be dialed on a POTS
  national/E.164  - only valid for national numbers - no leading zero
  int /E.164  - leading country code, no leading int. prefix

Usually all callerids are either sent with unknown TON or national 
numbers as national TON and international as int TON. However, it is 
not unheared of to have these mixed up a bit by the telco. 

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


RE: [Asterisk-Users] Don't receive the prefix

2005-01-04 Thread GIBERT Frédéric


-Message d'origine-
De : Peter Svensson [mailto:[EMAIL PROTECTED]
Envoyé : mardi 4 janvier 2005 17:37
À : Asterisk Users Mailing List - Non-Commercial Discussion
Cc : [EMAIL PROTECTED]
Objet : Re: [Asterisk-Users] Don't receive the prefix


On Tue, 4 Jan 2005, Eric Wieling aka ManxPower wrote:

 GIBERT Frédéric wrote:
  Hello,
 
  I had installed several asterisk, but I every time had a problem with
  callerID.
  On each phones I don't reveive the first digit.
 
  For example:
 
  Caller 0672083516 called an IP Phone 0123456789. The IP Phone see
672083516
  as callerID.
 
  I think there is a patch for it, but I don't know where to find it out.

 I think one of the switchtype options in zapata.conf deal with this.
 Set to national, it strips the national prefix.

You need to give us a bit more information on how you are connected. How
are the lines that the calls are coming in on connected? Isdn, sip, h.323,
analog?

For isdn (and h.323 at least) your provider may send the caller id in
several standardized formats as well as several non-compliant-but-common
formats as well.

If you are connected via isdn the number format is identified by the Type
Of Number and Numbering Plan sent along with the caller id number. Either
talk to your provider on how the line is provisioned or look at the result
of a pri intense debug and see how the numbers are sent and what TON is
set.

Common choises are:
  (TON)   / (NPI)
  unknown /unknown- the number is sent as it would be dialed on a POTS
  national/E.164  - only valid for national numbers - no leading zero
  int /E.164  - leading country code, no leading int. prefix

Usually all callerids are either sent with unknown TON or national
numbers as national TON and international as int TON. However, it is
not unheared of to have these mixed up a bit by the telco.

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


RE: [Asterisk-Users] Don't receive the prefix

2005-01-04 Thread Peter Svensson
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