Re: [asterisk-users] Escalate Call To Mobile
You Dont Have A Priority 1 And You Have Priority 2 Twice On 12/24/06, Charlie Grosvenor [EMAIL PROTECTED] wrote: I am using Voip Talk and have my extensions.conf set up to make outgoing calls: exten = _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1}) exten = _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2}) exten = _09XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) What I want to do is have extension 2000 first try and call me on extension 5000 then if nobody has answered after five rings call me on my mobile (number 07944123123 (not my real number)) if nobody then answers after 3 rings goto voicemail. exten = 2000,2,Dial(SIP/5000,5) exten = 2000,2,Dial(IAX2/[EMAIL PROTECTED]/447944123123,3) exten = 2000,3,Voicemail,b5000 exten = 2000,103,Voicemail,u5000 This is not working. Can somebody tell me what I am doing wrong? Thanks ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Escalate Call To Mobile
C F wrote: You Dont Have A Priority 1 And You Have Priority 2 Twice Also, the timeout param is number of seconds, not number of rings. On 12/24/06, Charlie Grosvenor [EMAIL PROTECTED] wrote: I am using Voip Talk and have my extensions.conf set up to make outgoing calls: exten = _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1}) exten = _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2}) exten = _09XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) What I want to do is have extension 2000 first try and call me on extension 5000 then if nobody has answered after five rings call me on my mobile (number 07944123123 (not my real number)) if nobody then answers after 3 rings goto voicemail. exten = 2000,2,Dial(SIP/5000,5) exten = 2000,2,Dial(IAX2/[EMAIL PROTECTED]/447944123123,3) exten = 2000,3,Voicemail,b5000 exten = 2000,103,Voicemail,u5000 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Escalate Call To Mobile
Also the timeout to Dial is in SECONDS, not RINGS. In the USA a ring cycle is about 6 seconds. C F wrote: You Dont Have A Priority 1 And You Have Priority 2 Twice On 12/24/06, Charlie Grosvenor [EMAIL PROTECTED] wrote: I am using Voip Talk and have my extensions.conf set up to make outgoing calls: exten = _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1}) exten = _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2}) exten = _09XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) What I want to do is have extension 2000 first try and call me on extension 5000 then if nobody has answered after five rings call me on my mobile (number 07944123123 (not my real number)) if nobody then answers after 3 rings goto voicemail. exten = 2000,2,Dial(SIP/5000,5) exten = 2000,2,Dial(IAX2/[EMAIL PROTECTED]/447944123123,3) exten = 2000,3,Voicemail,b5000 exten = 2000,103,Voicemail,u5000 This is not working. Can somebody tell me what I am doing wrong? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Escalate Call To Mobile
Thanks, this it seems was what the problem was. Is it possible to specify number of rings instead of timeout in seconds? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric ManxPower Wieling Sent: 24 December 2006 14:36 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Escalate Call To Mobile Also the timeout to Dial is in SECONDS, not RINGS. In the USA a ring cycle is about 6 seconds. C F wrote: You Dont Have A Priority 1 And You Have Priority 2 Twice On 12/24/06, Charlie Grosvenor [EMAIL PROTECTED] wrote: I am using Voip Talk and have my extensions.conf set up to make outgoing calls: exten = _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1}) exten = _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2}) exten = _09XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) What I want to do is have extension 2000 first try and call me on extension 5000 then if nobody has answered after five rings call me on my mobile (number 07944123123 (not my real number)) if nobody then answers after 3 rings goto voicemail. exten = 2000,2,Dial(SIP/5000,5) exten = 2000,2,Dial(IAX2/[EMAIL PROTECTED]/447944123123,3) exten = 2000,3,Voicemail,b5000 exten = 2000,103,Voicemail,u5000 This is not working. Can somebody tell me what I am doing wrong? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Escalate Call To Mobile
Thanks, this it seems was what the problem was. Is it possible to specify number of rings instead of timeout in seconds? Short answer: no. Longer answer: kind of. As alluded to here: Also the timeout to Dial is in SECONDS, not RINGS. In the USA a ring cycle is about 6 seconds. You can approximate how many rings have happened. But, the indication that is sent to you (the ring you hear when you are calling someone) isn't synced with ringing of the target phone (which has to do with the far end ring generator, if I recall right), there is no way to be sure. So, at the end of six seconds of ringing, you are sure that the phone has rung at least once. It might not have started until late in the cycle, or you might have caught the tail end of one cycle and it's already starting to ring a second time. So, if you wanted to make sure it rings 5 times (in the USA), you have to let it ring for a minimum of 30 seconds. If it's easier, you could set this up as a variable called RINGCYCLE and just multiply your rings by it, like so: exten = _NXXNXX,1,SetVar(RINGCYCLE=6) exten = _NXXNXX,2,Dial(Sip/Provider/{EXTEN},$[${RINGCYCLE}*2]) (I think you could make RINGCYCLE a global var, but check to be sure). Hope that helps, J. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users