Re: [Asterisk-Users] pridialplan/TON question

2005-04-28 Thread Klaus Darilion
Hi Peter! FYI: Yesterday i put Asterisk between a Hicom 350E and a Telekom Austria (TA) PRI. Both use TON=unknown for called number, but Hicom always uses TON=international for calling number whereas TA uses a dynamic TON for calling number. Thus, for incoming calls (PSTN-PBX) the presented

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Eric Wieling aka ManxPower
Klaus Darilion wrote: Hi! I'm trying to understand how asterisk handles the TON (using the pridialplan=... directive). Setting the TON for outgoing calls using pridialplan and prilocaldialplan works fine. But how can I query and process the TON for incoming calls? e.g. in the follwing

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Klaus Darilion
Eric Wieling aka ManxPower wrote: Klaus Darilion wrote: ... e.g. in the follwing scenario: PBX--- asterisk PSTN 1. The PBX sends SETUP messages with the appropriate TON. I want to rewrite the called number into a common format to make an ENUM lookup. Thus, I need to query the TON sent by

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Peter Svensson
On Tue, 26 Apr 2005, Klaus Darilion wrote: Anyway, if I set TON to unknown, I have to send the number according to the PSTN dialing plan (00 for int, 0 for national, ...). Thus, if the PBX does not use UNKNOWN, I have to translate the numbers out of their original TON to ton=unknown.

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Marc Storck
Anyway, if I set TON to unknown, I have to send the number according to the PSTN dialing plan (00 for int, 0 for national, ...). Thus, if the PBX does not use UNKNOWN, I have to translate the numbers out of their original TON to ton=unknown. Therefore, I need to process the incoming TON. How

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Klaus Darilion
Hi Peter! Peter Svensson wrote: On Tue, 26 Apr 2005, Klaus Darilion wrote: Anyway, if I set TON to unknown, I have to send the number according to the PSTN dialing plan (00 for int, 0 for national, ...). Thus, if the PBX does not use UNKNOWN, I have to translate the numbers out of their

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Klaus Darilion
Marc Storck wrote: Anyway, if I set TON to unknown, I have to send the number according to the PSTN dialing plan (00 for int, 0 for national, ...). Thus, if the PBX does not use UNKNOWN, I have to translate the numbers out of their original TON to ton=unknown. Therefore, I need to process the

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Peter Svensson
On Tue, 26 Apr 2005, Klaus Darilion wrote: You have two options: 1) Use the CALLINGTON variable in the dialplan. This is only for the calling party number, not the called party number. Bad thing. I guess this is an important feature when interacting with existing PBXs. How are

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Peter Svensson
On Tue, 26 Apr 2005, Marc Storck wrote: I have a Digium E100P card, with an EuroISDN PRI E1. On incoming calls the CALLINGTON variable is empty. I have the latest stable version of asterisk. Do I have to use another variable or is the TON only support in CVS? CALLINGTON was not populated

Re: [Asterisk-Users] pridialplan/TON question

2005-04-26 Thread Klaus Darilion
Peter Svensson wrote: Nothing of this is included in stable version. I'm sure I'm not the first person putting an asterisk box between a PBX and the telco line. Is everboy using asterisk CVS out there? We use cvs from an old date (predating these functions) but with quite a few additional