Re: [asterisk-users] Asterisk 11.23 with libmysqlclient20 on Debian 8
I think that you need the dev files too. In Debian 8, the package is libmysqlclient-dev. But Debian 8 uses libmysqlclient-18. Where did you get the 20 ? Regards, Marcelo H. TerresIM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On Mon, Oct 3, 2016 at 7:54 PM, Victor Villarreal wrote: > Hi List! > > I'm facing a problem while compiling Asterisk-11 on a Debian 8 server. > > The mysql-server version installed is 5.7 and come from the official mySQL > community repo for Debian. > > After compile, install and execute Asterisk, the comman "lsof -p `pidof > asterisk` | grep mysql" don't produce any output. Like if confgure script > don't found the mysql lib. > > With libmysqlclient18 every is Ok. How can I use libmysqlclient20 with > Asterisk ? > > Thanks in advance, and best regards. > > root@nodo1:/usr/src/asterisk-11.23.0# ls -lh /usr/lib/x86_64-linux-gnu/ | > grep mysql > -rw-r--r-- 1 root root 5,7M ago 25 09:37 libmysqlclient.a > lrwxrwxrwx 1 root root 20 ago 25 09:37 libmysqlclient.so -> > libmysqlclient.so.20 > lrwxrwxrwx 1 root root 24 ago 25 09:37 libmysqlclient.so.20 -> > libmysqlclient.so.20.3.2 > -rw-r--r-- 1 root root 4,2M ago 25 09:37 libmysqlclient.so.20.3.2 > -rw-r--r-- 1 root root 18K ago 25 09:37 libmysqlservices.a > > -- > GnuPG Key ID: 0x39BCA9D8 > https://www.github.com/mefhigoseth > ...:::[ God Rulz ! ]:::... > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 > http://www.asterisk.org/community/astricon-user-conference > > 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 -- Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 http://www.asterisk.org/community/astricon-user-conference 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] res_pjsip parkinglot configuration?
On Mon, Oct 3, 2016 at 6:36 PM, John Kinistonwrote: > I'm trying to find where you configure the parking lot used by phones > registered via pjsip. > > In sip.conf you could set the default lot for call parking with the > 'parkinglot=mylot' setting but I don't see an equivalent in pjsip.conf > > Do I need to use setvar to set CHANNEL(parkinglot) on my endpoint to do > this now? > Yes. In your type=endpoint section you specify set_var=CHANNEL(parkinlot)=mylot Richard -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 http://www.asterisk.org/community/astricon-user-conference 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
[asterisk-users] res_pjsip parkinglot configuration?
I'm trying to find where you configure the parking lot used by phones registered via pjsip. In sip.conf you could set the default lot for call parking with the 'parkinglot=mylot' setting but I don't see an equivalent in pjsip.conf Do I need to use setvar to set CHANNEL(parkinglot) on my endpoint to do this now? -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. ---Heinlein -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 http://www.asterisk.org/community/astricon-user-conference 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
[asterisk-users] Asterisk 11.23 with libmysqlclient20 on Debian 8
Hi List! I'm facing a problem while compiling Asterisk-11 on a Debian 8 server. The mysql-server version installed is 5.7 and come from the official mySQL community repo for Debian. After compile, install and execute Asterisk, the comman "lsof -p `pidof asterisk` | grep mysql" don't produce any output. Like if confgure script don't found the mysql lib. With libmysqlclient18 every is Ok. How can I use libmysqlclient20 with Asterisk ? Thanks in advance, and best regards. root@nodo1:/usr/src/asterisk-11.23.0# ls -lh /usr/lib/x86_64-linux-gnu/ | grep mysql -rw-r--r-- 1 root root 5,7M ago 25 09:37 libmysqlclient.a lrwxrwxrwx 1 root root 20 ago 25 09:37 libmysqlclient.so -> libmysqlclient.so.20 lrwxrwxrwx 1 root root 24 ago 25 09:37 libmysqlclient.so.20 -> libmysqlclient.so.20.3.2 -rw-r--r-- 1 root root 4,2M ago 25 09:37 libmysqlclient.so.20.3.2 -rw-r--r-- 1 root root 18K ago 25 09:37 libmysqlservices.a -- GnuPG Key ID: 0x39BCA9D8 https://www.github.com/mefhigoseth ...:::[ God Rulz ! ]:::... -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 http://www.asterisk.org/community/astricon-user-conference 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] Synchronous dialplan execution for feedback while processing speech recognition and voice synth, for example.
On Mon, 3 Oct 2016, Jonathan H wrote: I've googled and I'm probably missing something pretty newbie 101 here, but is there any way, or fiddle, that I can play some audio to let the caller know that their weather forecast is being fetched, which the two agis are first recognising and then synthesizing the speech? I thought "background" might do it, but it doesn't seem to work like that. Did something similar a decade ago :) I had a credit card processing AGI for an adult audiotext line. The owner was a real stickler for the 'caller experience' and didn't like the dead air waiting for the auth back from the card processor. My solution was to kick off a thread (the AGI was written in C, so I used pthreads) to play 'and get ready for a good time' and then issue the request to the card processor and waiting for the response in the mainline code. By the time the prompt finished, I had the response so pthread_join would 'finish' off the thread cleanly and the dead air magically disappeared. The only 'warning' is not to do any I/O to STDIN/STDOUT in the mainline -- that would violate the AGI protocol and lead to things breaking in weird ways. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 http://www.asterisk.org/community/astricon-user-conference 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
[asterisk-users] Synchronous dialplan execution for feedback while processing speech recognition and voice synth, for example.
I've got an agi that recognises speech (via Google) and another that turns text into speech (tts) (via Microsoft Translate). Both are web APIs, both called via seperate python AGIs. I've googled and I'm probably missing something pretty newbie 101 here, but is there any way, or fiddle, that I can play some audio to let the caller know that their weather forecast is being fetched, which the two agis are first recognising and then synthesizing the speech? I thought "background" might do it, but it doesn't seem to work like that. Both agis take about 2.5 seconds, so that's 5 seconds of silence. Yes, I'm aware of software applications that will quickly recognise and synthesize speech on the local machine, but they're not suitable for the application. I realise there's probably a pythonic way of forking processes, but the way it is now, both agis are nice seperate single purpose functions and it all just looks quite neat as it is. Many thanks. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 http://www.asterisk.org/community/astricon-user-conference 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
[asterisk-users] Using Asterisk and XMPP - AstriCon 2016
Hello. As I promised during the talk, this is the post with diaplans and tools that I used. https://www.mundoopensource.com.br/astricon-2016-asterisk-xmpp-talk/ Regards. Marcelo H. TerresIM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 http://www.asterisk.org/community/astricon-user-conference 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