hi all, I want have an information about ring group in asterisk (1.8.16 - centos 6.3) I have configured skypeforasterisk for incoming call to one extension and it works now,my chan_skype.conf is: [general] default_user=user-skype [user-skype] secret=xxxxxxxxx context=from-skype exten=9999 disallow=all allow=ulaw allow=alaw my extensions.conf: [from-skype] exten => 9999,1,Verbose(2,Incoming Skype Call) same => n,Answer() same => n,Dial(SIP/1000&SIP/2000&SIP/3000,30) same => n,Playback(user&is-curntly-unavail) same => n,Hangup() at right time the internal ring are 1000, 2000 and 3000 I have the extension from 1000 to 1005, 2000 to 2005 and from 3000 to 3005 I can ring him all? I can group the configuration into a single string? let me know something thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121205/2eb9f029/attachment.htm>
You can dial all the extensions at once, putting all them in the dial string, separated by &. There is no other method. Leandro 2012/12/5 Paolo De Michele <paolo at paolodemichele.it>> hi all, > > I want have an information about ring group in asterisk (1.8.16 - centos > 6.3) > I have configured skypeforasterisk for incoming call to one extension and > it works > > now,my chan_skype.conf is: > > [general] > > default_user=user-skype > > [user-skype] > secret=xxxxxxxxx > context=from-skype > exten=9999 > disallow=all > allow=ulaw > allow=alaw > > my extensions.conf: > > [from-skype] > > exten => 9999,1,Verbose(2,Incoming Skype Call) > same => n,Answer() > same => n,Dial(SIP/1000&SIP/2000&SIP/3000,30) > same => n,Playback(user&is-curntly-unavail) > same => n,Hangup() > > at right time the internal ring are 1000, 2000 and 3000 > I have the extension from 1000 to 1005, 2000 to 2005 and from 3000 to 3005 > I can ring him all? I can group the configuration into a single string? > > let me know something > thanks in advance > > > > > -- > _____________________________________________________________________ > -- 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/20121205/d9360843/attachment.htm>
Maybe, You can do that, with queues, and ringall strategy. On Wed, Dec 5, 2012 at 4:53 PM, Leandro Dardini <ldardini at gmail.com> wrote:> You can dial all the extensions at once, putting all them in the dial > string, separated by &. There is no other method. > > Leandro > > 2012/12/5 Paolo De Michele <paolo at paolodemichele.it> > >> hi all, >> >> I want have an information about ring group in asterisk (1.8.16 - centos >> 6.3) >> I have configured skypeforasterisk for incoming call to one extension and >> it works >> >> now,my chan_skype.conf is: >> >> [general] >> >> default_user=user-skype >> >> [user-skype] >> secret=xxxxxxxxx >> context=from-skype >> exten=9999 >> disallow=all >> allow=ulaw >> allow=alaw >> >> my extensions.conf: >> >> [from-skype] >> >> exten => 9999,1,Verbose(2,Incoming Skype Call) >> same => n,Answer() >> same => n,Dial(SIP/1000&SIP/2000&SIP/3000,30) >> same => n,Playback(user&is-curntly-unavail) >> same => n,Hangup() >> >> at right time the internal ring are 1000, 2000 and 3000 >> I have the extension from 1000 to 1005, 2000 to 2005 and from 3000 to 3005 >> I can ring him all? I can group the configuration into a single string? >> >> let me know something >> thanks in advance >> >> >> >> >> -- >> _____________________________________________________________________ >> -- 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 >> > > > -- > _____________________________________________________________________ > -- 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/20121205/d2716eb5/attachment.htm>
On Wednesday 05 December 2012, Paolo De Michele wrote:> hi all, > > I want have an information about ring group in asterisk (1.8.16 - centos > 6.3) > I have configured skypeforasterisk for incoming call to one extension > and it works > ..... [stuff deleted] ..... > at right time the internal ring are 1000, 2000 and 3000 > I have the extension from 1000 to 1005, 2000 to 2005 and from 3000 to 3005 > I can ring him all? I can group the configuration into a single string?If you need to ring groups of phones, try something like [globals] ONES=SIP/1000&SIP/1001&SIP/1002&SIP/1003&SIP/1004&SIP/1005 TWOS=SIP/2000&SIP/2001&SIP/2002&SIP/2003&SIP/2004&SIP/2005 THREES=SIP/3000&SIP/3001&SIP/3002&SIP/3003&SIP/3004&SIP/3005 [some-context] exten => 4000,1,Dial(${ONES}&${TWOS}&${THREES}) exten => 4000,n,Hangup() That should make things more manageable. Also: Be sure to use *meaningful* variable names! If your numbers are split according to department (management, accounts, sales, purchasing, lab, qa, factory floor, training, &c.) then name your groups accordingly. If you get your dialplan right, you won't have to touch it for ages; and when you come back to have to edit it, you'll forget what anything was for. -- AJS Answers come *after* questions.