Hi all, I am using Asterisk CVS, and I am getting a huge delay in dialing SIP. This Asterisk box is taking calls from a PABX over ZAP, then dialing SIP users. So, a user '0251' dials from his phone, the PABX sends it the my Asterisk box, no delay, then I get a 15 sec delay, before it actually dials the end SIP user. 1 -- Accepting call from '0251' to '0834541083' on channel 0/1, span 2 -- Executing NoOp("Zap/1-1", "0834541083") in new stack 3 -- Executing Answer("Zap/1-1", "") in new stack 4 -- Executing Dial("Zap/1-1","SIP/0834541083@192.168.11.111:5060")in 5 new stack 6 -- Called 0834541083@192.168.11.111:5060 7 -- SIP/192.168.11.111:5060-1699 is ringing 8 -- SIP/192.168.11.111:5060-1699 is ringing 9 -- SIP/192.168.11.111:5060-1699 is ringing When the call is placed, Asterisk executes until Line 5. There is a 10 -15 sec delay between Line 5 and Line 6. Once Line 6 has executed, only then does it dial Can anyone help yusuf
Hi, Try taking out "Answer" in your extensions.conf. You don't need to answer before dialing a SIP channel. cheers. AK On 9/28/05, yusuf <yusuf@ecntelecoms.com> wrote:> > Hi all, > > I am using Asterisk CVS, and I am getting a huge delay in dialing SIP. > This Asterisk box is taking calls from a PABX over ZAP, then dialing SIP > users. > So, a user '0251' dials from his phone, the PABX sends it the my > Asterisk box, no delay, then I get a 15 sec delay, before it actually > dials the end SIP user. > > 1 -- Accepting call from '0251' to '0834541083' on channel 0/1, span > 2 -- Executing NoOp("Zap/1-1", "0834541083") in new stack > 3 -- Executing Answer("Zap/1-1", "") in new stack > 4 -- Executing Dial("Zap/1-1","SIP/0834541083@192.168.11.111:5060")in > 5 new stack > 6 -- Called 0834541083@192.168.11.111:5060 > 7 -- SIP/192.168.11.111:5060-1699 is ringing > 8 -- SIP/192.168.11.111:5060-1699 is ringing > 9 -- SIP/192.168.11.111:5060-1699 is ringing > > > When the call is placed, Asterisk executes until Line 5. There is a 10 > -15 sec delay between Line 5 and Line 6. Once Line 6 has executed, only > then does it dial > > Can anyone help > > yusuf > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050928/28e8d9f2/attachment.htm
On Wed, 28 Sep 2005, yusuf wrote:> I am using Asterisk CVS, and I am getting a huge delay in dialing SIP. > This Asterisk box is taking calls from a PABX over ZAP, then dialing SIP > users. > So, a user '0251' dials from his phone, the PABX sends it the my > Asterisk box, no delay, then I get a 15 sec delay, before it actually > dials the end SIP user. > > 1 -- Accepting call from '0251' to '0834541083' on channel 0/1, span > 2 -- Executing NoOp("Zap/1-1", "0834541083") in new stack > 3 -- Executing Answer("Zap/1-1", "") in new stack > 4 -- Executing Dial("Zap/1-1","SIP/0834541083@192.168.11.111:5060")in > 5 new stack > 6 -- Called 0834541083@192.168.11.111:5060 > 7 -- SIP/192.168.11.111:5060-1699 is ringing > 8 -- SIP/192.168.11.111:5060-1699 is ringing > 9 -- SIP/192.168.11.111:5060-1699 is ringing > 0834541083 > > When the call is placed, Asterisk executes until Line 5. There is a 10 > -15 sec delay between Line 5 and Line 6. Once Line 6 has executed, only > then does it dialHi Yusuf, Hope you are well. I think this is a DNS issue. You're dialling a full SIP address. The time delay could perhaps be taken up by the Asterisk SIP code doing a DNS lookup for srv records, in combination perhaps with broken DNS setup on the machine? In your sip.conf, try setting srvlookup=no. It may also be that the peer system is doing some sort of reverse DNS lookup and that is causing the delay. I guess I'm generally suggesting that if the srvlookup change doesn't fix the problem, then you need to look at DNS. Regards, Steve Davies
I found an old article in the mailing list (Jan 2005) but it seemed to just end, no resolution. Also found a bug on the digium reporting site, no real help there. I am running Asterisk 1.0.9 on Fedora Core 4 using Diax v0.9.15a one instance of Diax is on the same network as * the other is remote. we are experiencing about a 6-8second delay. I read about it possibly being timestamps on the packets, I did an ethereal dump but really have little idea what I am looking at. Any thoughts/ideas/suggestions would be appreciated. Shawn
Hi, The only reason I have an 'Answer' is because of the delay, the PBX cuts the call even before the SIP starts ringing, so the call is half only, i.e the SIP user answers but the PBX has already dropped the call. So the Answer stopped this from happening. I still need help on the delay> Hi, > Try taking out "Answer" in your extensions.conf. > You don't need to answer before dialing a SIP channel. > cheers. > AK > > > On 9/28/05, yusuf <yusuf@ecntelecoms.com> wrote: > >>Hi all, >> >>I am using Asterisk CVS, and I am getting a huge delay in dialing SIP. >>This Asterisk box is taking calls from a PABX over ZAP, then dialing SIP >>users. >>So, a user '0251' dials from his phone, the PABX sends it the my >>Asterisk box, no delay, then I get a 15 sec delay, before it actually >>dials the end SIP user. >> >>1 -- Accepting call from '0251' to '0834541083' on channel 0/1, span >>2 -- Executing NoOp("Zap/1-1", "0834541083") in new stack >>3 -- Executing Answer("Zap/1-1", "") in new stack >>4 -- Executing Dial("Zap/1-1","SIP/0834541083@192.168.11.111:5060")in >>5 new stack >>6 -- Called 0834541083@192.168.11.111:5060 >>7 -- SIP/192.168.11.111:5060-1699 is ringing >>8 -- SIP/192.168.11.111:5060-1699 is ringing >>9 -- SIP/192.168.11.111:5060-1699 is ringing >> >> >>When the call is placed, Asterisk executes until Line 5. There is a 10 >>-15 sec delay between Line 5 and Line 6. Once Line 6 has executed, only >>then does it dial >> >>Can anyone help >> >>yusuf