Displaying 20 results from an estimated 36 matches for "cfim".
Did you mean:
cfi
2006 Mar 03
2
Does an entry in AstDB stay after reboot?
...f there is a number, it calls that. Now I
just need to know if I reboot the system, the current value will still
be in the AstDB, I don't want to reboot the system and then find out
the key is always getting erased. Thanks all for the help.
exten => s,1,Answer()
exten => s,2,DBget(WHEE=CFIM/temp)
exten => s,3,GotoIf($["${WHEE}" = "0"]?s-NoCFIM,1:s-CFIM,1)
; If call forward number in AstDB, then call that number
exten => s-CFIM,1,DBget(WHEE=CFIM/temp)
exten => s-CFIM,2,Dial(Zap/g0/${WHEE},20,tm)
exten => s-CFIM,102,Voicemail,u203
exten => s-CFIM,103,...
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 => 50,1,Set(CFIM=${DB(CFIM/${EXTEN})})
exten => 50,n,GotoIf($[${CFIM}=""]?start) ;<- THIS IS WRONG, but not
sure...
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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-...
2005 May 15
1
Old DBGet/DBPut vs. new Set(var=${DB(...
...functions. Here is a table of their replacements:
DBGet(foo=family/key) Set(foo=${DB(family/key)})
DBPut(family/key=${foo}) Set(${DB(family/key)}=${foo})
I fail to see how DBGet and DBPut can be replaced by those two commands
If I want to create a new database entry:
DBPut(CFIM/200=300)
I will create the entry if it doesn't exist
With the new Set(${DB(CFIM/200)}=300) I get:
May 16 12:39:39 WARNING[11111]: func_db.c:54 function_db_read: DB:
CFIM/200 not found in database.
-- Executing Set("SIP/ipp100-1d45", "=300") in new stack
-- Execu...
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 => #21#,3,Playback(auth-thankyou)
exten => #21#,4,Hangup
debug from asterisk CLI:
-- Executing NoCDR...
2011 Jan 26
0
Really wacky problem with internal extensions.
...slation alive.
Anyway, here's the dialplan for the IVR (only extensions 302 and 303 are
included for brevity):
[ivr-XXXXXX]
exten => s,1,Answer
exten => s,n,Playback(silence/1)
exten => s,n,Background(XXXXXX/greeting)
exten => s,n,WaitExten(4)
exten => 302,1,GotoIf(${DB_EXISTS(CFIM/302)}?dialfw:dial)
exten => 302,n(dialfw),Set(extension=${DB(CFIM/302)})
exten => 302,n,Set(wait=${MATH(${DB(NumRing/302)}*6,int)})
exten => 302,n,ExecIf($["${wait}" != "0"]|Dial|SIP/XXXXXX2|${wait}|g|)
exten => 302,n,Dial(DAHDI/g1/${extension},90,g)
exten => 302,...
2015 Jul 29
2
PJSIP T.38 issues
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks for your reply Larry.
Le 27/07/2015 01:22, Larry Moore a ?crit :
> I think the "488 Not acceptable here" is occurring because the channel
> connecting through is not T.38 capable, that will be the IAX channel
> from iaxmomdem.
This is what T38gateway is supposed to do. And I'm very happy to report
that after one more
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 => s,1,DBGet(${DB(CFIM/${...
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) ; Unconditional forward
exten => s,4,Dial(${ARG1},20,tr) ; 20sec timeout
exten => s,5,NoOp
exten => s,6,DBget(temp=CFBS/${MACRO_EXTEN}) ; Get CFBS key, if not
existing, goto 106
ext...
2005 Jul 02
3
call forwarding, most basic case
...caller to be able to pick the number to forward to,
the simplest case possible, and a different extension (155) to turn
the forwarding off (for now, then i'll put them in a menu together or
something.)
so, i know i need an extension like this:
exten =>154,1, Answer
exten => 154,2,DBput(CFIM/${CALLERIDNUM}=Voicemail(u{CALLERIDNUM})
exten =>153,3, Hangup
but line 2 is giving me fits, and the documentation is a bit thin. i'm
confused about the families in the database - do i have to create
them, or are they aready there?
of course, if i'm barking up the wrong tree and there...
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
2004 Nov 23
0
Problems with MACRO_EXTEN variable
...-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} here as well
; ${ARG2} - Device(s) to ring
;
exten=s,1,DBget(temp=CFIM/${ARG1}) ; Get CFIM key, if not existing, goto 102
exten=s,2,SetCallerID(${MACRO_EXTEN})
exten=s,3,Dial(Local/${temp}@class1/n) ; Unconditional forward
exten=s,4,Dial(${ARG2},40,Tt) ; 20sec timeout
exten=s,5,DBget(temp=CFBS/${ARG1}) ; Get CFBS key, if not existing,
goto 105
exten=s,6,SetCallerI...
2006 Mar 08
1
Calls forwarding to numbers only in user's context
...to set calls forwarding only to numbers that are available in user's
context (so if he has only locals calls he cannot set calls forwarding
for mobile phones)?
I'm using this for forwarding:
[forwarding] ; available for all users
; Unconditional Call Forward
exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4})
exten => _*21*X.,2,Background(auth-thankyou)
exten => _*21*X.,3,Hangup
exten => #21#,1,DBdel(CFIM/${CALLERIDNUM})
exten => #21#,2,Background(auth-thankyou)
exten => #21#,3,Hangup
; Call Forward on Busy or Unavailable
exten => _*61*X.,1,DBput(CFBS/${CALL...
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attach...
2005 Jan 10
0
Problems calling between two local SIP extensions
...cro(oneline,SIP/11)
exten => 16,1,Macro(oneline,SIP/16)
both using same macro oneline:
[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) ; Unconditional forward
exten => s,4,Dial(${ARG1},30,tr) ; 20sec timeout
exten => s,5,NoOp
exten => s,6,DBget(temp=CFBS/${MACRO_EXTEN}) ; Get CFBS key, if not
existing, goto 106
exten...
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
; Call Forward on Busy or Unavailable
exten => _*61*X.,1,DBput(CFBS/${CALLERIDNUM}=${EXTEN:4})
exten => _*61*X.,2,Hangup
exten => #61#,1,DBdel(CFBS/${CALL...
2004 Jul 07
0
Audio cuts off 10 minutes into calls
...into the call. This happens
for every call
PSTN-SIP, SIP-PSTN, SIP-SIP
Example of one call setup using Snom200 and Grandstream 486:
-- Executing Macro("SIP/xxxx1251-d638", "CFW|xxxx1251|SIP/xxxx1253") in new
stack
-- Executing DBget("SIP/xxxx1251-d638", "temp=CFIM/xxxx1253") in new
stack
-- DBget: varname=temp, family=CFIM, key=xxxx1253
-- DBget: Value not found in database.
-- Executing Goto("SIP/xxxx1251-d638", "s|4") in new stack
-- Goto (macro-CFW,s,4)
-- Executing Dial("SIP/xxxx1251-d638", "SIP...
2004 Apr 30
6
app_dbodbc segfault
...nippit:
[macro-sipexten]
exten => s,1,SetVar(OrigNum=${ARG1})
exten => s,2,ODBCput(CallReturn/${ARG1}=${CALLERIDNUM})
exten => s,3,ODBCget(temp=CFIM/${ARG1}) ; Get CFIM key, if not existing,
goto 104
exten => s,4,Goto(default|${temp}|1) ; Unconditional forward
exten => s,5,Dial(SIP/${ARG1},20) ; 20sec timeout
exten => s,6,ODBCget(temp2=CFBS/${ARG1}) ; Get CFBS key, if not
existing, goto 107
exten => s,7,Goto(default|${temp2}|1) ;...
2004 Jun 15
3
anyone use mailboxexists?
I replied to a post of mine a few days ago asking of anyone uses
mailboxexists(). I haven't received any replies.
Perhaps few use it or perhaps the reply was overlooked. I thought I'd
post the question one last time before giving up on it for now...
Thanks!
-Michael