I have looked thought the issues, docs... on how to connect via ws. The only reference that I have found is specifying the transport.
I have tried to connect to my asterisk instance with a sipUri like sip:trunk.mydomain.com:8088/ws;transport=ws of course I have tried the canonical that I use with our softphone 008 ws:trunk.mydomain.com:8088/ws but no luck yet.
Error: invalid request-uri: REGISTER ws:trunk.mydomain.com:8088/ws;transport=ws SIP/2.0
at DrachtioAgent.<anonymous> (/Users/davidgortega/Documents/projects/kunzite/008Q/node_modules/drachtio-srf/lib/drachtio-agent.js:315:21)
at DrachtioAgent._onMsg (/Users/davidgortega/Documents/projects/kunzite/008Q/node_modules/drachtio-srf/lib/drachtio-agent.js:749:11)
at WireProtocol.emit (node:events:517:28)
at WireProtocol._onData (/Users/davidgortega/Documents/projects/kunzite/008Q/node_modules/drachtio-srf/lib/wire-protocol.js:306:14)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
with sip:trunk.mydomain.com:8088/ws;transport=ws drachtio-server crashes
drachtio-server | 2024-10-17 13:54:28.202854 SipDialogController::doSendRequestOutsideDialog - using client-specified call-id: 678896
drachtio-server | 2024-10-17 13:54:28.202905 isLocalSipUri: checking to see if this is one of mine: sip:trunk.mydomain.com:8088ws;transport=ws
drachtio-server | drachtio: sip_basic.c:240: sip_request_create: Assertion `b == end' failed.
Hi!
I have looked thought the issues, docs... on how to connect via ws. The only reference that I have found is specifying the transport.
I have tried to connect to my asterisk instance with a
sipUri
likesip:trunk.mydomain.com:8088/ws;transport=ws
of course I have tried the canonical that I use with our softphone 008ws:trunk.mydomain.com:8088/ws
but no luck yet.Im trying with
ws:trunk.mydomain.com:8088/ws
gives the errorwith
sip:trunk.mydomain.com:8088/ws;transport=ws
drachtio-server crashesAny help would be appreciated. Thanks