Roger Schreiter
2005-Jan-06 16:43 UTC
[Asterisk-Users] Numbering plan for incoming call CLID on chan_zap (PRI)
Hi, whatever dialplan I'm using for outgoing calls via PRI (Digium card, chan_zap), the callerid when receiving calls has no leading zeros, which are normally used to distinguish local, national and international calls in Europe. The number has always the area code in front, but the country code only for foreign calls. Now I'm looking for any mean to decide, whether the received callerid begins with a country code and thus comes from another country or is domestic. Is there maybe any variable indicating this? Roger.
Peter Svensson
2005-Jan-07 02:52 UTC
[Asterisk-Users] Numbering plan for incoming call CLID on chan_zap (PRI)
On Fri, 7 Jan 2005, Roger Schreiter wrote:> whatever dialplan I'm using for outgoing calls via > PRI (Digium card, chan_zap), the callerid when receiving > calls has no leading zeros, which are normally used to distinguish > local, national and international calls in Europe. > > The number has always the area code in front, but the > country code only for foreign calls.This is normal for isdn, the numbers are distinguised by their "Type of number" and "Numbering plan" which are sent along with the actual digits.> Now I'm looking for any mean to decide, whether the > received callerid begins with a country code and thus > comes from another country or is domestic. > > Is there maybe any variable indicating this?Yes, "CALLINGTON", but it is broken at the moment in cvs. I have a patch that works for us. Perhaps you can try it as well before I submit it? Contact me off-list if you are interested. Peter
Apparently Analagous Threads
- Looking for PSTN provider with unlimited inbound/outbound plan
- Q: PRI leading 0 (area access code) or 00 (country access code) missing on incoming callerid
- Howto use PRI lines (E1 or T1) for "data calls"?
- Q: How to get the preset callerid from a CLID-no-screen E1-PRI
- Can one send CLID NAME over PRI?