Re: [asterisk-users] how to flush user input before READ()

2016-01-18 Thread Ethy H. Brito
Hi All. No one ? Anyone? Cheers Ethy On Fri, 15 Jan 2016 15:37:51 -0200 "Ethy H. Brito" wrote: > > Hi > > how to flush user input before READ()? > > I wrote a small script to ask for user password before granting access to > outside, but some telefones memorize

Re: [asterisk-users] How to get PJSIP SIP messages in a log file and not in console ?

2016-01-18 Thread Olivier
2016-01-18 13:53 GMT+01:00 Olivier : > Hello, > > How should I configure Asterisk (13.7.0) to get persistently PJSIP SIP > messages in a log file and not in console ? > > I would expect adding "debug=yes" in pjsip.conf to produce the same output > as "pjsip set logger on". >

Re: [asterisk-users] Asterisk 13.6 + pjsip: sip2sip registers but incoming calls get "No matching endpoint found".

2016-01-18 Thread Jonathan H
Gh! 15 minutes after reading your answer, I had it working perfectly! Thank you! Before I type it up, here's what works for me - can you see any obvious flaws or hidden dangers here? - pjsip.conf

Re: [asterisk-users] How to get PJSIP SIP messages in a log file and not in console ?

2016-01-18 Thread Olivier
Changing my logger.conf file, I could get this: I> logger show channels Channel Type StatusConfiguration --- --- /var/log/asterisk/messages File Enabled- NOTICE WARNING ERROR

[asterisk-users] best practices - ari reconnect

2016-01-18 Thread Marek Červenka
hi, can you share your best practices for ARI reconnect when asterisk is restarted or when ari app is started before asterisk is fullybooted? we are using node.js + ari-client so we are thinking about these options: 1) wait for AMI event FullyBooted 2) wait for AMI reconnect and then run ARI

Re: [asterisk-users] how to flush user input before READ()

2016-01-18 Thread Steve Edwards
On Mon, 18 Jan 2016, Ethy H. Brito wrote: how to flush user input before READ()? How about a read() to a dummy variable with a 1 second timeout to consume the octothorpe and password? -- Thanks in advance, - Steve

Re: [asterisk-users] how to flush user input before READ()

2016-01-18 Thread Ethy H. Brito
On Mon, 18 Jan 2016 09:38:52 -0800 (PST) Steve Edwards wrote: > On Mon, 18 Jan 2016, Ethy H. Brito wrote: > > >> how to flush user input before READ()? > > How about a read() to a dummy variable with a 1 second timeout to consume > the octothorpe and password? It

Re: [asterisk-users] PJSIP Returning 421 Extension Required

2016-01-18 Thread Matthew Jordan
On Wed, Jan 13, 2016 at 12:58 PM, Trey Hilyard wrote: > I am turning up a PJSIP Endpoint and am having problems when they send an > INVITE to my server. Asterisk is returning a 421 Extenstion Required. Since > "extension" means different things in the SIP stack versus Asterisk,

[asterisk-users] Asterisk 13.6 + pjsip: sip2sip registers but incoming calls get "No matching endpoint found".

2016-01-18 Thread Jonathan H
Would greatly appreciate any input into this currently-unanswered question on the forum: http://forums.asterisk.org/viewtopic.php?f=1=96496 I posted it on Jan 6th, have tried so many things, so much forum/list searching and late nights since, but have had to admit defeat. Rather than duplicate

Re: [asterisk-users] Asterisk 13.6 + pjsip: sip2sip registers but incoming calls get "No matching endpoint found".

2016-01-18 Thread Joshua Colp
Jonathan H wrote: Would greatly appreciate any input into this currently-unanswered question on the forum: http://forums.asterisk.org/viewtopic.php?f=1=96496 I posted it on Jan 6th, have tried so many things, so much forum/list searching and late nights since, but have had to admit defeat.

[asterisk-users] How to get PJSIP SIP messages in a log file and not in console ?

2016-01-18 Thread Olivier
Hello, How should I configure Asterisk (13.7.0) to get persistently PJSIP SIP messages in a log file and not in console ? I would expect adding "debug=yes" in pjsip.conf to produce the same output as "pjsip set logger on". Am I understanding correctly ? Best regards --

[asterisk-users] Segmentation Fault Asterisk 13.7.0-rc2 (libmysqlclient?)

2016-01-18 Thread Matthew Murphy
Hi everyone, I am getting a segmentation fault (seems to occur randomly) using Asterisk 13.7.0-rc2 with PJProject 2.4.5. It appears to be something that libmysqlclient is complaining about when doing a query in ps_endpoint_id_ips. We are using Asterisk Realtime. This also seems to occur in