Displaying 3 results from an estimated 3 matches for "maincontext".
Did you mean:
gmaincontext
2013 Jun 20
0
Customer src in CDR with incoming sipp calls
...ID
set to sipp and this sipp value is stored in CDR.
1. I can change the value of the CallerID but how can I have the calls from
sipp traced in CDR with a customized src field value ?
[from-sipp]
exten => _X., 1, Whatever()
same => n, set(CallerID(num)=987654321))
same => n, Goto(maincontext, 123456789, 1)
[maincontext]
exten => _X., 1, Whatever()
same => n, Dial(SIP/foobar/${EXTEN})
I've read in CDR function online doc that src field is Readonly so I can't
simple use Set(CDR(src)=987654321).
Would a combination of NoCDR, ForkCDR or whatever help ?
2. Beside that...
2005 Mar 21
3
Script to Authenticate User and Dial Out
Hello. I'm looking for a script that I can use that will ask users for
a password, and then let them call any extension on the asterisk server.
Does anyone know of a premade script that can do this, or a resource I
could use to make my own?
Thanks,
Josh
2008 Nov 06
2
Variable Scope Question
If I have a global variable in my dialplan and I change it, does that
change immediately take affect for all calls that are active?
Here is my situation. The company I work for has two office groups that
share a building. The two offices are separate companies but support
one another and want to be able to transfer calls as if they were all on
the same phone system. Each company has 4