Re: [asterisk-users] CURLOPT(useragent) fails with Set requires an '=' to be a valid assignment

2020-12-14 Thread Jonathan H
Of course! Thank you. I had not thought about escaping it because ";" is not a character I've normally had to escape. Thanks again for this - so obvious now you mention it. On Mon, 14 Dec 2020 at 18:54, Joshua C. Colp wrote: > > On Mon, Dec 14, 2020 at 2:51 PM Jonathan H wrote: >> >> Thank

Re: [asterisk-users] CURLOPT(useragent) fails with Set requires an '=' to be a valid assignment

2020-12-14 Thread Joshua C. Colp
On Mon, Dec 14, 2020 at 2:51 PM Jonathan H wrote: > Thank you. > > Yes, the useragent string does indeed contain semicolon, and as most > seem to, how can I set the (useragent) to a valid useragent? > > And does that mean I can never SET something with a semicolon in the > string, even if

Re: [asterisk-users] CURLOPT(useragent) fails with Set requires an '=' to be a valid assignment

2020-12-14 Thread Jonathan H
Thank you. Yes, the useragent string does indeed contain semicolon, and as most seem to, how can I set the (useragent) to a valid useragent? And does that mean I can never SET something with a semicolon in the string, even if wrapped in quotes? Sorry if I'm being thick here! Thanks On Mon,

[asterisk-users] Fwd: Asterisk 16.14.0 pjsip transport-tls cert parsing error

2020-12-14 Thread Ruisheng Peng
Hi, I'm experimenting with Asterisk-16.14.0 on a CentOS7 box, and run into problems loading the SSL certificate to establish transport-tls. Tried self-signed certificate generated with ast_tls_cert under contrib/scripts and the one issued by Letsencrypt, both would bomb out with a parsing

Re: [asterisk-users] CURLOPT(useragent) fails with Set requires an '=' to be a valid assignment

2020-12-14 Thread Richard Mudgett
There are semicolons in the useragent string you are trying to set. If that is the exact dialplan line then those semicolons are being seen as a start of a comment. Richard On Mon, Dec 14, 2020 at 12:25 PM Jonathan H wrote: > All my other CURLOPT settings like timeout work fine. But this: > >

[asterisk-users] CURLOPT(useragent) fails with Set requires an '=' to be a valid assignment

2020-12-14 Thread Jonathan H
All my other CURLOPT settings like timeout work fine. But this: same => n,Set(CURLOPT(useragent)="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.41 Safari/537.36") give the following warning on dialplan reload, with and without quotes around

Re: [asterisk-users] Can I turn off logging of Invalid packets received by PJSIP?

2020-12-14 Thread Joshua C. Colp
On Mon, Dec 14, 2020 at 1:04 PM Steve Sether wrote: > We get some noise in our Asterisk error file generated by scanners sending > invalid invites. Example below (details removed) > > This seems to be a feature added in pjsip. While it's often very useful > to log error packers, in our

[asterisk-users] Can I turn off logging of Invalid packets received by PJSIP?

2020-12-14 Thread Steve Sether
We get some noise in our Asterisk error file generated by scanners sending invalid invites.  Example below (details removed) [2020-12-0702:53:30]ERROR[23370]pjproject:sip_transport.c Error processing 559 bytes packet from UDP *** :PJSIPsyntaxerrorexceptionwhenparsing'Request

Re: [asterisk-users] Asterisk registrations - state?

2020-12-14 Thread Joshua C. Colp
On Tue, Dec 8, 2020 at 1:07 PM Antony Stone < antony.st...@asterisk.open.source.it> wrote: > Hi. > > I'm using Asterisk 16.2.1 with some registrations (ie: my Asterisk server > is > registering to other PBXs as though it were a telephone). > > Is there any way I can get presence / state