Re: [OpenSIPS-Users] Opensips 3.2 install issue with WolfSSL in CentOS7

2021-11-29 Thread Virendra Bhati via Users
Thank you Callum for providing information of automake custom RPM.  Now I
installed required CentOS 7 automake-1.14 with the help of below commands

[opensips-3.2]# rpm -ivh
http://repo.okay.com.mx/centos/7/x86_64/release/automake-1.14-1.el7.x86_64.rpm

[opensips-3.2]# yum install automake libtool


But still opensips 3.2 is not installed due to tls_wolfssl error.


make[2]: Entering directory
`/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
make[2]: Leaving directory `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
make[2]: Entering directory
`/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
configure: error: cannot find install-sh, install.sh, or shtool in
build-aux "."/build-aux
make[2]: *** [lib/lib/libwolfssl.a] Error 1
make[2]: Leaving directory `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/bhati/opensips-3.2'
Press any key to return to menuconfig

I have all files of WolfSSL in directory

[root@ip-172-31-7-46 tls_wolfssl]# ls
doc  Makefile  wolfssl_api.h  wolfssl_config.c  wolfssl_conn_ops.c
 wolfssl.d  wolfssl_tls_vars.c  wolfssl_trace.h
lib  READMEwolfssl.c  wolfssl_config.d  wolfssl_conn_ops.d
 wolfssl.h  wolfssl_tls_vars.d
*Please suggest it to me.*

--
Regards



On Tue, Nov 30, 2021 at 1:56 AM Callum Guy  wrote:

> You could try to install the required version?
>
> https://centos.pkgs.org/7/okey-x86_64/automake-1.14-1.el7.x86_64.rpm.html
>
> On Mon, 29 Nov 2021 at 11:52, Virendra Bhati via Users <
> users@lists.opensips.org> wrote:
>
>> Dear Team,
>> I am not able to install Opensips 3.2. I am facing an issue with Automake
>> requiring version 1.14.1but CentOS 7.x have 1.13.X
>>
>> Please suggest the best way to overcome this problem.
>>
>> Linking avpops.so
>> make[2]: Leaving directory `/usr/src/bhati/opensips-3.2/modules/avpops'
>>
>>
>> make[2]: Entering directory
>> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
>> make[2]: Leaving directory
>> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
>> make[2]: Entering directory
>> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
>> configure: error: cannot find install-sh, install.sh, or shtool in
>> build-aux "."/build-aux
>> make[2]: *** [lib/lib/libwolfssl.a] Error 1
>> make[2]: Leaving directory
>> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
>> make[1]: *** [modules] Error 2
>> make[1]: Leaving directory `/usr/src/bhati/opensips-3.2'
>>
>>
>> --
>> Regards
>> Virendra Bhati
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> *0333 332   |  x-on.co.uk   |   **
>    
>    **  |  Coronavirus
> **
> |  Practice Index Reviews *
>
> THE ITSPA AWARDS 2020  AND Best
> ITSP - Mid Market, Best Software and Best Vertical Solution are trade marks
> of the Internet Telephony Services Providers' Association, used under
> licence.
>
> *Our new office address: 22 Riduna Park, Melton IP12 1QT.*
>
> X-on is a trading name of Storacall Technology Ltd a limited company
> registered in England and Wales.
> Registered Office : Avaland House, 110 London Road, Apsley, Hemel
> Hempstead, Herts, HP3 9SD. Company Registration No. 2578478.
> The information in this e-mail is confidential and for use by the
> addressee(s) only. If you are not the intended recipient, please notify
> X-on immediately on +44(0)333 332  and delete the
> message from your computer. If you are not a named addressee you must not
> use, disclose, disseminate, distribute, copy, print or reply to this email. 
> Views
> or opinions expressed by an individual
> within this email may not necessarily reflect the views of X-on or its
> associated companies. Although X-on routinely screens for viruses,
> addressees should scan this email and any attachments
> for viruses. X-on makes no representation or warranty as to the absence of
> viruses in this email or any attachments.
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips 3.2 install issue with WolfSSL in CentOS7

2021-11-29 Thread Callum Guy
You could try to install the required version?

https://centos.pkgs.org/7/okey-x86_64/automake-1.14-1.el7.x86_64.rpm.html

On Mon, 29 Nov 2021 at 11:52, Virendra Bhati via Users <
users@lists.opensips.org> wrote:

> Dear Team,
> I am not able to install Opensips 3.2. I am facing an issue with Automake
> requiring version 1.14.1but CentOS 7.x have 1.13.X
>
> Please suggest the best way to overcome this problem.
>
> Linking avpops.so
> make[2]: Leaving directory `/usr/src/bhati/opensips-3.2/modules/avpops'
>
>
> make[2]: Entering directory
> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
> make[2]: Leaving directory
> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
> make[2]: Entering directory
> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
> configure: error: cannot find install-sh, install.sh, or shtool in
> build-aux "."/build-aux
> make[2]: *** [lib/lib/libwolfssl.a] Error 1
> make[2]: Leaving directory
> `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/bhati/opensips-3.2'
>
>
> --
> Regards
> Virendra Bhati
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 






*0333 332   |  x-on.co.uk   |   ** 
    
   **  |  Coronavirus 
**  |  
Practice Index Reviews *


THE ITSPA 
AWARDS 2020  AND Best ITSP - Mid 
Market, Best Software and Best Vertical Solution are trade marks of the 
Internet Telephony Services Providers' Association, used under licence.

*Our new office address: 22 Riduna Park, Melton IP12 1QT.*

X-on
is a 
trading name of Storacall Technology Ltd a limited company registered in
England and Wales.

Registered Office : Avaland House, 110 London Road, 
Apsley, Hemel Hempstead,
Herts, HP3 9SD. Company Registration No. 2578478.

The information in this e-mail is confidential and for use by the 
addressee(s)
only. If you are not the intended recipient, please notify 
X-on immediately on +44(0)333 332  and delete the
message from your 
computer. If you are not a named addressee you must not use,
disclose, 
disseminate, distribute, copy, print or reply to this email. Views
or 
opinions expressed by an individual
within this email may not necessarily
reflect the views of X-on or its associated companies. Although X-on 
routinely
screens for viruses, addressees should scan this email and any 
attachments
for
viruses. X-on makes no representation or warranty as to the 
absence of viruses
in this email or any attachments.










___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Parse P-Asserted-Identity

2021-11-29 Thread Ben Newlin
Mickael,

The PAI header is not just a parameter list, so you can’t use that 
transformation directly. The PAI header follows the name-addr spec and the 
params are part of the URI. So it would be something like one of the following.

$(ai{uri.param,privacy}) [1]
$(ai{nameaddr.param, privacy}) [2]

You may even have to combine the two if the parameters are associated with the 
uri in the name-addr:

$(ai{nameaddr.uri}{uri.param,privacy})

You should try printing out things like $(ai{nameaddr.uri}) or 
$(ai{uri.params}) to see what you get and help narrow down where the parameters 
are located. I always get confused by uri params vs host params vs name-addr 
params.

I will point out that the P-Asserted-Identity spec doesn’t actually define a 
privacy parameter like this. Privacy for PAI is indicated by the Privacy 
header, which is a separate header. For indicating privacy of the PAI header 
contents, the Privacy header should have a value of “id”. In fact, these 
parameters all seem to be ones typically used with the Remote-Party-ID (RPID) 
header, not the PAI header. [3] [4] [5]

You can check the presence and value of the Privacy header with something like 
this:

if (is_present_hf("Privacy") && ($hdr(Privacy) =~ "id|user")) {
  // do stuff
}

[1] https://www.opensips.org/Documentation/Script-Tran-3-2#toc38
[2] https://www.opensips.org/Documentation/Script-Tran-3-2#toc70
[3] https://datatracker.ietf.org/doc/html/rfc3325
[4] https://datatracker.ietf.org/doc/html/rfc3323
[5] https://datatracker.ietf.org/doc/html/draft-ietf-sip-privacy-04

Ben Newlin

From: Users  on behalf of Mickael MONSIEUR 

Date: Monday, November 29, 2021 at 9:32 AM
To: OpenSIPS users mailling list 
Subject: Re: [OpenSIPS-Users] Parse P-Asserted-Identity
No more result with:
xlog("L_NOTICE","P-Asserted-Identity param =
$(hdr(P-Asserted-Identity){param.value,privacy})\n");

Nov 29 14:17:13 [16103] P-Asserted-Identity param = 

Le lun. 29 nov. 2021 à 13:44, Mickael MONSIEUR
 a écrit :
>
> Hello,
>
> xlog("L_NOTICE","P-Asserted-Identity params = $(ai{param.value,privacy})\n");
>
> Nov 29 13:43:34 [15988] P-Asserted-Identity params = 
>
> Le lun. 29 nov. 2021 à 13:32, David Villasmil
>  a écrit :
> >
> > https://www.opensips.org/Documentation/Script-Tran-2-4#toc60
> >
> > Regards,
> >
> > David Villasmil
> > email: david.villasmil.w...@gmail.com
> > phone: +34669448337
> >
> >
> > On Mon, Nov 29, 2021 at 12:22 PM Mickael MONSIEUR 
> >  wrote:
> >>
> >> Hello,
> >>
> >> My provider add to my INVITE's :
> >>
> >> P-Asserted-Identity: "Anonymous"
> >> ;party=calling;privacy=yes;screen=no
> >>
> >> Whether the call should be Anonymized to end-users.
> >>
> >> How to get the value of "privacy" ?
> >>
> >> I try:
> >>
> >> if( $(ai{privacy}) == "yes" )
> >>
> >> But it does not work. (error when starting opensips)
> >>
> >> Thanks
> >>
> >> ___
> >> Users mailing list
> >> Users@lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Parse P-Asserted-Identity

2021-11-29 Thread Mickael MONSIEUR
No more result with:
xlog("L_NOTICE","P-Asserted-Identity param =
$(hdr(P-Asserted-Identity){param.value,privacy})\n");

Nov 29 14:17:13 [16103] P-Asserted-Identity param = 

Le lun. 29 nov. 2021 à 13:44, Mickael MONSIEUR
 a écrit :
>
> Hello,
>
> xlog("L_NOTICE","P-Asserted-Identity params = $(ai{param.value,privacy})\n");
>
> Nov 29 13:43:34 [15988] P-Asserted-Identity params = 
>
> Le lun. 29 nov. 2021 à 13:32, David Villasmil
>  a écrit :
> >
> > https://www.opensips.org/Documentation/Script-Tran-2-4#toc60
> >
> > Regards,
> >
> > David Villasmil
> > email: david.villasmil.w...@gmail.com
> > phone: +34669448337
> >
> >
> > On Mon, Nov 29, 2021 at 12:22 PM Mickael MONSIEUR 
> >  wrote:
> >>
> >> Hello,
> >>
> >> My provider add to my INVITE's :
> >>
> >> P-Asserted-Identity: "Anonymous"
> >> ;party=calling;privacy=yes;screen=no
> >>
> >> Whether the call should be Anonymized to end-users.
> >>
> >> How to get the value of "privacy" ?
> >>
> >> I try:
> >>
> >> if( $(ai{privacy}) == "yes" )
> >>
> >> But it does not work. (error when starting opensips)
> >>
> >> Thanks
> >>
> >> ___
> >> Users mailing list
> >> Users@lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Parse P-Asserted-Identity

2021-11-29 Thread Mickael MONSIEUR
Hello,

xlog("L_NOTICE","P-Asserted-Identity params = $(ai{param.value,privacy})\n");

Nov 29 13:43:34 [15988] P-Asserted-Identity params = 

Le lun. 29 nov. 2021 à 13:32, David Villasmil
 a écrit :
>
> https://www.opensips.org/Documentation/Script-Tran-2-4#toc60
>
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
>
>
> On Mon, Nov 29, 2021 at 12:22 PM Mickael MONSIEUR 
>  wrote:
>>
>> Hello,
>>
>> My provider add to my INVITE's :
>>
>> P-Asserted-Identity: "Anonymous"
>> ;party=calling;privacy=yes;screen=no
>>
>> Whether the call should be Anonymized to end-users.
>>
>> How to get the value of "privacy" ?
>>
>> I try:
>>
>> if( $(ai{privacy}) == "yes" )
>>
>> But it does not work. (error when starting opensips)
>>
>> Thanks
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Parse P-Asserted-Identity

2021-11-29 Thread David Villasmil
https://www.opensips.org/Documentation/Script-Tran-2-4#toc60

Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337


On Mon, Nov 29, 2021 at 12:22 PM Mickael MONSIEUR <
mickael.monsi...@gmail.com> wrote:

> Hello,
>
> My provider add to my INVITE's :
>
> P-Asserted-Identity: "Anonymous"
> ;party=calling;privacy=yes;screen=no
>
> Whether the call should be Anonymized to end-users.
>
> How to get the value of "privacy" ?
>
> I try:
>
> if( $(ai{privacy}) == "yes" )
>
> But it does not work. (error when starting opensips)
>
> Thanks
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Parse P-Asserted-Identity

2021-11-29 Thread Mickael MONSIEUR
Hello,

My provider add to my INVITE's :

P-Asserted-Identity: "Anonymous"
;party=calling;privacy=yes;screen=no

Whether the call should be Anonymized to end-users.

How to get the value of "privacy" ?

I try:

if( $(ai{privacy}) == "yes" )

But it does not work. (error when starting opensips)

Thanks

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips 3.2 install issue with WolfSSL in CentOS7

2021-11-29 Thread Virendra Bhati via Users
Dear Team,
I am not able to install Opensips 3.2. I am facing an issue with Automake
requiring version 1.14.1but CentOS 7.x have 1.13.X

Please suggest the best way to overcome this problem.

Linking avpops.so
make[2]: Leaving directory `/usr/src/bhati/opensips-3.2/modules/avpops'


make[2]: Entering directory
`/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
make[2]: Leaving directory `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
make[2]: Entering directory
`/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
configure: error: cannot find install-sh, install.sh, or shtool in
build-aux "."/build-aux
make[2]: *** [lib/lib/libwolfssl.a] Error 1
make[2]: Leaving directory `/usr/src/bhati/opensips-3.2/modules/tls_wolfssl'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/bhati/opensips-3.2'


--
Regards
Virendra Bhati
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users