Displaying 7 results from an estimated 7 matches for "set_context".
Did you mean:
sec_context
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...
2004 Jul 02
0
DISA and AGI: authenticate by caller ID? (resolved)
...$callerid = $1;
$query = "SELECT active FROM cids WHERE cid='$callerid'";
$sth = $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 ! :)...
2010 Feb 25
0
SocketError: getaddrinfo: Name or service not known --> error while running test case
...m::Client::Driver.new \
:host => "http://127.0.0.1",
:port => 4444,
:browser => "*firefox",
:url => "http://www.google.com/",
:timeout_in_second =>60
#start browser session
@selenium.start
@selenium.set_context("test1")
end
def teardown
@selenium.stop
assert_equal [], @verification_errors
end
Let me know if you need any other additional information. Thanks for
your help in advance :) ..
--
You received this message because you are subscribed to the Google Groups "Rub...
2001 Dec 13
2
Kernel crash on 2.4.16
...Trace; c0029c18 <do_generic_file_read+4d0/8b4>
Trace; c002a08c <generic_file_read+90/8bc>
Trace; c0045fc4 <kernel_read+58/354>
Trace; c00466a8 <prepare_binprm+100/114>
Trace; c0046dec <do_execve+17c/290>
Trace; c0006ed0 <start_thread+190/334>
Trace; c0003dfc <set_context+6c0/8f0>
Trace; 0000000c Before first symbol
Trace; 01812b7c Before first symbol
Trace; 01801e80 Before first symbol
Trace; 018021a4 Before first symbol
Trace; 018031a0 Before first symbol
Trace; 01804c00 Before first symbol
Trace; 01804fdc Before first symbol
Trace; 0180578c Before first symbol...
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
2011 Apr 09
1
asterisk-users Digest, Vol 81, Issue 27
.....
>>
>> [voicemail]
>> exten => a,1,VoiceMailMain(${MAILBOXID}@${MAILBOXCONTEXT},p)
>>
>> in AGI...
>>
>> $AGI->set_variable("MAILBOXID", $options);
>> $AGI->set_variable("MAILBOXCONTEXT","4");
>> $AGI->set_context("voicemail");
>> $AGI->exec("VoiceMail", $options);
>>
>> now the question is how to I get the VoiceMailMain to not ask for
>> "Mailbox"
>> and already know which mailbox and just prompt for "Password"
>>
>>
>&g...
2001 Feb 05
1
wine with TransGaming patch doesn't compile
...ing: data definition has no type or storage class
mesa_private.h:225: parse error before `}'
mesa_private.h:225: warning: type defaults to `int' in declaration of `mesa_d3dd_private'
mesa_private.h:225: warning: data definition has no type or storage class
d3ddevice/mesa.c: In function `set_context':
d3ddevice/mesa.c:99: `odev' undeclared (first use in this function)
d3ddevice/mesa.c:99: (Each undeclared identifier is reported only once
d3ddevice/mesa.c:99: for each function it appears in.)
d3ddevice/mesa.c:99: parse error before `)'
d3ddevice/mesa.c:100: parse error before `int...