[asterisk-users] leading ghost 0
Alex Kauffmann
akauffma at prodigy.net.mx
Tue Nov 20 10:23:49 CST 2012
On 11/20/2012 8:03 AM, gincantalupo wrote:
> Hi Leandro,
>
> I'm sure nobody has added something... tried prilocaldialplan and
> pridialplan but nothing changed.
> Question: if pridialplan or prilocaldialplan would work, should I see
> the 0 inside PRI frame with intense debug or it is hidden?
>
> Yes...the technician did it...there is only one cable.
>
> Maybe it is the socket circuitry that has something wrong but I do not
> know ho to check.
>
> Asap I'll be on site I'll do more testing.
>
> Thank you
>
> Giorgio
>
> On 11/20/2012 01:13 PM, Leandro Dardini wrote:
>> That is a real mistery! I like a lots these cases when all seems not
>> working despite all being correctly configured, but you know first or
>> later you'll find the answer.
>>
>> From your website, it seems you are selling/renting PBX based on
>> asterisk, so you can be sure nobody has messed with the asterisk or
>> dahdi source code adding a zero... I am sure you have already tried
>> with a brand new server.
>>
>> Have you checked the pridialplan and prilocaldialplan setting?
>>
>> If I was in your shoes, I'll get another server, with a PRI configured
>> as master and hook it at your PBX to really check if the zero is sent.
>>
>> Does the technician try to make phone calls from the same network
>> cable you are using?
>>
>> Leandro
>>
>>
>> 2012/11/20 gincantalupo <gincantalupo at fgasoftware.com
>> <mailto:gincantalupo at fgasoftware.com>>
>>
>> Hi Leandro,
>>
>> thanks for your answer.
>>
>> I already have tried those parameters but without any positive result.
>>
>> The telco technician has tried the line with its machine and it
>> worked...remote telco technicians say they get a leading zero...
>> I'm thinking there is something strange in the middle that adds
>> the zero but do not know what it is.
>> Strange is the fact that you can call some numbers with or without
>> the prefix zero...
>> Moreover we had no problem with the previous telco (fastweb).
>>
>> So we can only call PTSN numbers....not mobile phones.
>>
>> Giorgio
>>
>>
>> On 11/20/2012 11:12 AM, Leandro Dardini wrote:
>>> 2012/11/20 gincantalupo <gincantalupo at fgasoftware.com
>>> <mailto:gincantalupo at fgasoftware.com>>
>>>
>>> Hi all,
>>>
>>> I have problems dialling out because my new telco (the
>>> previous gave no problems) tells me my PBX adds a leading 0
>>> and that's why I cannot dial out (but I can receive calls).
>>>
>>> I make a small extensions.conf as a test:
>>>
>>> exten => 666,1,Dial(DAHDI/g1/339xxxxxx)
>>> but cannot dial out
>>>
>>> Curious thing is that
>>> exten => 666,1,Dial(DAHDI/g1/0233xxxxxx)
>>> and
>>> exten => 666,1,Dial(DAHDI/g1/233xxxxxx)
>>> call the same number!!!
>>>
>>> Line in use is a PRI.
>>>
>>> My Asterisk version is 1.4.26.2
>>> dahdi version: 2.2.0.2
>>> wanpipe-3.4.6
>>>
>>> I checked with intense pri debug and see no 0 inside frames....
>>>
>>> How can I really be SURE Asterisk is not adding some leading
>>> zero?
>>>
>>> Thank you.
>>>
>>> Giorgio.
>>>
>>>
>>> I have never heard of a way to automatically add digits when
>>> using PRI, however can you check your chan_dahdi.conf about the
>>> following lines:
>>>
>>> internationalprefix =
>>> nationalprefix =
>>> localprefix =
>>>
>>> If presents, try messing with them. If you are using the PRI in
>>> Italy, every provider has PRI configured in its own way, some
>>> time even the same provider is configuring PRI lines in multiple
>>> times, but often the problems are on receiving the calls (like
>>> calls with and without the area code, with or without the leading
>>> zero, etc. etc.)
>>>
>>> Leandro
>>>
>>>
>>> --
The prilocaldialplan parameter is for inbound so you would have seen no
changes. Did you try:
pridialplan=unknown
Did you restart dahdi and asterisk after the changes?
Alex
More information about the asterisk-users
mailing list