[asterisk-r2] every 3 calls fails 1 call

Charles Petrillo charles.petrillo at gmail.com
Thu May 24 21:53:46 CDT 2012


Hello Carlos,

Well, the versions are ok, it shouldn't be an issue.

What I meant with calling other destinations (as you say you called the call
center) if the same problem happens. Every 3 calls 1 fail?
If yes, it could be a specific channel on your trunk. Also, every E1 trunk
has a "hunting" mode for channels. It could be "even" or "odd".

Try creating a context using a dial app to call a specified channel on your
E1, so you always pickup the channel you want.

Instead of using

XXXXXXXX,n,Dial(DAHDI/g1/22222222) use
XXXXXXXXX,n,Dial(DAHDI/${EXTEN:0:1}/${EXTEN:1})

So you first digit is your channelŠ for the 10th is a dial plan with one
more X.

KR,
Charles

From:  Carlos Rodriguez Alcala <carlos.rav at gmail.com>
Reply-To:  Lista R2 <asterisk-r2 at lists.digium.com>
Date:  Wed, 23 May 2012 10:06:00 -0300
To:  Lista R2 <asterisk-r2 at lists.digium.com>
Subject:  Re: [asterisk-r2] every 3 calls fails 1 call

Hi Charles,

Asterisk 1.8.7.0
dahdi-2.4.1.2-5
libopenr2-1.3.1-0

The call center that I called have many lines, it´s never busy.

I have a PBX who comunicate via R2 to asterisk and then via R2 the asterisk
with PSTN
http://lists.digium.com/pipermail/asterisk-r2/2012-February/002426.html
(thread when I have the first problem)

The first ok call log :
http://pastebin.com/nsvZ32F2

The third call fail
 http://pastebin.com/CHGhMMe8

But it´s the same log... but diferent channel .

So I´m really lost.




2012/5/21 Charles Petrillo <charles.petrillo at gmail.com>
> Hi Carlos,
> 
> I havent seen your first email. So maybe you already have tried what I
> am going to sugest.
> 
> What version of Asterisk, Dahdi, and R2 library you are using?
> If all of your settings are ok, you should try to find a pattern to
> your problem.
> 
> Try calling a regular line (not a call center) many times. Make sure
> the other side is someone with a basic understanding of telephony.
> 
> Before Asterisk, what did you had? A regular PBX? Have you tried
> turning it on again see if the problem presents in the same way?
> 
> These days you never now what is on the other side as far wich
> technology they are using.
> 
> KR,
> Charles
> 
> On Mon, May 21, 2012 at 5:56 PM, Carlos Rodriguez Alcala
> <carlos.rav at gmail.com> wrote:
>> >  Hi all,
>> >
>> > I have 1 card with 1 E1 conecting a PBX and a PSTN(named COPACO from
>> > Paraguay), the calls sometimes just don´t "call", I had the problem that >>
the
>> > numbers of digits to dial are variable, and then MOY(Moises Silva) wrotte
>> me
>> > the solutions, but  some 1 of 3 calls always fail.
>> >
>> >
>> > In this example I called to a call center of a bank, for three times , the
>> > third time the call fail.
>> > My asterisk log
>> > -------------------
>> >
>> >  -- Called DAHDI/R1/6171000
>> >
>> > MFC/R2 call has been accepted on forward channel 11
>> >
>> >     -- DAHDI/11-1 is ringing
>> >
>> >     -- DAHDI/11-1 is making progress passing it to DAHDI/43-1
>> >
>> > MFC/R2 call has been answered on channel 11
>> >
>> >     -- DAHDI/11-1 answered DAHDI/43-1
>> >
>> > Chan 43 - Far end disconnected. Reason: Normal Clearing
>> >
>> > MFC/R2 call disconnected on channel 43
>> >
>> >     -- Executing [h at salida:1] Hangup("DAHDI/43-1", "") in new stack
>> >
>> >   == Spawn extension (salida, h, 1) exited non-zero on 'DAHDI/43-1'
>> >
>> >     -- Hungup 'DAHDI/11-1'
>> >
>> >   == Spawn extension (salida, 6171000 <tel:6171000> , 5) exited non-zero on
>> 'DAHDI/43-1'
>> >
>> > MFC/R2 call end on channel 43
>> >
>> >     -- Hungup 'DAHDI/43-1'
>> >
>> > MFC/R2 call end on channel 11
>> >
>> > -------------------
>> >
>> > The channel 11 Log
>> >
>> > http://pastebin.com/CHGhMMe8
>> >
>> > How can I know why the answers doesn´t complete?
>> >
>> >
>> >
>> >
>> > ------------------------------------
>> >
>> > There are any documentation of what´s the X? or any about all parameters on
>> > file r2proto.conf
>> > 
>> (http://code.google.com/p/openr2/source/browse/branches/release-1-fwd-hang/do
>> c/r2proto.conf?spec=svn230&r=230)
>> >
>> >
>> >
>> > --
>> > Atentamente,
>> >
>> > Carlos Rodríguez Alcalá Villagra
>> >
>> >
>> > --
>> > _____________________________________________________________________
>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> >
>> > asterisk-r2 mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >   http://lists.digium.com/mailman/listinfo/asterisk-r2
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-r2



-- 
Atentamente,

Carlos Rodríguez Alcalá Villagra



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20120524/7c23ca8d/attachment.htm>


More information about the asterisk-r2 mailing list