Hi, I just wanted to clear a doubt I had. In a SIP trunk, will it show "OK" status even if only one side of the SIP trunk is configured when we do " sip show peers " ?? If yes, is there any other way to make sure that the trunk is ready for making calls?? [?] Last day we had a situation here at my Office. There was a fiber cut around our area and one of our leased lines went down. We changed to our secondary line and had to inform our SIP Trunk provider to make the corresponding changes in IP at their end. But even before they did that my trunk status was showing OK and this caused us a lot of confusion. Thank You. [?] Najim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110915/0855ce3d/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 611 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110915/0855ce3d/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 612 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110915/0855ce3d/attachment-0001.png>
Danny Nicholas
2011-Sep-14 20:32 UTC
[asterisk-users] Confusion with the status of SIP Trunk
If you use qualify=yes, you should only get OK when the line is functional. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of NaJIm Sent: Wednesday, September 14, 2011 3:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Confusion with the status of SIP Trunk Hi, I just wanted to clear a doubt I had. In a SIP trunk, will it show "OK" status even if only one side of the SIP trunk is configured when we do " sip show peers " ?? If yes, is there any other way to make sure that the trunk is ready for making calls?? Description: cid:gtalk.323 at goomoji.gmail Last day we had a situation here at my Office. There was a fiber cut around our area and one of our leased lines went down. We changed to our secondary line and had to inform our SIP Trunk provider to make the corresponding changes in IP at their end. But even before they did that my trunk status was showing OK and this caused us a lot of confusion. Thank You. Description: cid:gtalk.330 at goomoji.gmail Najim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110914/677acba3/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 612 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110914/677acba3/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 611 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110914/677acba3/attachment-0001.png>
Oh.. thank you. That could be the reason. Let me try that. But In fact, I thought qualify = yes is used to send some thing like *keep alive* packets in an already connected trunk to make sure the trunk is still alive. In my case the trunk was completely down, and then it was showing status OK as soon as the Internet came up. Regards, Najim On Thu, Sep 15, 2011 at 2:02 AM, Danny Nicholas <danny at debsinc.com> wrote:> If you use qualify=yes, you should only get OK when the line is functional. > **** > > ** ** > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *NaJIm > *Sent:* Wednesday, September 14, 2011 3:29 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* [asterisk-users] Confusion with the status of SIP Trunk**** > > ** ** > > Hi,**** > > ** ** > > I just wanted to clear a doubt I had. In a SIP trunk, will it show "OK" > status even if only one side of the SIP trunk is configured when we do " sip > show peers " ?? **** > > If yes, is there any other way to make sure that the trunk is ready for > making calls?? [image: Description: cid:gtalk.323 at goomoji.gmail]**** > > ** ** > > Last day we had a situation here at my Office. There was a fiber cut around > our area and one of our leased lines went down. We changed to our secondary > line and had to inform our SIP Trunk provider to make the corresponding > changes in IP at their end.**** > > But even before they did that my trunk status was showing OK and this > caused us a lot of confusion. **** > > ** ** > > Thank You. [image: Description: cid:gtalk.330 at goomoji.gmail]**** > > Najim**** > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > 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/20110915/edceae1b/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 612 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110915/edceae1b/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 611 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110915/edceae1b/attachment-0001.png>
Danny Nicholas
2011-Sep-14 21:20 UTC
[asterisk-users] Confusion with the status of SIP Trunk
KA packets is one (perhaps the stated) function. But, in my experience, you can "run" a "dead" SIP line with qualify=no. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of NaJIm Sent: Wednesday, September 14, 2011 4:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Confusion with the status of SIP Trunk Oh.. thank you. That could be the reason. Let me try that. But In fact, I thought qualify = yes is used to send some thing like keep alive packets in an already connected trunk to make sure the trunk is still alive. In my case the trunk was completely down, and then it was showing status OK as soon as the Internet came up. Regards, Najim On Thu, Sep 15, 2011 at 2:02 AM, Danny Nicholas <danny at debsinc.com> wrote: If you use qualify=yes, you should only get OK when the line is functional. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of NaJIm Sent: Wednesday, September 14, 2011 3:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Confusion with the status of SIP Trunk Hi, I just wanted to clear a doubt I had. In a SIP trunk, will it show "OK" status even if only one side of the SIP trunk is configured when we do " sip show peers " ?? If yes, is there any other way to make sure that the trunk is ready for making calls?? Description: cid:gtalk.323 at goomoji.gmail Last day we had a situation here at my Office. There was a fiber cut around our area and one of our leased lines went down. We changed to our secondary line and had to inform our SIP Trunk provider to make the corresponding changes in IP at their end. But even before they did that my trunk status was showing OK and this caused us a lot of confusion. Thank You. Description: cid:gtalk.330 at goomoji.gmail Najim -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list 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/20110914/d054446a/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 612 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110914/d054446a/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 611 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110914/d054446a/attachment-0001.png>