Re: [asterisk-users] AMI version of CONNECTEDLINE

2016-12-12 Thread David Cunningham
Hi Jacek,

Thank you very much for the suggestion. Using SetVar and
CONNECTEDLINE(number) works.


On 12 December 2016 at 18:31, Jacek Konieczny  wrote:

> On 2016-12-12 02:21, David Cunningham wrote:
>
>> Is there any equivalent of the CONNECTEDLINE function which can be
>> called from an application using the AMI?
>>
>
> You can use dialplan functions from AMI using GetVar, so this should work:
>
> Action: GetVar
> Variable: CONNECTEDLINE(num)
>
> Jacek
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>  https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
David Cunningham, Voisonics
http://voisonics.com/
USA: +1 213 221 1092
Australia: +61 (0) 2 8063 9019
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] failing to start asterisk on centos7

2016-12-12 Thread A J Stiles
**  THIS IS NOT WHERE YOUR REPLY BELONGS  **

On Monday 12 Dec 2016, christopher kamutumwa wrote:
> Hello support,
> 
> Am not winning need your help. ive tried putting a different version of
> asterisk on centos 7 and here are below results, after make config;
> 
> [root@localhost asterisk-14.2.1]# make config
> [root@localhost asterisk-14.2.1]# sudo service asterisk start
> Starting asterisk (via systemctl): [  OK  ]
> [root@localhost asterisk-14.2.1]# asterisk -rvv
> bash: asterisk: command not found
> [root@localhost asterisk-14.2.1]# which asterisk
> /usr/bin/which: no asterisk in (/sbin:/bin:/usr/sbin:/usr/bin)
> [root@localhost asterisk-14.2.1]# asterisk c
> bash: asterisk: command not found

You don't appear to have finished the build process!

You need to run
$ make menuselect
$ make
$ sudo make install

(if `make` stops with errors, fix them and run that step again.)

There is no way that `sudo service asterisk start` should be able to start 
anything successfully if there isn't an asterisk binary in the path.  (But 
systemd is a law unto itself.)

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] failing to start asterisk on centos7

2016-12-12 Thread christopher kamutumwa
Hello support,

Am not winning need your help. ive tried putting a different version of
asterisk on centos 7 and here are below results, after make config;

[root@localhost asterisk-14.2.1]# make config
[root@localhost asterisk-14.2.1]# sudo service asterisk start
Starting asterisk (via systemctl): [  OK  ]
[root@localhost asterisk-14.2.1]# asterisk -rvv
bash: asterisk: command not found
[root@localhost asterisk-14.2.1]# which asterisk
/usr/bin/which: no asterisk in (/sbin:/bin:/usr/sbin:/usr/bin)
[root@localhost asterisk-14.2.1]# asterisk c
bash: asterisk: command not found

regards

On Mon, Dec 12, 2016 at 11:30 AM, A J Stiles 
wrote:

> On Saturday 10 Dec 2016, christopher kamutumwa wrote:
> > ive installed asterisk but below is what am getting proces gets
> > killed.please help
> >
>
> Make sure you have libncurses5 and its development files installed,
> otherwise
> this can cause crashes.
>
> Also, how much RAM is in your box?  Check Asterisk is not being killed for
> running out of memory.
>
> --
> AJS
>
> Note:  Originating address only accepts e-mail from list!  If replying off-
> list, change address to asterisk1list at earthshod dot co dot uk .
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] failing to start asterisk on centos7

2016-12-12 Thread A J Stiles
On Saturday 10 Dec 2016, christopher kamutumwa wrote:
> ive installed asterisk but below is what am getting proces gets
> killed.please help
> 

Make sure you have libncurses5 and its development files installed, otherwise 
this can cause crashes.

Also, how much RAM is in your box?  Check Asterisk is not being killed for 
running out of memory.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users