Re: [asterisk-users] Queue - how to jump to next member after NO ANSWER?
On 23 July 2013 23:18, Shishir Pokharel shishir.pokha...@on24.com wrote: Read queue configuration esp. QEUUESTRATEGY and agent TIMEOUT. *From:* asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] *On Behalf Of *Jarek Jarzebowski *Sent:* Tuesday, July 23, 2013 3:04 PM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* [asterisk-users] Queue - how to jump to next member after NO ANSWER? ** ** Hi all, I have a Queue with 3 members: SIP/100 SIP/200 SIP/300 When call arrives SIP/100 is ringing.. After given timeout ringing stops but call is not routed to next member but SIP/100 starts ringing again.*** * I know that this is because SIP/100 is still available in the Queue but is it any way to make a Queue witch strategy: call SIP/100 - if it is BUSY, UNAVAILABLE, PAUSED or _NO_ANSWERED_ after given number of time - hump to the next member? Thanks in advance. Jarek -- _ This is in the queues.conf in 1.8 If you want the queue to avoid sending calls to members whose devices are known to be 'in use' (via the channel driver supporting that device state) uncomment this option. (Note: only the SIP channel driver currently is able to report 'in use'.) ringinuse = no -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, 2A ENTERPRISE HOUSE, LLOYD STREET NORTH, MANCHESTER SCIENCE PARK, MANCHESTER, M156SE COMPANY REG NO. 04920552 -- _ -- 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
Re: [asterisk-users] Meetme and maxusers option
On Fri, Jul 19, 2013 at 2:52 PM, Johan Wilfer li...@jttech.se wrote: 2013-07-19 15:35, Thiago Coutinho skrev: Hi all. I'm trying to limit the number of participants in a conference room with the realtime option maxusers, but it doesn't work. Someone have this option working properly? Try these: https://wiki.asterisk.org/wiki/display/AST/Function_GROUP https://wiki.asterisk.org/wiki/display/AST/Function_GROUP_COUNT This is how I do it. This way you can do it more flexible in the dialplan. 2013-07-22 16:59, Thiago Coutinho skrev: Hi Johan. But the option maxusers should work too, right? I guess so, but I have not used it myself. It's not very hard to build you own dialplan with func_odbc and custom tables. This way you could use Meetme, Confbridge, or something else to do the mixing. -- Johan Wilfer -- _ -- 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
[asterisk-users] Mysql Support int Asterik-11
Hi, I was having question about mysql driver support ( not odbc). Do we still need the asterisk-add-on to be installed for mysql support. If yes, Which version should be used and from where I should get it? Thanks in adavance. Thanks Regards, PrashantAbhang-- _ -- 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
Re: [asterisk-users] Mysql Support int Asterik-11
Why not use ODBC? Am 24.07.2013 13:41, schrieb Prashant Abhang: Hi, I was having question about mysql driver support ( not odbc). Do we still need the asterisk-add-on to be installed for mysql support. If yes, Which version should be used and from where I should get it? Thanks in adavance. Thanks Regards, PrashantAbhang -- _ -- 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
Re: [asterisk-users] Mysql Support int Asterik-11
I have done using odbc.. but I was curious to know ..whether it directly possible using mysql so I can avoid installation of unixodbc pkg. Thanks Regards, PrashantAbhang From: Thorsten Göllner t...@ovm-group.com To: Prashant Abhang abhang_prash...@yahoo.co.in; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, 24 July 2013 5:57 PM Subject: Re: [asterisk-users] Mysql Support int Asterik-11 Why not use ODBC? Am 24.07.2013 13:41, schrieb Prashant Abhang: Hi, I was having question about mysql driver support ( not odbc). Do we still need the asterisk-add-on to be installed for mysql support. If yes, Which version should be used and from where I should get it? Thanks in adavance. Thanks Regards, PrashantAbhang-- _ -- 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
Re: [asterisk-users] Mysql Support int Asterik-11
Hi Asterisk 1.6 and old versions, were using asterisk-addons, since asterisk 1.8 asterisk addon, is included in the asterisk code, you must select it in menu select. Kind Regards Carlos On Wed, Jul 24, 2013 at 8:36 AM, Prashant Abhang abhang_prash...@yahoo.co.in wrote: I have done using odbc.. but I was curious to know ..whether it directly possible using mysql so I can avoid installation of unixodbc pkg. Thanks Regards, Prashant Abhang -- *From:* Thorsten Göllner t...@ovm-group.com *To:* Prashant Abhang abhang_prash...@yahoo.co.in; Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com *Sent:* Wednesday, 24 July 2013 5:57 PM *Subject:* Re: [asterisk-users] Mysql Support int Asterik-11 Why not use ODBC? Am 24.07.2013 13:41, schrieb Prashant Abhang: Hi, I was having question about mysql driver support ( not odbc). Do we still need the asterisk-add-on to be installed for mysql support. If yes, Which version should be used and from where I should get it? Thanks in adavance. Thanks Regards, Prashant Abhang -- _ -- 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
[asterisk-users] What is my syntax error here?
I have thsi code in a dial plan. The purpose of which is to set distinctive ring tones for internal and transferred calls. exten = _.,1,Noop(CALLERID_ALL=${CALLERID(all)}) exten = _.,n,Set(CallerIDNum=${CALLERID(num)}) ; This just shows a list of interesting variables and their values ; Comment it out when finished debugging ;include = macro-dumpvars ;exten = _.,n,Macro(dumpvars) exten = _417XX,n,Set(AlertSnom=http://www.notused.com\;info=) ; alert-external, alert-group and alert-internal are ; Snom predefined values. exten = _417XX,n,Set(AlertExternalCall=alert-external) ; alert_internal_call and alert_internal_transfer are ; locally customised values exten = _417XX,n,Set(AlertInternalCall=alert_internal_call) exten = _417XX,n,Set(AlertInternalTransfer=alert_internal_transfer) exten = _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalTransfer}) exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) exten = _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalCall}) This works for internal calls but not transfers and it only works at all only because of the fall through structure. It contains this error that I do not understand: -- Executing [41720@from-internal:1] NoOp(SIP/41712-0548, CALLERID_ALL=James B Byrne 41712) in new stack -- Executing [41720@from-internal:2] Set(SIP/41712-0548, CallerIDNum=41712) in new stack -- Executing [41720@from-internal:3] Set(SIP/41712-0548, AlertSnom=http://www.notused.com;info=) in new stack -- Executing [41720@from-internal:4] Set(SIP/41712-0548, AlertExternalCall=alert-external) in new stack -- Executing [41720@from-internal:5] Set(SIP/41712-0548, AlertInternalCall=alert_internal_call) in new stack -- Executing [41720@from-internal:6] Set(SIP/41712-0548, AlertInternalTransfer=alert_internal_transfer) in new stack -- Executing [41720@from-internal:7] Set(SIP/41712-0548, __ALERT_INFO=http://www.notused.com;info=alert_internal_transfer) in new stack -- Executing [41720@from-internal:8] GotoIf(SIP/41712-0548, ) in new stack == Extension Changed 41712[ext-local] new state InUse for Notify User 41714 [2013-07-24 09:50:42] WARNING[10630][C-6b44]: pbx.c:11544 pbx_builtin_gotoif: Ignoring, since there is no variable to check [2013-07-24 09:50:42] WARNING[10630][C-6b44]: pbx.c:11544 pbx_builtin_gotoif: Ignoring, since there is no variable to check -- Executing [41720@from-internal:9] Set(SIP/41712-0548, __ALERT_INFO=http://www.notused.com;info=alert_internal_call) in new stack -- Executing [41720@from-internal:10] Goto(SIP/41712-0548, from-internal-original-override,41720,1) in new stack -- Goto (from-internal-original-override,41720,1) So my question is simple. What error in syntax have I committed here? I expect that CallerIDNum == 41712 in the check: exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) But I am getting a message say there is no variable to check. So what I have done that is wrong? -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 -- _ -- 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
Re: [asterisk-users] What is my syntax error here?
In article e31f701f427b0d2f49c266511b01abca.squir...@webmail.harte-lyne.ca, James B. Byrne byrn...@harte-lyne.ca wrote: I have thsi code in a dial plan. The purpose of which is to set distinctive ring tones for internal and transferred calls. exten = _.,1,Noop(CALLERID_ALL=${CALLERID(all)}) exten = _.,n,Set(CallerIDNum=${CALLERID(num)}) I believe _. is frowned upon because it can potentially match h, i, and so on. Use _X. instead, or just the full pattern of _417XX exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) But I am getting a message say there is no variable to check. So what I have done that is wrong? Is that step split into three lines in your dialplan? I think you might need to put it all on a single line. Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org -- _ -- 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
Re: [asterisk-users] What is my syntax error here?
Additional data: Arch = x86_64 OS = CentOS-6.4 (freepbx) Asterisk = 11.4 FreePBX = 2.11.0.4 -- Original Message -- Subject: What is my syntax error here? From:James B. Byrne byrn...@harte-lyne.ca Date:Wed, July 24, 2013 10:08 To: asterisk-users@lists.digium.com -- I have thsi code in a dial plan. The purpose of which is to set distinctive ring tones for internal and transferred calls. exten = _.,1,Noop(CALLERID_ALL=${CALLERID(all)}) exten = _.,n,Set(CallerIDNum=${CALLERID(num)}) ; This just shows a list of interesting variables and their values ; Comment it out when finished debugging ;include = macro-dumpvars ;exten = _.,n,Macro(dumpvars) exten = _417XX,n,Set(AlertSnom=http://www.notused.com\;info=) ; alert-external, alert-group and alert-internal are ; Snom predefined values. exten = _417XX,n,Set(AlertExternalCall=alert-external) ; alert_internal_call and alert_internal_transfer are ; locally customised values exten = _417XX,n,Set(AlertInternalCall=alert_internal_call) exten = _417XX,n,Set(AlertInternalTransfer=alert_internal_transfer) exten = _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalTransfer}) exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) exten = _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalCall}) This works for internal calls but not transfers and it only works at all only because of the fall through structure. It contains this error that I do not understand: -- Executing [41720@from-internal:1] NoOp(SIP/41712-0548, CALLERID_ALL=James B Byrne 41712) in new stack -- Executing [41720@from-internal:2] Set(SIP/41712-0548, CallerIDNum=41712) in new stack -- Executing [41720@from-internal:3] Set(SIP/41712-0548, AlertSnom=http://www.notused.com;info=) in new stack -- Executing [41720@from-internal:4] Set(SIP/41712-0548, AlertExternalCall=alert-external) in new stack -- Executing [41720@from-internal:5] Set(SIP/41712-0548, AlertInternalCall=alert_internal_call) in new stack -- Executing [41720@from-internal:6] Set(SIP/41712-0548, AlertInternalTransfer=alert_internal_transfer) in new stack -- Executing [41720@from-internal:7] Set(SIP/41712-0548, __ALERT_INFO=http://www.notused.com;info=alert_internal_transfer) in new stack -- Executing [41720@from-internal:8] GotoIf(SIP/41712-0548, ) in new stack == Extension Changed 41712[ext-local] new state InUse for Notify User 41714 [2013-07-24 09:50:42] WARNING[10630][C-6b44]: pbx.c:11544 pbx_builtin_gotoif: Ignoring, since there is no variable to check [2013-07-24 09:50:42] WARNING[10630][C-6b44]: pbx.c:11544 pbx_builtin_gotoif: Ignoring, since there is no variable to check -- Executing [41720@from-internal:9] Set(SIP/41712-0548, __ALERT_INFO=http://www.notused.com;info=alert_internal_call) in new stack -- Executing [41720@from-internal:10] Goto(SIP/41712-0548, from-internal-original-override,41720,1) in new stack -- Goto (from-internal-original-override,41720,1) So my question is simple. What error in syntax have I committed here? I expect that CallerIDNum == 41712 in the check: exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) But I am getting a message say there is no variable to check. So what I have done that is wrong? -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 -- _ -- 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
Re: [asterisk-users] What is my syntax error here?
On Wednesday 24 July 2013, James B. Byrne wrote: Additional data: Arch = x86_64 OS = CentOS-6.4 (freepbx) Asterisk = 11.4 FreePBX = 2.11.0.4 -- Original Message -- Subject: What is my syntax error here? From:James B. Byrne byrn...@harte-lyne.ca Date:Wed, July 24, 2013 10:08 To: asterisk-users@lists.digium.com -- I have thsi code in a dial plan. The purpose of which is to set distinctive ring tones for internal and transferred calls. exten = _.,1,Noop(CALLERID_ALL=${CALLERID(all)}) exten = _.,n,Set(CallerIDNum=${CALLERID(num)}) ; This just shows a list of interesting variables and their values ; Comment it out when finished debugging ;include = macro-dumpvars ;exten = _.,n,Macro(dumpvars) exten = _417XX,n,Set(AlertSnom=http://www.notused.com\;info=) ; alert-external, alert-group and alert-internal are ; Snom predefined values. exten = _417XX,n,Set(AlertExternalCall=alert-external) ; alert_internal_call and alert_internal_transfer are ; locally customised values exten = _417XX,n,Set(AlertInternalCall=alert_internal_call) exten = _417XX,n,Set(AlertInternalTransfer=alert_internal_transfer) exten = _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalTransfer}) exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) exten = _417XX,n,Set(__ALERT_INFO=${AlertSnom}${AlertInternalCall}) This works for internal calls but not transfers and it only works at all only because of the fall through structure. It contains this error that I do not understand: -- Executing [41720@from-internal:1] NoOp(SIP/41712-0548, CALLERID_ALL=James B Byrne 41712) in new stack -- Executing [41720@from-internal:2] Set(SIP/41712-0548, CallerIDNum=41712) in new stack -- Executing [41720@from-internal:3] Set(SIP/41712-0548, AlertSnom=http://www.notused.com;info=) in new stack -- Executing [41720@from-internal:4] Set(SIP/41712-0548, AlertExternalCall=alert-external) in new stack -- Executing [41720@from-internal:5] Set(SIP/41712-0548, AlertInternalCall=alert_internal_call) in new stack -- Executing [41720@from-internal:6] Set(SIP/41712-0548, AlertInternalTransfer=alert_internal_transfer) in new stack -- Executing [41720@from-internal:7] Set(SIP/41712-0548, __ALERT_INFO=http://www.notused.com;info=alert_internal_transfer) in new stack -- Executing [41720@from-internal:8] GotoIf(SIP/41712-0548, ) in new stack == Extension Changed 41712[ext-local] new state InUse for Notify User 41714 [2013-07-24 09:50:42] WARNING[10630][C-6b44]: pbx.c:11544 pbx_builtin_gotoif: Ignoring, since there is no variable to check [2013-07-24 09:50:42] WARNING[10630][C-6b44]: pbx.c:11544 pbx_builtin_gotoif: Ignoring, since there is no variable to check -- Executing [41720@from-internal:9] Set(SIP/41712-0548, __ALERT_INFO=http://www.notused.com;info=alert_internal_call) in new stack -- Executing [41720@from-internal:10] Goto(SIP/41712-0548, from-internal-original-override,41720,1) in new stack -- Goto (from-internal-original-override,41720,1) So my question is simple. What error in syntax have I committed here? I expect that CallerIDNum == 41712 in the check: exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) I think that bitwise-or | should be a boolean-or ||. And you may have one too many $[] constructs there. The way to check would be with a few NoOp() lines just above that one: exten = _417XX,n,NoOp($[${CallerIDNum} 41799]) exten = _417XX,n,NoOp($[${CallerIDNum} 41700]) exten = _417XX,n,NoOp($[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]) exten = _417XX,n,NoOp($[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]) exten = _417XX,n,NoOp($[$[${CallerIDNum} 41799] || $[${CallerIDNum} 41700]]) exten = _417XX,n,NoOp($[$[${CallerIDNum} 41799] || $[${CallerIDNum} 41700]]) Note that 0 or an empty string is false; anything else is true. But why do you even need to set things based on ${CallerIDNum} anyway? What's wrong with just using separate contexts for internal and inbound external calls, and hard-coding the setting of the alert there? -- AJS Answers come *after* questions. -- _ -- 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
Re: [asterisk-users] What is my syntax error here?
On Wed, July 24, 2013 10:33, James B. Byrne wrote: Additional data: Arch = x86_64 OS = CentOS-6.4 (freepbx) Asterisk = 11.4 FreePBX = 2.11.0.4 . . . So my question is simple. What error in syntax have I committed here? I expect that CallerIDNum == 41712 in the check: exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]]?notfromlocal:) But I am getting a message say there is no variable to check. So what I have done that is wrong? As suggested I made these additions to the dial plan: ; Line 8 exten = _417XX,n,NoOp($[${CallerIDNum} 41799]) ; Line 9 exten = _417XX,n,NoOp($[${CallerIDNum} 41700]) ; Line 10 exten = _417XX,n,NoOp($[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]) ; Line 11 exten = _417XX,n,NoOp($[${CallerIDNum} 41799] | $[${CallerIDNum} 41700]) ; Line 12 exten = _417XX,n,NoOp($[$[${CallerIDNum} 41799] || $[${CallerIDNum} 41700]]) ; Line 13 exten = _417XX,n,NoOp($[$[${CallerIDNum} 41799] || $[${CallerIDNum} 41700]]) ; Line 14 - original exten = _417XX,n,GotoIf( $[$[${CallerIDNum} 41799] || $[${CallerIDNum} 41700]]?notfromlocal:) Which changed nothing but the results did provide a clue. Taking the earlier suggestion I ensured that my original line did not contain line breaks, which I cannot reproduce in this email because of its length. However, putting everything on one line caused the missing variable error to disappear. exten = _417XX,n,GotoIf($[$[${CallerIDNum} 41799] || $[${CallerIDNum} 41700]]?notfromlocal:) Thank you both for the help. I much appreciate it. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 -- _ -- 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