search for: device_st

Displaying 20 results from an estimated 59 matches for "device_st".

Did you mean: device_t
2011 May 13
2
Backport of DEVICE_STATE to 1.4
Hi, Here http://www.voip-info.org/wiki/view/Asterisk+func+device_State you can find a link to download a backported for Asterisk 1.4 version of DEVICE_STATE function. (Elsewhere, you can find reference to another backported function DEVSTATE which seems to behave the same as DEVICE_STATE). As I would like to prepare as much as possible, my dialplan to 1.6 and beyo...
2009 Jul 15
4
DEVICE_STATE() and Asterisk 1.6.0.10
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I must be missing something here but I can't figure out why I can't get DEVICE_STATE() to give me anything other than "NOT_INUSE". I have two extensions: 6666 and 6668. I used 6668 to make a call to yet another phone, so I know that it's busy. I then use 6666 to call 6668 and in the dialplan have a noop to see what DEVICE_STATE() is returning for both extension...
2009 Dec 12
3
DEVICE_STATE
Hi all! I am trying to figure out how DEVICE_STATE is working, no luck so far. sip.conf [0317998975] type=friend regexten=0317998975 secret=???? username=0317998975 callerid="Magnus Benngard" mailbox=0317998975 at inputinterior.se host=dynamic canreinvite=yes dtmfmode=rfc2833 nat=yes disallow=all allow=alaw extensions.conf exten =&g...
2014 Nov 25
2
High resident memory with 11.14.0 ?
...ten => _X.,n,Goto(dial-hylafax,s,1) [dial-hylafax] exten => s,1,GotoIf($["${FROM_DID:0:1}" = "1"]?prune:cont) exten => s,n(prune),Set(__FROM_DID=${FROM_DID:1}) exten => s,n(cont),GotoIf($[${FAX_IDX} <= ${MAX_IDX}]?tryfax:nofax) exten => s,n(tryfax),Set(STATE=${DEVICE_STATE(Custom:iaxmodem${FAX_IDX})}) exten => s,n,NoOp(${STATE}) exten => s,n,Set(DEVICE_STATE(Custom:iaxmodem${FAX_IDX})=INUSE) exten => s,n,Dial(IAX2/iaxmodem${FAX_IDX}/${FROM_DID},60,g) exten => s,n,Goto(s-${DIALSTATUS},1) exten => s,n(nofax),Playtones(busy) exten => s,n,NoOp(NO MOD...
2010 Sep 15
3
Skip Busy Agents/Channels from Queue
Is there a way skip / ignore the member whose status is busy in the Queue. I have two channel member in queue and i have set the peer limit 2 for these members. I want to skip those member who are currently on the call (answered to calls) and now their status is busy, if Queue see the busy status caller will not enter in the Queue and go to the next priority. [test-queue] strategy = rrmemory
2015 Feb 25
5
situation with ivr and four-channel gateway
Hi list, I need your help ,I have an incoming call x the ivr and the operator takes the call. ext "101" , If a second call reenters and the operator is talking, I want to send to the extension 102 I use the Variable DIALSTATUS , but not working check IVR [IVRINMA] exten => s,1,Wait(1) exten => s,n,Set(CHANNEL(language)=es) same=> n,Set(TIMEOUT(digit)=4) same=>
2013 Mar 12
0
Calls getting "stuck open"
...[blf-begincall] exten => s,1,Verbose("Beginning of Call - set BLF Custom Device state") same => n,Verbose(Updating: ${ARG1} Calls: ${GROUP_COUNT(${ARG1}@activecalls)} Status: ${ARG2}) same => n,ExecIf($[${ARG2} = RINGING]?ExecIf($[${GROUP_COUNT(${ARG1}@activecalls)} > 0]?Set(DEVICE_STATE(Custom:${ARG1})=RINGINUSE):Set(DEVICE_STATE(Custom:${ARG1})=RINGING)):Set(DEVICE_STATE(Custom:${ARG1})=INUSE)) same => n,Set(GROUP(activecalls)=${ARG1}) same => n,Set(CHANNEL(hangup_handler_wipe)=blf-endcall,s,1(${ARG1})) same => n,Return() [blf-endcall] exten => s,1,Verbose("E...
2016 Jun 17
2
Agents.conf Device_state
Hello, I think Device State for Agents don't work correctly My configuration: agents.conf [general] [agent](!) autologoff=15 ackcall=no acceptdtmf=# wrapuptime=5000 musiconhold=default recordagentcalls=no custom_beep=beep [2000](agent) fullname=Fulano [2001](agent) fullname=Zutano [2002](agent) fullname=Mengano queue.conf (Agents Related) member => Agent/2000 member =>
2015 Jun 09
2
Manipulate extension state in 1.8.x
Hi Is there any way to set the presence state of a peer to in-use in asterisk 1.8? The idea is to integrate DND buttons on phones to BLF. Regards -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)161 660 2350 f: +44 (0)161 660 9825 e: ish at pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street
2020 May 29
1
Notification when on the phone
...r press the DND (Do not disturb) button. > OH what it means to be busy! > > You might want to look at GROUP functions as well, to keep track of call counts, > then fork dial plan based on needs eg. Sales only reports busy at 5 calls > but C-Suite is busy at 1 call. You could also use DEVICE_STATE -- Daniel
2009 Aug 20
1
Pause/Unpause agent based on devstate
Hi, I dont know if this is possible, but I want to pause a queue member if another member are busy in the phone. We have agents that has 2 phones and both are logged in to the same queue. I don't want the second phone to call if the first are in use. Any ideas? Magnus -------------- next part -------------- An HTML attachment was scrubbed... URL:
2014 Nov 26
0
High resident memory with 11.14.0 ?
...afax,s,1) > > [dial-hylafax] > exten => s,1,GotoIf($["${FROM_DID:0:1}" = "1"]?prune:cont) > exten => s,n(prune),Set(__FROM_DID=${FROM_DID:1}) > exten => s,n(cont),GotoIf($[${FAX_IDX} <= ${MAX_IDX}]?tryfax:nofax) > exten => s,n(tryfax),Set(STATE=${DEVICE_STATE(Custom:iaxmodem${FAX_IDX})}) > exten => s,n,NoOp(${STATE}) > exten => s,n,Set(DEVICE_STATE(Custom:iaxmodem${FAX_IDX})=INUSE) > exten => s,n,Dial(IAX2/iaxmodem${FAX_IDX}/${FROM_DID},60,g) > exten => s,n,Goto(s-${DIALSTATUS},1) > exten => s,n(nofax),Playtones(busy) &g...
2016 Aug 30
12
Multiple phones when one is unregistered
I have an extension that looks like this: exten => 5555551111,1,Verbose(Door buzzer calling) same => n,Dial(SIP/user1&SIP/user2&SIP/user3) The idea is that any of the three users can answer the phone to let someone in. The problem is that if, say, user2 unplugs his phone then the call immediately goes to his voice mail and the other two do not have the ability to open the door.
2016 Jan 04
4
Forwarding call if extension busy
Hi and happy new year! My question: - two extensions: 1111 and 2222 - an active call on 1111 - incoming calls to 1111 should be forwarded to 1111 (call advice!) and 2222 I know how can I forward an incoming call to more than an extension, but I have no idea how can I get the information, that 1111 has already an active call... I think, I need something like: exten =>
2015 Jun 09
0
Manipulate extension state in 1.8.x
You can use a custom device state to do it. [dnd] ;DND Toggle exten => *363,1,Answer() same => n,Set(CURRENT_PRESENCE=${DEVICE_STATE(Custom:DND${CHANNEL(peername)})}) same => n,GotoIf($[${CURRENT_PRESENCE}=NOT_INUSE]?*78,1:*79,1) ;DND On exten => *78,1,NoOP(Turning DND On) same => n,Set(DEVICE_STATE(Custom:DND${CHANNEL(peername)})=BUSY) same => n,Playback(do-not-disturb&enabled) same =>...
2008 Oct 11
1
Asterisk 1.6.1 + openais
...totem { version: 2 secauth: off threads: 0 interface { ringnumber: 0 bindnetaddr: 192.168.1.0 mcastaddr: 226.94.1.1 mcastport: 5405 } } logging { to_stderr: yes to_file: yes logfile: /tmp/ais debug: off timestamp: on } amf { mode: disabled } root at asterisk-slb01:~# cat /etc/asterisk/ais.conf [device_state] type=event_channel publish_event=device_state subscribe_event=device_state -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081011/2b996476/attachment.htm
2015 Feb 26
0
situation with ivr and four-channel gateway
I'd recommend using DEVICE_STATE On your extension 101, Check the DEVICE_STATE of peer SIP/101, If it's not 'NOT_INUSE' then dial it, Otherwise dial SIP/102 exten => 101,1,ExecIf($["${DEVICE_STATE(SIP/101)}"="NOT_INUSE"]?Dial(SIP/101,40)) same => n,Dial(SIP/102,40,t) same =>...
2011 Apr 12
0
No subject
supported, beside Idle, On call and Ringing ? Can we expect this list to match DEVICE_STATE's one (UNKNOWN | NOT_INUSE | INUSE | BUSY | INVALID | UNAVAILABLE | RINGING | RINGINUSE | ONHOLD) > Might be worth seeing if other phones do the same. > > S > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provide...
2014 Nov 24
2
High resident memory with 11.14.0 ?
Also, how big does the cache in frame.c grow to? I've recompiled with MALLOC_DEBUG on that server: asterisk -rx "memory show summary" .... 1780466242 bytes (1780181594 cache) in 2352909 allocations in file frame.c ... Seems like a ridiculous cache. On Mon, Nov 24, 2014 at 9:02 AM, James Lamanna <jlamanna at gmail.com> wrote: > cat /proc/cpuinfo lists 4 cores. >
2009 Aug 27
3
Sticky Park
...or things don't work. ;I do an attended transfer to 700. exten => 700,1,Answer() ;Just so I can see if anything has been set exten => 700,n,NoOp(I want to be parked on: ${PARKINGEXTEN}) ;Also so I can see what the state of that parking slot is. exten => 700,n,NoOp(Device State is: ${DEVICE_STATE(park:${PARKINGEXTEN}@parkedcalls)}) ;Check to see if PARKINGEXTEN is set. If not then this must be a new call being park, let's let asterisk find a spot for it. exten => 700,n,GotoIf($[${LEN(${PARKINGEXTEN})}=0]?parkcall) ;Ok Looks like this call has been parked before. Let's see i...