Displaying 20 results from an estimated 10000 matches similar to: "Newbie Confusion on Call Forward and DBput/DBdel"
2005 May 15
1
Old DBGet/DBPut vs. new Set(var=${DB(...
Hello
I upgraded to CVS head yesterday (due to the lack of zaptel drivers
working with 2.6.10)
And noticed that now DBGet and DBPut have been deprecated in favour
of the new Set/DB one.
In the UPGRADING.txt in Asterisk it says:
* The applications DBGet and DBPut have been deprecated in favor of
functions. Here is a table of their replacements:
DBGet(foo=family/key)
2009 Apr 17
1
how to call forward on 1.6
Hello,
I want to enable call forwarding for asterisk 1.6.0.6
I couldnt seen any config or option on gui or extensions.conf about it.
I found some dialing plans to enable it on web as follows:
[apps]
; Unconditional Call Forward
exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4})
exten => _*21*X.,2,Hangup
exten => #21#,1,DBdel(CFIM/${CALLERIDNUM})
exten => #21#,2,Hangup
;
2010 Nov 19
1
call forward problem
Hi,
I tried to perform call forward in asterisk by writing the following in the
dial plan.The data base is getting updated with the caller ID number how
ever the call is not getting forwarded.
[apps]
exten => _*21*XX,1,Set(DB(CFIM/${CALLERID(number)})=${EXTEN:4})
exten => _*21*XX,2,Hangup
exten => #21#,1,DBDel(CFIM/${CALLERID(num)})=${EXTEN:4}
exten => #21#,2,Hangup
Regards,
Aparna
2006 Mar 03
2
Does an entry in AstDB stay after reboot?
I set up a call forwarding script in extensions.conf which uses the
AstDB but I'm wondering if I reboot the server, will the entry in
AstDB still reside?
What the script does is when a call comes in, it check to see if there
is a null value or a call forward number. If null, it will call the
local office connections. If there is a number, it calls that. Now I
just need to know if I reboot
2007 Feb 15
7
Call forwarding
Hi All,
I'm using asterisk 1.2.15 and call forwarding doesnt work for me.
from my extensions.conf:
; Unconditional Call Forward
exten => _*21*X.,1,NoCDR
exten => _*21*X.,2,Set(DB(CFIM/${CALLERID(NUM)})=${EXTEN:4})
exten => _*21*X.,3,Playback(vm-saved)
exten => _*21*X.,4,Hangup
exten => #21#,1,NoCDR
exten => #21#,2,DBdel(CFIM/${CALLERID(NUM)})
exten =>
2005 Jul 02
3
call forwarding, most basic case
hello all,
i need some help and after trying the wiki i'm even more confused than i was.
i'm trying to set up call forwarding and running into problems...
i want the most basic call forwarding imaginable.
1. caller dials extension (say, 154)
2. dialplan is updated to forward caller's extension (based on
CALLERIDNUM) to voicemail, instead of ringing his endpoint.
3. caller is
2006 Mar 08
1
Calls forwarding to numbers only in user's context
Hello,
I'm trying to do call forwarding based on this:
http://www.voip-info.org/wiki/view/Asterisk+call+forwarding
In the extensions.conf file I have several context defined (local,
longdistance, mobile, international and so on). Each user can be
associated with different context (so can make only i.e. local calls).
How to set calls forwarding only to numbers that are available in
2003 May 14
20
Call forwarding
Yo,
Inspired by the example in the tips & tricks-section of
"http://www.junghanns.net/asterisk/", I built a more elaborate
call divert-feature. This one validates if the extension a call-forward
is to be set to is actually valid for the current context and
additionally saves this context into the DB and always uses it to
originate the divert from, as you can't expect the
2005 Jan 31
1
A neat "hot seating" mplementation
Has anyone implemented "hot seating" in any neat way? This where
people can log in to any phone in the company and have their
calls/voicemail come to that particular handset.....
2009 Jul 31
1
asterisk 1.6 call forwarding
Dear All,
I'n trying to make a simple call forwarding, however I have small
problem when evaluating an expresion.
Here is my extensions.conf
...
; Unconditional Call Forward
exten => _#21*X.,1,Set(DB(CFIM/${CALLERID(num)})=${EXTEN:4})
exten => _#21*X.,2,Hangup()
exten => #21#,1,Set(ignored=${DB_DELETE(CFIM/${CALLERID(num)})})
exten => #21#,2,Hangup()
...
exten =>
2004 Nov 23
0
Problems with MACRO_EXTEN variable
Hei!
I have a little problem with the subject. I use Asterisk
CVS-HEAD-09/06/04-12:42:56 as a production *, but I do tests with a
newer version
Asterisk CVS-HEAD-11/18/04-10:01:32. Ok the problem is:
in extension.conf I use macro for redirection, found on wiki pages:
[macro-stdexten]
;
; Standard extension macro (with call forwarding):
; ${ARG1} - Extension(we could have used ${MACRO_EXTEN}
2005 Jan 30
0
Setting call forward for Agent's in a Queue
Hi!,
I'm trying to set up a Queue (which works fine now :-)
Sip clients can login in to the Queue with dialing 91 on there phone.
And as soon as there are customers the Queue calls the agents back.
I would like that the queue calls the agents also if it's phone is
call-forwarded.
With agents (sip clients) are added with the following extensions:
exten => 91,1,AddQueueMember(myqueue)
2004 Oct 05
1
loggedoff extension - why does * say "is on the phone"
Hi,
I have following one-line macro extension:
------------------------
[macro-oneline]
;
; Standard extension macro (with call forwarding):
; ${ARG1} - Device(s) to ring
;
#exten => s,1,AGI(misterhouse.agi,"CallerID")
exten => s,1,NoOp
exten => s,2,DBget(temp=CFIM/${MACRO_EXTEN}) ; Get CFIM key, if not
existing, goto 103
exten => s,3,Dial(Local/${temp}@default/n) ;
2005 Jul 06
2
"Set" syntax equivalent of DBDel?
I found an unanswered mail in the archives that implied that perhaps
there is no direct way to delete a DB entry with the new "Set" syntax.
I have been playing, and so far if there is a way to do it I haven't
been able to suss it out.
Set(DB(family/key)=) sets the value for the key to null, but that
doesn't appear to be equivalent to removing the key entirely.
Or maybe
2005 Jul 13
1
DBput from the web?
Does anybody has a php code for using DBput (DBget, DBdel) from a web
interface, which database is used for astrisk?
bye
Ronald
2005 Jul 06
0
re: help debugging dialplan
hello all,
another desperate request for help debugging my dialplan...
from a certain extension i do the following:
DBput(CFIM/${CALLERIDNUM}=${CALLERIDNUM})
a NoOp to the console says
DBput: family=CFIM, key=2122022001, value=2122022001
and database show says
/CFIM/2122022001 : 2122022001
so far, so good.
but in a macro, when i try to get the data,
exten
2009 Dec 20
1
Manager command that equal to database show CFIM
Hi!
Probably me that cannot read the manual...
I am trying to get all Keys that belongs to a certain Family
from the manager interface. Can just get single values for example:
Action: DBGet
Family: CFIM
Key: 0317998975
I was looking for something like "Action: DBShow Family: CFIM".
Any one has some smart way to implement it or did I just miss
some stuff...
/Magnus
--------------
2005 Jun 02
1
Newbie :Call Forwarding problem
Dear All,
I was trying to enable call forwarding, following the steps of the link
on voip.org regarding this issue it doesn't work and the phone I am
trying to implement on is still ringing. below is my conf in
extensions.conf and the CLI output during the process.
My configuration is :
exten => _*5X.,1,DBput(CF/${CALLERIDNUM}=${EXTEN:2})
exten => _*5X.,2,Hangup
exten =>
2004 Apr 30
6
app_dbodbc segfault
Is anyone out there using app_dbodbc
(http://www.bkw.org/~brian/app_dbodbc.c)? Any problems with it?
I was able to get it all working, but it causes * to segfault every now
and then. It does not appear to be related to any specific function
(ODBCget,ODBCput,ODBCdel,ODBCdelltree). It is 100% repeatable. If I
noload the module, everything works fine, but when its running, after
calls to any of the
2009 Jul 20
1
callforward with asterisk-gui.problem with stdexten
Hello, i am trying to enable call forwarding on asterisk 1.6 with
asterisk-gui
If i set my stdexten as follows (with the lines i marked) everything seems
like working.
But if i make any change on asterisk-gui and apply it.. it recreates the
macro-stdexten and deletes my configuration regarding to it.
So where should i add my call-forward configuration???
Where am i making a mistake??