Displaying 4 results from an estimated 4 matches for "test_context".
2010 May 26
2
Getting 'username' of sip peer
Hello,
I have a few entries for sip peers in sip.conf with different name and
username, like
[TestSIPUser]
type=peer
host=dynamic
username=testuser
secret=1234
context=test_context
[TestNewUser]
type=peer
host=dynamic
username=newsipuser
secret=3456
context=test_context
When a call is made from any of these peers I want to get the username
of the peer.
for eg:- If a call is being made from 'TestSIPUser' then I want to be
able to get the value 'testuser'
Is...
2006 May 30
20
AEL #include
Anyone know if #include works in ael yet?
extensions.ael:
#include "inc/pbx/global.conf"
context test_context {
};
*CLI> ael reload
May 30 13:56:45 NOTICE[8516]: pbx_ael.c:1120 handle_root_token: Unknown root token '#include'
May 30 13:56:45 WARNING[8516]: pbx.c:3758 ast_merge_contexts_and_delete: Requested contexts didn't get merged
2006 May 23
1
Problem with options to "Dial" application
I'm trying to set a dialing rule in my dialplan. As a part of it, from
my point of view, this works wrong
priorityjumping=no
[test_context]
exten => 1234,1,Dial(SIP/test,15,G(text_context,1234,2),j) ; With "j" flag
exten => 1234,2,Playback(digits/2)
exten => 1234,3,Playback(digits/3)
exten => 1234,102,Playback(digits/4)
In this case, if I dial the extension, and it's answered, the caller can
hear "Two,...
2014 Feb 11
1
file.c:1160 ast_writefile: Unable to open file /var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav: No such file or directory
Dear Folks,
[Test_Context]
exten => _911.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _911.,2,Set(CALLERID(num)=xxxxxxx)
exten =>
_911.,3,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)})
exten => _911.,4,Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)})
exten => _911.,5,Set(${CALL...