<div dir="auto"><div>Hi Sebastian,</div><div dir="auto"><br></div><div dir="auto">well end to end tests are quite useful. </div><div dir="auto"><br></div><div dir="auto">Personally I used scripting with freeswitch and python to call endpoints and check if billing seconds are in an correct range that I assume before. </div><div dir="auto"><br></div><div dir="auto">That script can be run from monitoring like icinga or whatever. </div><div dir="auto"><br></div><div dir="auto">I also used Asterisk for testing end to end. But that are all big b2buas. </div><div dir="auto"><br></div><div dir="auto">Voip_patrol was new for me. Always happy to subscribe this list. </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten Horsmann </div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Sebastian Damm <<a href="mailto:damm@sipgate.de">damm@sipgate.de</a>> schrieb am Do., 19. Dez. 2019, 15:20:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Julien,<br>
<br>
I had been thinking quite a while before posting it here, and maybe I<br>
shouldn't have mentioned the sipp SSL error. But I thought, end2end<br>
testing of kamailio setups could be of general interest from a<br>
Kamailio user point of view. And I hoped to get suggestions on how to<br>
do it.<br>
<br>
Thanks for the link to voip_patrol. I'm already playing with it. Still<br>
stuck with needing a client certificate, though. I shouldn't need that<br>
for a client, I'd think. But I'll try my best.<br>
<br>
Regards,<br>
Sebastian<br>
<br>
On Wed, Dec 18, 2019 at 7:31 PM Julien Chavanton <<a href="mailto:jchavanton@gmail.com" target="_blank" rel="noreferrer">jchavanton@gmail.com</a>> wrote:<br>
><br>
> Hi Sebastian, this is off topic for the Kamailio mailing list.<br>
><br>
> You can use Voip_patrol :<br>
> <a href="https://github.com/jchavanton/voip_patrol" rel="noreferrer noreferrer" target="_blank">https://github.com/jchavanton/voip_patrol</a><br>
><br>
> Once you have your certificate, key and ca_list in default location<br>
> ./voip_patrol -c ./xml/tls.xml<br>
><br>
> [18:24:51.800][INFO] main: TLS tcfg.tlsConfig.ca_list      :tls/ca_list.pem<br>
> [18:24:51.800][INFO] main: TLS tcfg.tlsConfig.certFile     :tls/certificate.pem<br>
> [18:24:51.800][INFO] main: TLS tcfg.tlsConfig.privKeyFile  :tls/key.pem<br>
><br>
> tls.xml<br>
><br>
> <?xml version="1.0"?><br>
> <config><br>
>     <actions><br>
>         <action type="register" transport="tls" expected_cause_code="200" username="VP_ENV_USERNAME" password="VP_ENV_PASSWORD" realm="<a href="http://domain.com" rel="noreferrer noreferrer" target="_blank">domain.com</a>" registrar="<a href="http://ep.domain.com" rel="noreferrer noreferrer" target="_blank">ep.domain.com</a>"/><br>
>         <action type="wait" complete/><br>
>         <action type="accept" account="VP_ENV_USERNAME" max_duration="20" hangup="5"/><br>
>         <action type="call"  transport="tls"<br>
>             wait_until="3" expected_cause_code="200"<br>
>             caller="<a href="mailto:12062349971@1.1.1.1" target="_blank" rel="noreferrer">12062349971@1.1.1.1</a>" callee="<a href="mailto:12012343238@ep.domain.com" target="_blank" rel="noreferrer">12012343238@ep.domain.com</a>" max_duration="15" hangup="5"<br>
>             username="VP_ENV_USERNAME" password="VP_ENV_PASSWORD" realm="<a href="http://domain.com" rel="noreferrer noreferrer" target="_blank">domain.com</a>"<br>
>         /><br>
>         <action type="wait" complete/><br>
>     </actions><br>
> </config><br>
><br>
> On Wed, Dec 18, 2019 at 8:34 AM Sebastian Damm <<a href="mailto:damm@sipgate.de" target="_blank" rel="noreferrer">damm@sipgate.de</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I'm trying to construct an end-to-end encrypted signalling test<br>
>> through our setup. I thought I could use sipp for that, as it supports<br>
>> TLS according to the man page. However, when I try to run it, I get<br>
>> this error:<br>
>><br>
>> FI_init_ssl_context: SSL_CTX_use_certificate_file failed.<br>
>><br>
>> I searched the web; however, all similar questions end up without<br>
>> answers. I tried specifying a local key and cert without success. I'd<br>
>> think I should not need a cert for my client, though.<br>
>><br>
>> Has anyone ever successfully conducted an automated TLS test? I'm open<br>
>> to using a different tool if necessary.<br>
>><br>
>> Thanks for all hints or examples.<br>
>><br>
>> Regards,<br>
>> Sebastian<br>
>><br>
>> --<br>
>> Sebastian Damm<br>
>> Voice Engineer<br>
>> __________________________________________<br>
>> sipgate GmbH<br>
>> Gladbacher Straße 74 | 40219 Düsseldorf<br>
>><br>
>> _______________________________________________<br>
>> Kamailio (SER) - Users Mailing List<br>
>> <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
>> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<br>
<br>
-- <br>
Sebastian Damm<br>
Voice Engineer<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div>