Marcello Lupo
2004-Sep-30 08:09 UTC
[Asterisk-Users] Ring Multiple SIP client at the same time
Hi, i read the * support ringing multiple devices at the same time, i inserted this line on my configuration on default context: exten => s,1,Dial(SIP/260&SIP/261&SIP/262&SIP/263|30) exten => s,2,Voicemail,u260 exten => s,3,Hangup And i have both 4 clients in sip.conf . The problem is that if i call it fall immediately in the Voicemail if the client 260 is not registered . Do you know if there is a way to avoid that and let the system do it only if all of 4 clients are not reachable?? Thanks, BYe, Marcello
William Suffill
2004-Sep-30 10:35 UTC
[Asterisk-Users] Ring Multiple SIP client at the same time
You would have to use DBGet to make sure you have a sip registry for 260,261,262,263 On Thu, 30 Sep 2004 17:09:55 +0200, Marcello Lupo <lupo@itspecialist.it> wrote:> Hi, > i read the * support ringing multiple devices at the same time, i inserted > this line on my configuration on default context: > > exten => s,1,Dial(SIP/260&SIP/261&SIP/262&SIP/263|30) > exten => s,2,Voicemail,u260 > exten => s,3,Hangup > > And i have both 4 clients in sip.conf . > The problem is that if i call it fall immediately in the Voicemail if the > client 260 is not registered . > Do you know if there is a way to avoid that and let the system do it only if > all of 4 clients are not reachable?? > Thanks, > BYe, > Marcello > > _______________________________________________ > 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 >
Race Vanderdecken
2004-Sep-30 11:41 UTC
[Asterisk-Users] Ring Multiple SIP client at the same time
Greetings, Try putting a 'invalid extension' handler in the dial plan context exten => i,1,Wait(35) [example] exten => s,1,Dial(SIP/260&SIP/261&SIP/262&SIP/263|30) exten => s,2,Voicemail,u260 exten => s,3,Hangup exten => i,1,Wait(35) [x] ... it gives a place for the invalid dial attempt to go instead of just falling through. The invalid extensions would be put to sleep while the others ring through. Or at least that is the plan. Race Vanderdecken -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Marcello Lupo Sent: Thursday, September 30, 2004 11:10 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Ring Multiple SIP client at the same time Hi, i read the * support ringing multiple devices at the same time, i inserted this line on my configuration on default context: exten => s,1,Dial(SIP/260&SIP/261&SIP/262&SIP/263|30) exten => s,2,Voicemail,u260 exten => s,3,Hangup And i have both 4 clients in sip.conf . The problem is that if i call it fall immediately in the Voicemail if the client 260 is not registered . Do you know if there is a way to avoid that and let the system do it only if all of 4 clients are not reachable?? Thanks, BYe, Marcello _______________________________________________ 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
Kristian Kielhofner
2004-Sep-30 11:42 UTC
[Asterisk-Users] Ring Multiple SIP client at the same time
Marcello Lupo wrote:> Hi, > i read the * support ringing multiple devices at the same time, i inserted > this line on my configuration on default context: > > exten => s,1,Dial(SIP/260&SIP/261&SIP/262&SIP/263|30) > exten => s,2,Voicemail,u260 > exten => s,3,Hangup > > And i have both 4 clients in sip.conf . > The problem is that if i call it fall immediately in the Voicemail if the > client 260 is not registered . > Do you know if there is a way to avoid that and let the system do it only if > all of 4 clients are not reachable?? > Thanks, > BYe, > Marcello >Look at queues. -- Kristian Kielhofner
Ryan Courtnage
2004-Sep-30 13:02 UTC
[Asterisk-Users] Ring Multiple SIP client at the same time
> exten => s,1,Dial(SIP/260&SIP/261&SIP/262&SIP/263|30) > exten => s,2,Voicemail,u260 > exten => s,3,Hangup > > And i have both 4 clients in sip.conf . > The problem is that if i call it fall immediately in the Voicemail if the > client 260 is not registered .This should work, I do it all the time. ie: Dial(SIP/204&SIP/206&SIP/199|15|tr) ...where SIP/204 and SIP/199 are _not_ registered. SIP/206 will ring for 15 seconds. I don't use any dbget logic nor do I use an invalid extension handler. My context is as simple as your's. What version of * are you using? I'm on 1.0-RC2. Ryan