0 Replies Latest reply on May 21, 2014 4:33 AM by Marcin

    JitsiVideobridge SIP Registration

    Marcin

      Im trying to use my SIP account (iptel.org) to test voice call into conference for SIP clients.

       

      I configured parameters in SIP Registration section in web panel (jisti videobridge plugin page).

       

      SIP Registration

      Username - (MYACCOUNTNAME part from MYACCOUNTNAME@iptel.org)

      Password - password for account

      Registration Server - iptel.org

      Outbound Proxy - iptel.org

       

      When Openfire starts its trying to register for SIP but without success.

      Somehow its using default admin values instead of my MYACCOUNTNAME.

       

      2014.05.16 12:24:19 org.ifsoft.sip.SipService - VoiceBridge adding SIP registration: admin with user admin host iptel.org

       

      SIP:

      ------------------------------------------------------------------------

      REGISTER sip:iptel.org;transport=udp SIP/2.0

      Call-ID: 730e4d4e3f073aebd40b4e0ad612606c@172.16.0.2

      Max-Forwards: 70

      Expires: 120

      Contact: "admin" <sip:admin@iptel.org:5070;transport=udp>

      Route: <sip:iptel.org;lr>

      CSeq: 2 REGISTER

      Via: SIP/2.0/UDP 172.16.0.2:5070;branch=z9hG4bK-373132-80eb3e34ad38e284504914c977b65745

      Authorization: Digest username="MYACCOUNTNAME",realm="iptel.org",nonce="U3XnjlN151Lh4tOCobZ8hHq9UzBGN SJX",uri="sip:iptel.org;transport=udp",response="124d041db12964e50887269ea75f737 b"

      From: "admin" <sip:admin@iptel.org:5070;transport=udp>;tag=15116131

      To: "admin" <sip:admin@iptel.org:5070;transport=udp>

      Content-Length: 0

      ------------------------------------------------------------------------

      in response i receive from iptel.org the message:

      ------------------------------------------------------------------------

      SIP/2.0 403 Authentication and To-Header mismatch

      Call-ID: 730e4d4e3f073aebd40b4e0ad612606c@172.16.0.2

      CSeq: 2 REGISTER

      Via: SIP/2.0/UDP 172.16.0.2:5070;branch=z9hG4bK-373132-80eb3e34ad38e284504914c977b65745;received =31.135.200.20

      From: "admin" <sip:admin@iptel.org:5070;transport=udp>;tag=15116131

      To: "admin" <sip:admin@iptel.org:5070;transport=udp>;tag=2CC55A45-5375E75500003E03-F9E02700

      Expires: 600

      Min-Expires: 240

      Server: ser (3.3.0-pre1 (i386/linux))

      Warning: 392 192.168.0.85:5060 "Noisy feedback tells:  pid=1445 req_src_ip=192.168.0.155 req_src_port=5060 in_uri=sip:iptel.org;transport=udp out_uri=sip:iptel.org;transport=udp via_cnt==1"

      Content-Length: 0

       

      ------------------------------------------------------------------------

       

      I followed the line from my log:

      2014.05.16 12:24:19 org.ifsoft.sip.SipService - VoiceBridge adding SIP registration: admin with user admin host iptel.org

       

      and i found reading the values from properties file:

      (src/plugins/jitsivideobridge/src/java/org/ifsoft/sip/SipService.java)

      ------------------------------------------------------------------------

      String name = JiveGlobals.getProperty("voicebridge.default.proxy.name", "admin");

      String username = JiveGlobals.getProperty("voicebridge.default.proxy.username", name);

      String sipusername = JiveGlobals.getProperty("voicebridge.default.proxy.sipusername", name);

      String displayname = JiveGlobals.getProperty("voicebridge.default.proxy.sipdisplayname", name);

      String password = JiveGlobals.getProperty("voicebridge.default.proxy.sippassword", name);

      String stunServer = JiveGlobals.getProperty("voicebridge.default.proxy.stunserver", localip);

      String stunPort = JiveGlobals.getProperty("voicebridge.default.proxy.stunport", "3478");

      String voicemail = JiveGlobals.getProperty("voicebridge.default.proxy.voicemail", name);

      String outboundproxy = JiveGlobals.getProperty("voicebridge.default.proxy.outboundproxy", localip);

      ------------------------------------------------------------------------

       

      Do I have to create any properties file to set the sip account values?

      Does anyone knows how to configure this correctly?

       

       

      EDIT:

       

      I solved this problem.

      Define properties in server properties page.

       

      voicebridge.default.proxy.name

      voicebridge.default.proxy.username

      voicebridge.default.proxy.sipusername

      voicebridge.default.proxy.sipdisplayname

      voicebridge.default.proxy.sippassword

      voicebridge.default.proxy.stunserver

      voicebridge.default.proxy.voicemail

      voicebridge.default.proxy.outboundproxy