Dear Asterisk users, I was wondering if anybody can tell me how to define a dial scheeme such that an incomming all first rings for e.g. 20 seconds on one set of phones and then after this time extends it's range onto a bigger set of phones. Basically, this is easy, I can do this in the "extensions.con" with [ISDN-in] exten=> 6201030,1,setcallerid("${CALLERID}" <${CALLERID}>|a) exten=> 6201030,2,dial,${UserGroup1}|20|t exten=> 6201030,3,dial,${UserGroup1&UserGroup2}|60|t exten=> 6201030,4,Voicemail2(u6201030) exten=> 6201030,5,hangup exten=> 6201030,302,Voicemail2(b6201030) But here is on major problem, in step 2, after 20 seconds, the call on the phones in Group1 will be terminated and then restarted in the bigger group (Group1&Group2). The problem with this is, during the transition is a time gap of a view seconds on the phones from Group1. That means, if I lift up the head set during this gape, then I can loos the calls on those phones. Hence, I was wondering if I can set the dial proceadure such, that I have the calls for 80 seconds on the phone Group1, and after 20 seconds additionally on the phone Group2 without any interruption of the ringing on the other phones. Best regards Georg P. Israel
In article <1115034601.6858.11.camel@zaphod.cmosvision.com>, Georg P. Israel <info@cmosvision.com> wrote:> Dear Asterisk users, > > I was wondering if anybody can tell me how to define a dial scheeme such > that an incomming all first rings for e.g. 20 seconds on one set of > phones and then after this time extends it's range onto a bigger set of > phones. > Basically, this is easy, > > I can do this in the "extensions.con" with > > > [ISDN-in] > exten=> 6201030,1,setcallerid("${CALLERID}" <${CALLERID}>|a) > exten=> 6201030,2,dial,${UserGroup1}|20|t > exten=> 6201030,3,dial,${UserGroup1&UserGroup2}|60|t > exten=> 6201030,4,Voicemail2(u6201030) > exten=> 6201030,5,hangup > exten=> 6201030,302,Voicemail2(b6201030) > > > But here is on major problem, > > in step 2, after 20 seconds, the call on the phones in Group1 will be > terminated and then restarted in the bigger group (Group1&Group2). > The problem with this is, during the transition is a time gap of a view > seconds on the phones from Group1. That means, if I lift up the head set > during this gape, then I can loos the calls on those phones. > > Hence, I was wondering if I can set the dial proceadure such, that I > have the calls for 80 seconds on the phone Group1, and after 20 seconds > additionally on the phone Group2 without any interruption of the ringing > on the other phones.I don't have a proven answer, but here is an idea to try: [ISDN-in] exten=> 6201030,1,SetCallerID("${CALLERID}" <${CALLERID}>|a) exten=> 6201030,2,Dial(${UserGroup1}&Local/${EXTEN}@ISDN-in-delayed|80|t) exten=> 6201030,3,Voicemail2(u6201030) exten=> 6201030,4,Hangup exten=> 6201030,302,Voicemail2(b6201030) [ISDN-in-delayed] exten=> 6201030,1,Wait(20) exten=> 6201030,2,Dial(${UserGroup2}|60|t) Cheers Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org
Here isa quick example, this rings the reception only for 10s and then rings reception and another phone for 15s and then finally the voicemail. ; Reception exten => 8900,1,Dial(SIP/crv_reception,10,Ttr) ; SIP - Reception exten => 8900,2,Dial(SIP/crv_reception&SIP/gayle,15,Ttr) exten => 8900,3,Voicemail(u8900) exten => 8900,4,Voicemail(b8900) Scott Henderson ===========================================================================Finite Technologies Incorporated 3763 Image Drive, Anchorage, Alaska 99504 Phone: 907.339.8085 ext 6101, Fax: 907.333.4482 http://www.finite-tech.com http://www.chillywall.com http://www.virtuale.cc http://www.mphage.com Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK =========================================================================== Georg P. Israel wrote:>Dear Asterisk users, > >I was wondering if anybody can tell me how to define a dial scheeme such >that an incomming all first rings for e.g. 20 seconds on one set of >phones and then after this time extends it's range onto a bigger set of >phones. >Basically, this is easy, > >I can do this in the "extensions.con" with > > >[ISDN-in] >exten=> 6201030,1,setcallerid("${CALLERID}" <${CALLERID}>|a) >exten=> 6201030,2,dial,${UserGroup1}|20|t >exten=> 6201030,3,dial,${UserGroup1&UserGroup2}|60|t >exten=> 6201030,4,Voicemail2(u6201030) >exten=> 6201030,5,hangup >exten=> 6201030,302,Voicemail2(b6201030) > > >But here is on major problem, > >in step 2, after 20 seconds, the call on the phones in Group1 will be >terminated and then restarted in the bigger group (Group1&Group2). >The problem with this is, during the transition is a time gap of a view >seconds on the phones from Group1. That means, if I lift up the head set >during this gape, then I can loos the calls on those phones. > >Hence, I was wondering if I can set the dial proceadure such, that I >have the calls for 80 seconds on the phone Group1, and after 20 seconds >additionally on the phone Group2 without any interruption of the ringing >on the other phones. > >Best regards > >Georg P. Israel > > > > >_______________________________________________ >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 > >