search for: set_priority

Displaying 9 results from an estimated 9 matches for "set_priority".

2003 Oct 23
1
agi script forcing asterisk reload
Hi. I am using #include to include a file in extensions.conf. I have an agi perl script which modifies the #included file and then forces an asterisk reload with 'system("asterisk -rx reload")'; After the reload I use set_context, set_extension and set_priority to tell asterisk where I want it to carry on from which is line 2 of the following. exten => *80,1,AGI(bla.pl, ${EXTEN}) exten => *80,2,Background(please_wait_while) exten => *80,3,Hangup This works some of the time. However at other times the sip channel remains active and somehow aster...
2006 May 11
10
MeetME Conferencing
Can anyone point me to a sample or information on using MeetMe like this? Conference room is set up with 2 PINs, one for the moderator and one for the participants. Participants get music until the moderator joins (to avoid wild, un-moderated tangents). Call is ended and all participants are kicked out when the moderator leaves (or the moderator can kick everyone out via phone keypad).
2003 Oct 29
1
AGI question or something
Sorry for asking this question again but before I blow 100 dollars on a X100P I need to know this info: So does "SET EXTENSION <new extension>" allow for you to set which extension the rest of the call will occur over? So if a call comes into the switch and I could make the AGI script check the DID or DNIS which is really in the variable agi_dnid? After that I can do a database
2003 Nov 11
0
Help with include files & current CVS
...IR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -c -o asterisk.o asterisk.c asterisk.c: In function `set_priority': asterisk.c:377: storage size of `sched' isn't known asterisk.c:384: warning: implicit declaration of function `sched_setscheduler' asterisk.c:384: `SCHED_RR' undeclared (first use in this function) asterisk.c:384: (Each undeclared identifier is reported only once asterisk.c:3...
2004 Jul 02
0
DISA and AGI: authenticate by caller ID? (resolved)
...$dbh->prepare($query); $sth->execute(); $active = $sth->fetchrow_hashref(); if ($active->{"active"}) { $AGI->set_context('ldincoming'); $AGI->set_extension('1011'); $AGI->set_priority(1); exit; } } # if we got here, there was no match found [auth failed], so play a message saying so # you could also log all auth failed [with caller ID ! :) ] # you could also transfer caller to an operator $AGI->stream_file('invalid'); $AGI->hangup(); exit...
2003 Aug 28
1
Problems with TDM400P & X100P
...put{"extension"}; substr($extension, 0, 1) = ''; if ( -e "/var/lock/LCK..ttyS1" ) { $AGI->stream_file('internet_busy'); $response = chr($AGI->wait_for_digit('5000')); if ($response ne "2") { $AGI->set_priority(99); exit; } } system ("/bin/killall diald"); sleep 3; $AGI->exec('Dial', "Zap/5/$extension"); system ("/usr/sbin/diald"); --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design so...
2004 Jul 01
2
DISA and AGI: authenticate by caller ID?
I'm having trouble getting an AGI exec command to spawn app_disa. The script executes properly, but does not spawn DISA. The CLI gives no helpful clues. Am I doing the exec incorrectly? I want to have a way to authenticate callers to the extension by Caller ID... if their caller ID is in my database and set to active, they can call out. [like a calling card but auth'd by CID instead
2006 Mar 16
4
SOMEONE HAS TO KNOW HOW TO DO THIS
I''ve got my site posting comments with ajax, but I can''t seem to handle the callback correctly. Do I just put what I want returned in the "comments.rhtml" file? I''ve been trying to do this, but am having no luck. If I have the parameters for the comments, I should be able to single them out, but I''m not sure how to do it. This is what I mean:
2014 Jul 11
0
Wine release 1.7.22
...lemented Sgn. Stefan D?singer (8): wined3d: Set palettes on the swapchain. wined3d: Do not write a FIXME about WINED3DUSAGE_WRITEONLY. ddraw: Refuse SetPalette and GetPalette on lost surfaces. d3d9: Ignore SetPriority and GetPriority calls on surfaces. wined3d: Ignore set_priority calls on non-managed resources. d3d9/tests: Add a test for SetPriority and GetPriority. d3d8/tests: Add a test for SetPriority and GetPriority. d3d9/tests: Fix some ok() call style issues. Vincent Povirk (7): ole32: Simplify the FileMonikerImpl_BindToStorage code. win...