Thomas Haeger
2003-Aug-29 03:50 UTC
[Asterisk-Users] additional digit in front of the dialed extenesion by outgoing pri/E1 call
Hi all,
i have configured incoming voip traffic as follows:
[voipin]
exten => _X.,1,SetCallerID(033283077734)
exten => _X.,2,Dial,Zap/g4/${EXTEN}
exten => _X.,3,Hangup
If the call going out the pri dials with an additional '0' before the
dialed
number.
This is for caller number AND called number. But i can't see anything that
says set a '0' more in front of the dialed extension.
I've solved the problem temorary with:
[voipin]
exten => _X.,1,SetCallerID(33283077734)
exten => _X.,2,Dial,Zap/g4/${EXTEN:1}
exten => _X.,3,Hangup
But this is not realley nice, bacause i don't know where the additional
digit comes from.
My zaptel.conf say:
span=1,0,0,ccs,hdb3,crc4
span=2,0,0,ccs,hdb3,crc4
span=3,0,0,ccs,hdb3,crc4
span=4,0,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
bchan=32-46,48-62
dchan=47
bchan=63-77,79-93
dchan=78
bchan=94-108,110-124
dchan=109
loadzone = fr
defaultzone=fr
Can anybody help me ?
Thank you very much,
Thomas.
*******************************************
beroNet technologies GmbH
Dipl.- Ing. Thomas H?ger
Potsdamer Str. 18 A
14513 Teltow
FON: +49 (0) 3328 3077731
FAX: +49 (0) 3328 334779
Email: thomas.haeger@beronet.com
*******************************************
Thilo Salmon
2003-Aug-29 05:10 UTC
[Asterisk-Users] additional digit in front of the dialed extenesion by outgoing pri/E1 call
Thomas,> If the call going out the pri dials with an additional '0' before the dialed > number. > This is for caller number AND called number. But i can't see anything that > says set a '0' more in front of the dialed extension.While this may look o little odd, this is really the expected behaviour. You can change the number format on PRI channel by setting pridialplain in /etc/astersik/zapata.conf. The pridialplan setting goes into the 'type of number' field. Apparently, your numbers are treated as 'national'. You could try to change pridialplan to 'local', if you want to dial numbers the same way you do on an analog line (and your telco supports it). You can turn on pri debugging and take a look at the setup messages to find out what you are signalling to your telco. If there is a whishlist, it would be very helpful to set the TON/NPI fields on a per call basis rather than haveing a global setting. Has anybody done that yet? Thilo