<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Mateusz,<br>
      <br>
      May I ask what is the connection of your question with OpenSIPS ?<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 09.02.2016 15:30, Mateusz Kowalski
      wrote:<br>
    </div>
    <blockquote cite="mid:2D75608E-C281-4309-AB34-09DEABD116A6@cern.ch"
      type="cite">
      <pre wrap="">Hello,
My problem is having Asterisk with PJSIP realtime (configured as <a class="moz-txt-link-freetext" href="https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip">https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip</a>) not binding to port 5060 (or any other) by default and thus not listening for the clients.
My demo configuration looks as follows:
pjsip.conf
        [transport-udp]
        type=transport
        protocol=udp
        bind=0.0.0.0
sorcery.conf
        [res_pjsip]
        endpoint=realtime,ps_endpoints
        auth=realtime,ps_auths
        aor=realtime,ps_aors
        domain_alias=realtime,ps_domain_aliases
        contact=realtime,ps_contacts
[res_pjsip_endpoint_identifier_ip]
        identify=realtime,ps_endpoint_id_ips
extconfig.conf
        [settings]
        ps_endpoints => odbc,asterisk
        ps_auths => odbc,asterisk
        ps_aors => odbc,asterisk
        ps_domain_aliases => odbc,asterisk
        ps_endpoint_id_ips => odbc,asterisk
        ps_contacts => odbc,asterisk
Unfortunately Google does not help at all. It is quite simple config, so I assumed it should work almost out-of-the-box. I've checked DB and it looks Asterisk can correctly connect and query data, the problem is with not binding the port itself.
Just if it my have impact, I have disabled module chan_sip completely.
Thanks for any help,
-- Mateusz</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>