Rizwan Hisham
2008-May-19 10:59 UTC
[asterisk-users] where did the switch statement come from?
Hi all, I have looked up the applications and function in asterisk but i could not find the help for the switch statement which is used in several places in sample extensions.conf file. i am using asterisk 1.4.2. On voip-info.org the switch statement seems to be used to connect 2 asterisk servers, but i could not find a satisfactory explanation for the this statement. Can anybody help me understand the switch statement? -- Best Regards Rizwan Hisham -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080519/dc37e4b0/attachment.htm
Alexander Lopez
2008-May-19 11:37 UTC
[asterisk-users] where did the switch statement come from?
The switch statement allows you to 'include' a context from another machine into your machine. Problems with it was if the other machine was unavailable, or even slow to respond, your machine would hang until it timed out. DUNDI has since replaced the functionality of the switch statement and given you so much more in return ________________________________ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Rizwan Hisham Sent: Monday, May 19, 2008 6:59 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] where did the switch statement come from? Hi all, I have looked up the applications and function in asterisk but i could not find the help for the switch statement which is used in several places in sample extensions.conf file. i am using asterisk 1.4.2. On voip-info.org the switch statement seems to be used to connect 2 asterisk servers, but i could not find a satisfactory explanation for the this statement. Can anybody help me understand the switch statement? -- Best Regards Rizwan Hisham -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080519/06438181/attachment.htm