Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-03 Thread Andrew Ruthven
On Thu, 2016-09-01 at 10:36 -0700, Dave Platt wrote: > >  > Things can become more complicated in a couple of situations: > > (1) If one of the SIP users you specify isn't actually a SIP > endpoint device, but is a SIP identity on another system (PBX > or VoIP provider or etc.), then you

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Dave Platt
> So does the Dial command go directly to the registered device or does > it use the extension? If you've given the Dial() command the SIP/user1 format, it will attempt to dial directly to the SIP device/phone/endpoint you specify. If you specify SIP/user1/user2&... it attempts to dial

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Eric Wieling
The dial application dials devices not extensions. The only way to "dial" an extension from the dialplan is to use chan_local. On 09/01/2016 06:55 AM, D'Arcy J.M. Cain wrote: So does the Dial command go directly to the registered device or does it use the extension? I was assuming that it

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Administrator TOOTAI
Le 01/09/2016 à 17:27, D'Arcy J.M. Cain a écrit : On Thu, 1 Sep 2016 13:49:57 + (UTC) t...@softins.co.uk (Tony Mountifield) wrote: What module am I missing? The ExecIf command is provided in the module app_exec, which is usually located at /usr/lib/asterisk/modules/app_exec.so Yes, I

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Chad
What about doing this? exten => 55,1,Verbose(Door buzzer calling) same => n,Set(toRing=) same => n,Set(toRing=${toRing}${IF($["${DEVICE_STATE(SIP/user1)}" = "NOT IN USE"]?/user1:)}) same => n,Set(toRing=${toRing}${IF($["${DEVICE_STATE(SIP/user2)}" = "NOT IN USE"]?/user2:)}) same =>

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread D'Arcy J.M. Cain
On Thu, 1 Sep 2016 13:49:57 + (UTC) t...@softins.co.uk (Tony Mountifield) wrote: > > What module am I missing? > > The ExecIf command is provided in the module app_exec, which is > usually located at /usr/lib/asterisk/modules/app_exec.so Yes, I see it. > Maybe you had turned off app_exec

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Tony Mountifield
In article <20160901070151.10ae4f26@imp>, D'Arcy J.M. Cain wrote: > On Thu, 1 Sep 2016 11:02:57 +0200 > Administrator TOOTAI wrote: > > > [Aug 31 21:52:00] WARNING[-1][C-0001fed5] pbx.c: No application > > > 'ExecIf' for extension (unauthenticated, 55, 3)

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Mark Wiater
On 9/1/2016 6:55 AM, D'Arcy J.M. Cain wrote: So does the Dial command go directly to the registered device or does it use the extension? Yes, that's why you provide the technology part (SIP/, IAX/, DAHDI/) I was assuming that it was going to the extension's voice mail if it wasn't there

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread D'Arcy J.M. Cain
On Thu, 1 Sep 2016 11:02:57 +0200 Administrator TOOTAI wrote: > > [Aug 31 21:52:00] WARNING[-1][C-0001fed5] pbx.c: No application > > 'ExecIf' for extension (unauthenticated, 55, 3) > > > > Is there a module that I need to load? > > > > In case it matters I am running

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread D'Arcy J.M. Cain
On Thu, 1 Sep 2016 06:22:18 -0400 Mark Wiater wrote: > On 8/31/2016 9:57 PM, D'Arcy J.M. Cain wrote: > > exten => 55,1,Verbose(Door buzzer calling) > >> same => n,Set(toRing=) > >> same => n,ExecIf($["${DEVICE_STATE(SIP/user1)}" = "NOT IN > >>

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Mark Wiater
On 8/31/2016 9:57 PM, D'Arcy J.M. Cain wrote: exten => 55,1,Verbose(Door buzzer calling) same => n,Set(toRing=) same => n,ExecIf($["${DEVICE_STATE(SIP/user1)}" = "NOT IN USE"]?Set(toRing=${toRing}/user1) Failed. I checked the online docs and the syntax seems to be correct but I get

Re: [asterisk-users] Multiple phones when one is unregistered

2016-09-01 Thread Administrator TOOTAI
Le 01/09/2016 à 03:57, D'Arcy J.M. Cain a écrit : On Tue, 30 Aug 2016 17:56:35 +0200 Administrator TOOTAI wrote: Something like exten => 55,1,Verbose(Door buzzer calling) same => n,Set(toRing=) same => n,ExecIf($["${DEVICE_STATE(SIP/user1)}" = "NOT IN

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-31 Thread D'Arcy J.M. Cain
On Tue, 30 Aug 2016 17:56:35 +0200 Administrator TOOTAI wrote: > Something like > > exten => 55,1,Verbose(Door buzzer calling) > same => n,Set(toRing=) > same => n,ExecIf($["${DEVICE_STATE(SIP/user1)}" = "NOT IN > USE"]?Set(toRing=${toRing}/user1) Failed. I checked

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread D'Arcy J.M. Cain
On Tue, 30 Aug 2016 11:42:04 -0400 Eric Wieling wrote: > > [Aug 23 10:20:55] WARNING[-1][C-0001fee7] app_dial.c: Unable to > > create channel of type 'SIP' (cause 20 - Subscriber absent) > > > > I am assuming that the voice mail is for the absent (unregistered) > > user. >

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread Administrator TOOTAI
Le 30/08/2016 à 18:05, D'Arcy J.M. Cain a écrit : On Tue, 30 Aug 2016 17:56:35 +0200 Administrator TOOTAI wrote: exten => 55,1,Verbose(Door buzzer calling) same => n,Set(toRing=) same => n,ExecIf($["${DEVICE_STATE(SIP/user1)}" = "NOT IN

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread D'Arcy J.M. Cain
On Tue, 30 Aug 2016 17:56:35 +0200 Administrator TOOTAI wrote: > exten => 55,1,Verbose(Door buzzer calling) > same => n,Set(toRing=) > same => n,ExecIf($["${DEVICE_STATE(SIP/user1)}" = "NOT IN > USE"]?Set(toRing=${toRing}/user1) > same =>

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread Administrator TOOTAI
Le 30/08/2016 à 15:56, D'Arcy J.M. Cain a écrit : I have an extension that looks like this: exten => 55,1,Verbose(Door buzzer calling) same => n,Dial(SIP/user1/user2/user3) The idea is that any of the three users can answer the phone to let someone in. The problem is that if, say,

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread Eric Wieling
On 08/30/2016 11:31 AM, D'Arcy J.M. Cain wrote: Paste the Asterisk console output of a call showing the problem, Here is what the log shows. I can't put the unregistered user back at the moment. Perhaps I can do it overnight when no one is going to the building. [Aug 23 10:20:55]

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread D'Arcy J.M. Cain
On Tue, 30 Aug 2016 15:53:04 +0100 A J Stiles wrote: > > exten => 55,1,Verbose(Door buzzer calling) > > same => n,Dial(SIP/user1/user2/user3) > Here's a protip for you: It's *not* a massive corporate secret, I will give you the benefit of the doubt and

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread D'Arcy J.M. Cain
On Tue, 30 Aug 2016 10:39:14 -0400 Eric Wieling wrote: > The dialplan below cannot go to voicemail, either something else is Of course not. It's the individual extensions that have voice mail. I have a similar problem when one of those destinations is a cell phone but I

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread A J Stiles
On Tuesday 30 Aug 2016, D'Arcy J.M. Cain wrote: > I have an extension that looks like this: > > exten => 55,1,Verbose(Door buzzer calling) > same => n,Dial(SIP/user1/user2/user3) > > The idea is that any of the three users can answer the phone to let > someone in. The problem is that

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread Eric Wieling
The dialplan below cannot go to voicemail, either something else is going on or the dialplan below is not the actual dialplan. Calls only go to voicemail when the dialplan runs the VoiceMail application. Paste the Asterisk console output of a call showing the problem, maybe someone can help.

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread Joshua Colp
D'Arcy J.M. Cain wrote: I have an extension that looks like this: exten => 55,1,Verbose(Door buzzer calling) same => n,Dial(SIP/user1/user2/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

Re: [asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread Willy Offermans
Dear D'Arcy J.M. Cain and asterisk friends, On Tue, Aug 30, 2016 at 09:56:05AM -0400, D'Arcy J.M. Cain wrote: > I have an extension that looks like this: > > exten => 55,1,Verbose(Door buzzer calling) > same => n,Dial(SIP/user1/user2/user3) > > The idea is that any of the three users

[asterisk-users] Multiple phones when one is unregistered

2016-08-30 Thread D'Arcy J.M. Cain
I have an extension that looks like this: exten => 55,1,Verbose(Door buzzer calling) same => n,Dial(SIP/user1/user2/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