[Asterisk-Users] hangup lag causing the answering of already answered calls

Carey O'Shea carey at internode.on.net
Sat Jun 10 22:18:42 MST 2006


Does anyone have any ideas as to what can cause this large delay to stop
ringing?

It's quite a show stopper... imagine ringing a business and being
answered by 3 different people, one after the other, all talking over
the top of each other.

On Fri, 2006-06-09 at 15:12 +1000, Carey O'Shea wrote:
> Hi Undrhil,
> 
> A logical idea, but unfortunately adding it didn't change anything.
> 
> Two important points:
> (1) When I test this with just IAX endpoints, no Zap, the call is hungup
> immediately, (2) but the console still shows the user being called
> twice.
> 
> So as a wild guess, maybe the console logging twice is OK, and it's my
> Zap configuration?
> 
> * extensions.conf:
> [incoming]
> exten => s,1,Dial(IAX2/carey)
> exten => s,2,Hangup(IAX2/carey)
> 
> * zapata.conf:
> [channels]
> usecallerid=no
> signalling=fxs_ks
> context=incoming
> channel => 4 
> 
> * zaptel.conf
> loadzone=au
> defaultzone=au
> fxsks=4
> 
> * ztcfg -vv
> Channel 04: FXS Kewlstart (Default) (Slaves: 04)
> 1 channels configured.
> 
> I'm from Australia so I assume the loadzone and defaultzone is OK as per
> zaptel.c. Did not post iax.conf due to my SIP phones having the same
> behaviour, and IAX-to-IAX not exhibiting the problem.
> 
> 
> On Fri, 2006-06-09 at 04:54 +0000, undrhil.1528785 at bloglines.com wrote:
> > So, your dialplan for that incoming call is just the one line?
> > 
> > exten =>
> > s,1,Dial(IAX2/carey)
> > 
> > Nothing else?  Try adding a Hangup command on the
> > next priority and see if that helps any.
> > 
> > exten => s,2,Hangup
> > 
> > If you
> > already have a Hangup command in there, then I apologize for wasting your
> > time.  :)
> > 
> > Undrhil
> > 
> > --- Asterisk Users Mailing List - Non-Commercial Discussion
> > <asterisk-users at lists.digium.com wrote:
> > I have a TDM-400P with one FXO module.
> > On an incoming call, I have set
> > > Asterisk to dial my phone (exten => s,1,Dial(IAX2/carey)),
> > which is
> > > basically the only thing in my dialplan.
> > > 
> > > When the call
> > is answered by the PSTN phone first, or when the ringing
> > > call is hung up,
> > Asterisk keeps ringing for 5+ seconds, which causes
> > > trouble (the answering
> > of already answered calls).
> > > 
> > > I noticed in the Asterisk console that
> > my phone is called twice every
> > > time there is an incoming call. Is this
> > normal, and could it be causing
> > > this behaviour?
> > > 
> > > If not, any ideas
> > as to what could be causing this? I can provide full
> > > debug logs and my
> > relevant configuration if needed.
> > > 
> > > Console log:
> > > 
> > >     -- Starting
> > simple switch on 'Zap/4-1'
> > >     -- Executing Dial("Zap/4-1", "IAX2/carey")
> > in new stack
> > >     -- Called carey
> > >     -- Starting simple switch on 'Zap/4-1'
> > 
> > >     -- Executing Dial("Zap/4-1", "IAX2/carey") in new stack
> > >     -- Called
> > carey
> > >     -- Call accepted by 10.0.12.102 (format ulaw)
> > >     -- Format
> > for call is ulaw
> > >     -- Call accepted by 10.0.12.102 (format ulaw)
> > > 
> >    -- Format for call is ulaw
> > >     -- IAX2/carey-1 is ringing
> > >     --
> > IAX2/carey-1 is ringing
> > >     -- Hungup 'IAX2/carey-1'
> > >   == Spawn extension
> > (incoming, s, 1) exited non-zero on 'Zap/4-1'
> > >     -- Hungup 'Zap/4-1'
> > >     -- Hungup 'IAX2/carey-1'
> > >   == Spawn extension (incoming, s, 1) exited
> > non-zero on 'Zap/4-1'
> > >     -- Hungup 'Zap/4-1'
> > > 
> > > 
> > > _______________________________________________
> > 
> > > --Bandwidth and Colocation provided by Easynews.com --
> > > 
> > > Asterisk-Users
> > mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > > 
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> > 
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list