using latest git checkout, when starting sofia sip stack, the stack fails due to bas protocol

94 views
Skip to first unread message

Bobby Hakimi

unread,
Nov 10, 2015, 1:09:32 AM11/10/15
to meetecho-janus
i try using the sip webrtc module and this is what i get when i attempt to register, i use sofia-sip 1.12.11. please let me know if there is anything else you guys need. btw love the project =)


anus.c:janus_ws_handler:581] Processing HTTP POST request on /janus/533647822/1476096338...
[janus.c:janus_ws_handler:646]  ... parsing request...
Session: 533647822
Handle: 1476096338
Processing POST data (application/json) (0 bytes)...
[janus.c:janus_ws_handler:701] Done getting payload, we can answer
{"janus":"message","body":{"request":"register","username":"sip:1...@208.78.138.35","secret":"password"},"transaction":"oCPVNNlJSyE4"}
[1476096338] There's a message for JANUS SIP plugin
{
   "request": "register",
   "username": "sip:1...@208.78.138.35",
   "secret": "password"
}
Creating plugin result...
Destroying plugin result...
[janus.c:janus_ws_request_completed:2930] Request completed, freeing data
Handling message: {
   "request": "register",
   "username": "sip:1...@208.78.138.35",
   "secret": "password"
}
Registering user sip:1...@208.78.138.35 (secret password) @ 208.78.138.35 through (null)
Joining sofia loop thread (128)...
Setting up sofia stack (sip:1...@208.78.138.103)
nta: bind(208.78.138.103:*;transport=*): Protocol not supported
nua: initializing SIP stack failed
[ERR] [plugins/janus_sip.c:janus_sip_handler:1187] Two seconds passed and still no NUA, problems with the thread?
Pushing event: {
   "sip": "event",
   "error_code": 499,
   "error": "Two seconds passed and still no NUA, problems with the thread?"
}
[1476096338] Adding event to queue of messages...
  >> 0 (Success)
We have a message to serve...
        {
   "janus": "event",
   "session_id": 533647822,
   "sender": 1476096338,
   "transaction": "oCPVNNlJSyE4",
   "plugindata": {
      "plugin": "janus.plugin.sip",
      "data": {
         "sip": "event",
         "error_code": 499,
         "error": "Two seconds passed and still no NUA, problems with the thread?"
      }
   }
}
[janus.c:janus_ws_request_completed:2930] Request completed, freeing data




Lorenzo Miniero

unread,
Nov 10, 2015, 4:41:35 AM11/10/15
to meetecho-janus
Not sure what the cause is, works fine here on my Fedora 22 with the same Sofia-SIP version.
Try manually setting the proxy as well in the request to see if it helps.

L.

Bobby Hakimi

unread,
Nov 10, 2015, 4:53:31 AM11/10/15
to meetecho-janus
set the proxy to the asterisk server ? 

Bobby Hakimi

unread,
Nov 10, 2015, 4:54:14 AM11/10/15
to meetecho-janus
i can give you access to the box if that would help?


On Tuesday, November 10, 2015 at 1:41:35 AM UTC-8, Lorenzo Miniero wrote:
Not sure what the cause is, works fine here on my Fedora 22 with the same Sofia-SIP version.
Try manually setting the proxy as well in the request to see if it helps.

L.

Il giorno martedì 10 novembre 2015 07:09:32 UTC+1, Bobby Hakimi ha scritto:
i try using the sip webrtc module and this is what i get when i attempt to register, i use sofia-sip 1.12.11. please let me know if there is anything else you guys need. btw love the project =)


anus.c:janus_ws_handler:581] Processing HTTP POST request on /janus/533647822/1476096338...
[janus.c:janus_ws_handler:646]  ... parsing request...
Session: 533647822
Handle: 1476096338
Processing POST data (application/json) (0 bytes)...
[janus.c:janus_ws_handler:701] Done getting payload, we can answer
{"janus":"message","body":{"request":"register","username":"sip...@208.78.138.35","secret":"password"},"transaction":"oCPVNNlJSyE4"}
[1476096338] There's a message for JANUS SIP plugin
{
   "request": "register",
   "username": "sip...@208.78.138.35",
   "secret": "password"
}
Creating plugin result...
Destroying plugin result...
[janus.c:janus_ws_request_completed:2930] Request completed, freeing data
Handling message: {
   "request": "register",
   "username": "sip...@208.78.138.35",
   "secret": "password"
}
Registering user sip...@208.78.138.35 (secret password) @ 208.78.138.35 through (null)
Joining sofia loop thread (128)...
Setting up sofia stack (sip...@208.78.138.103)
Reply all
Reply to author
Forward
0 new messages