Re: [asterisk-users] PJSIP and Grandstream Wave with TSL and SRTP

2020-01-24 Thread hw
On Friday, January 24, 2020 6:25:48 PM CET Sean Bright wrote: > On 1/23/2020 6:04 PM, hw wrote: > >> This is what mine looks like which works just fine: > >> > >> [transport-tls] > >> type = transport > >> protocol = tls > >> method= tlsv1_2 > >> cipher= > >>

Re: [asterisk-users] Perl AGI: read variable with quotes

2020-01-24 Thread Steve Edwards
On Fri, 24 Jan 2020, Steve Edwards wrote: 2) How about doing 'GET FULL VARIABLE' in your Perl script? Sorry. After a couple more cups of tea I think this was a bit vague. Try whatever call/method in your library that does 'GET FULL VARIABLE' on '${PJSIP_HEADER(read,P-Asserted-Identity)}' in

Re: [asterisk-users] PJSIP and Grandstream Wave with TSL and SRTP

2020-01-24 Thread Sean Bright
On 1/23/2020 6:04 PM, hw wrote: This is what mine looks like which works just fine: [transport-tls] type = transport protocol = tls method= tlsv1_2 cipher= ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-AES128

Re: [asterisk-users] Perl AGI: read variable with quotes

2020-01-24 Thread Tony Mountifield
In article <20200124154749.46da5...@go.imp.ch>, Benoit Panizzon wrote: > Hi Gang > > I have stumbled of this problem. > > I need the P-Asserted-Identity header in an AGI scrip. > > In the Dial-Plan I do: > > same => n,Set(PAI=${PJSIP_HEADER(read,P-Asserted-Identity)}) > > In the AGI I do: >

Re: [asterisk-users] Perl AGI: read variable with quotes

2020-01-24 Thread Steve Edwards
On Fri, 24 Jan 2020, Benoit Panizzon wrote: I have stumbled of this problem. I need the P-Asserted-Identity header in an AGI scrip. In the Dial-Plan I do: same => n,Set(PAI=${PJSIP_HEADER(read,P-Asserted-Identity)}) In the AGI I do: my $pai = $AGI->get_variable(PAI); This works fine,

[asterisk-users] Perl AGI: read variable with quotes

2020-01-24 Thread Benoit Panizzon
Hi Gang I have stumbled of this problem. I need the P-Asserted-Identity header in an AGI scrip. In the Dial-Plan I do: same => n,Set(PAI=${PJSIP_HEADER(read,P-Asserted-Identity)}) In the AGI I do: my $pai = $AGI->get_variable(PAI); This works fine, unless the PAI contains quotes:

[asterisk-users] Example of ${CHANNEL(contact)} output ?

2020-01-24 Thread Olivier
Hello, My Asterisk 16.2 instance (Debian Buster package) has: same = n,Verbose(0,CHANNEL is ${CHANNEL}) same = n,Verbose(0,CHANNEL(accountcode) is ${CHANNEL(accountcode)}) same = n,Verbose(0,CHANNEL(contact) is ${CHANNEL(contact)}) same = n,Verbose(0,CHANNEL(endpoint) is ${CHANNEL(endpoint)})