Asterisk
  1. Asterisk
  2. ASTERISK-26026

res_pjsip: Error on configuring PJSIP multi domain

    Details

    • Type: Bug Bug
    • Status: Open
    • Severity: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 13.9.0, 13.9.1
    • Target Release Version/s: None
    • Component/s: Resources/res_pjsip
    • Security Level: None
    • Labels:
      None
    • Environment:
      CentOS 7.X VPS - Digital Ocean
    • Frequency of Occurrence:
      Constant

      Description

      I'm Trying to configure PJSIP in a multi domain escenario. My Endpoint configuration is:

      [1000@sip.domain.com]
      type=endpoint
      context=externas-pjsip
      disallow=all
      allow=ulaw,g722
      accountcode=1000
      language=es
      mailboxes=1000@default
      dtmf_mode=rfc4733
      callerid=Fulano <1000>
      direct_media=no
      force_rport=yes
      rtp_symmetric=yes
      rewrite_contact=yes
      call_group=1
      pickup_group=1
      transport=no-nat
      auth=aut1000
      aors=1000
      
      [aut1000]
      type=auth
      auth_type=userpass
      password=password
      username=1000
      
      [1000]
      type=aor
      max_contacts=1
      remove_existing=yes
      qualify_frequency=30
      

      When I register a Softphone (XLITE) on the Asterisk console i can see:

      ERROR[11156]: res_pjsip.c:2946 create_out_of_dialog_request: Unable to create outbound OPTIONS request to endpoint 1000@sip.domain.com
      ERROR[11156]: res_pjsip/pjsip_options.c:350 qualify_contact: Unable to create request to qualify contact sip:1000@95.250.29.3:55448;rinstance=ae1fb142f87db1a2
      
      ERROR[11156]: res_pjsip.c:2946 create_out_of_dialog_request: Unable to create outbound NOTIFY request to endpoint 1000@sip.domain.com
      WARNING[11156]: res_pjsip_mwi.c:379 send_unsolicited_mwi_notify_to_contact: Unable to create unsolicited NOTIFY request to endpoint 1000@sip1.voztovoice.net URI sip:1000@95.250.29.3:55448;rinstance=ae1fb142f87db1a2
      

      The Endpoint appear registered but can't receive calls because qualify don't work.

      1. debug_log_pjsip.txt
        83 kB
        Andrea Sannucci
      2. debug_log_pjsip.txt
        83 kB
        Andrea Sannucci

        Issue Links

          Activity

          Hide
          Asterisk Team added a comment -

          Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

          A good first step is for you to review the Asterisk Issue Guidelines if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

          Then, if you are submitting a patch, please review the Patch Contribution Process.

          Show
          Asterisk Team added a comment - Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the Asterisk Issue Guidelines if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the Patch Contribution Process .
          Hide
          Rusty Newton added a comment -

          We require additional debug to continue with triage of your issue. Please follow the instructions on the wiki [1] for how to collect debugging information from Asterisk. For expediency, where possible, attach the debug with a '.txt' file extension so that the debug will be usable for further analysis.

          Thanks!

          [1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

          Show
          Rusty Newton added a comment - We require additional debug to continue with triage of your issue. Please follow the instructions on the wiki [1] for how to collect debugging information from Asterisk. For expediency, where possible, attach the debug with a '.txt' file extension so that the debug will be usable for further analysis. Thanks! [1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
          Hide
          Rusty Newton added a comment -

          Please follow the debug instructions precisely and verify that your logs contain verbose,warning,error,notice,debug messages before attaching to the issue.

          Make sure the log includes the registration of the endpoint as well as the "unable to create OPTIONS" messages as well.

          In addition - include the output of "pjsip show endpoint <endpoint name>" for the endpoint in question.

          Show
          Rusty Newton added a comment - Please follow the debug instructions precisely and verify that your logs contain verbose,warning,error,notice,debug messages before attaching to the issue. Make sure the log includes the registration of the endpoint as well as the "unable to create OPTIONS" messages as well. In addition - include the output of "pjsip show endpoint <endpoint name>" for the endpoint in question.
          Hide
          Andrea Sannucci added a comment -

          Helo,

          the debug file required

          Regards

          Show
          Andrea Sannucci added a comment - Helo, the debug file required Regards
          Hide
          Andrea Sannucci added a comment -

          The debug file

          Show
          Andrea Sannucci added a comment - The debug file
          Hide
          Andrea Sannucci added a comment - - edited

          Any News?

          Show
          Andrea Sannucci added a comment - - edited Any News?
          Hide
          Joshua Colp added a comment -

          If there is anything it will be posted on this issue.

          Show
          Joshua Colp added a comment - If there is anything it will be posted on this issue.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development