We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use drachtio-fsmrf to play an audio file to a sip conference.
I have setup a drachtio server, and configured freeswitch's ESL to listen on a local port.
When attempting to create an endpoint, I encounter an issue.
The code connects to srf, mrf, then attempts to create an endpoint as such:
const Srf = require('drachtio-srf'); const Mrf = require('drachtio-fsmrf'); const srf = new Srf(); const mrf = new Mrf(srf); srf.connect({ host: "10.128.0.23", port: 9022, secret: "cymru" }); srf.on('connect', (err, hostport) => { console.log(`Connected to Drachtio on ${hostport}`); mrf.connect({ address: '10.128.0.23', port: 8021, secret: 'ClueCon', profile: 'drachtio_mrf' }, async (err, mediaserver) => { if (err) { console.error('Error connecting to FreeSWITCH:', err); return; } console.log('Connected to FreeSWITCH mediaserver'); // Test creating an endpoint try { const endpoint = await mediaserver.createEndpoint(); console.log('Successfully created an endpoint:', endpoint.local.sdp); // Optionally, you can tear down the endpoint after the test // endpoint.destroy(); } catch (err) { console.error('Error creating endpoint:', err); } }); });
The output from this code is as follows:
dupe@dupe-sip-src-1a:~/drachtio-node$ node test7.js Connected to Drachtio on tcp/10.128.0.23:10080,udp/10.128.0.23:10080,tcp/[::1]:10080,tcp/[::1]:10060,udp/[::1]:10080,udp/[::1]:10060,tcp/127.0.0.1:10080,tcp/127.0.0.1:10060,udp/127.0.0.1:10060,udp/127.0.0.1:10080,tcp/10.128.0.23:10060,udp/10.128.0.23:10060 Connected to FreeSWITCH mediaserver Error creating endpoint: SipError: Sip non-success response: 480 at Request.<anonymous> (/home/dupe/drachtio-node/node_modules/drachtio-srf/lib/srf.js:589:29) at Request.emit (node:events:514:28) at DrachtioAgent._onMsg (/home/dupe/drachtio-node/node_modules/drachtio-srf/lib/drachtio-agent.js:690:22) at WireProtocol.emit (node:events:514:28) at WireProtocol.processMessageBuffer (/home/dupe/drachtio-node/node_modules/drachtio-srf/lib/wire-protocol.js:293:12) at WireProtocol._onData (/home/dupe/drachtio-node/node_modules/drachtio-srf/lib/wire-protocol.js:326:14) at Socket.emit (node:events:514:28) at addChunk (node:internal/streams/readable:343:12) at readableAddChunk (node:internal/streams/readable:312:11) at Readable.push (node:internal/streams/readable:253:10) { status: 480, reason: 'Temporarily Unavailable', res: Response { _events: [Object: null prototype] {}, _eventsCount: 0, _maxListeners: undefined, _agent: DrachtioAgent { _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, puntUpTheMiddleware: [Function], params: Map(0) {}, mapServer: [Map], verbs: Map(0) {}, cdrHandlers: Map(0) {}, pendingSipAuthTxnIdUpdate: Map(0) {}, _listen: false, secret: 'cymru', tags: [], wp: [WireProtocol], [Symbol(kCapture)]: false }, msg: SipMessage { headers: [Object], raw: 'SIP/2.0 480 Temporarily Unavailable\r\n' + 'Via: SIP/2.0/UDP 10.128.0.23:10060;rport=10060;branch=z9hG4bK40FFUBtXrN4yD\r\n' + 'Max-Forwards: 70\r\n' + 'From: <sip:10.128.0.23:10060>;tag=7HaeH1pQ5vDBr\r\n' + 'To: <sip:[email protected]:13060>;tag=9B10paeat5Kmr\r\n' + 'Call-ID: 1189f70c-fde5-123c-2f92-42010a800017\r\n' + 'CSeq: 75447756 INVITE\r\n' + 'User-Agent: FreeSWITCH-mod_sofia/1.10.10-release+git~20230813T165739Z~4cb05e7f4a~64bit\r\n' + 'Accept: application/sdp\r\n' + 'Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE\r\n' + 'Supported: timer, path, replaces\r\n' + 'Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer\r\n' + 'Reason: Q.850;cause=96;text="MANDATORY_IE_MISSING"\r\n' + 'Content-Length: 0\r\n' + 'Remote-Party-ID: "drachtio" <sip:[email protected]>;party=calling;privacy=off;screen=no\r\n' + '\r\n', body: '', version: '2.0', status: 480, reason: 'Temporarily Unavailable', payload: [Array] }, finished: false, source: 'network', source_address: '10.128.0.23', source_port: 13060, protocol: 'udp', stackTime: '23:04:56.211302', stackTxnId: 'fc1ce28d-1197-4a3a-ba59-12049fa53cf1', stackDialogId: '1189f70c-fde5-123c-2f92-42010a800017;from-tag=7HaeH1pQ5vDBr', _req: Request { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: undefined, msg: [SipMessage], source: 'application', source_address: '10.128.0.23', source_port: 10060, protocol: 'udp', stackTime: '23:04:56.208939', stackTxnId: 'fc1ce28d-1197-4a3a-ba59-12049fa53cf1', stackDialogId: undefined, _agent: [DrachtioAgent], socket: [Socket], [Symbol(kCapture)]: false }, socket: Socket { connecting: false, _hadError: false, _parent: null, _host: null, _closeAfterHandlingError: false, _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: false, _sockname: [Object], _pendingData: null, _pendingEncoding: '', server: null, _server: null, _peername: [Object], [Symbol(async_id_symbol)]: 4, [Symbol(kHandle)]: [TCP], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: true, [Symbol(kSetKeepAlive)]: true, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0 }, [Symbol(kCapture)]: false } }
The freeswitch console shows an error related:
2023-11-14 22:53:35.607355 98.10% [INFO] sofia.c:8032 No SDP in INVITE and 3pcc not enabled, hanging up.
The complete log is below:
2023-11-14 22:49:28.527349 93.70% [NOTICE] switch_channel.c:1142 New Channel sofia/drachtio_mrf/[email protected]:10060 [d476a56e-ea43-4511-a61f-8f4b4c2ff6c8] 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_NEW (Cur 1 Tot 6) 2023-11-14 22:49:28.527349 93.70% [INFO] sofia.c:10459 sofia/drachtio_mrf/[email protected]:10060 receiving invite from 10.128.0.23:10060 version: 1.10.10-release git 4cb05e7 2023-08-13 16:57:39Z 64bit call-id: e89b1a2a-fde2-123c-2f92-42010a800017 2023-11-14 22:49:28.527349 93.70% [DEBUG] sofia.c:7493 Channel sofia/drachtio_mrf/[email protected]:10060 entering state [received][100] 2023-11-14 22:49:28.527349 93.70% [INFO] sofia.c:8032 No SDP in INVITE and 3pcc not enabled, hanging up. 2023-11-14 22:49:28.527349 93.70% [NOTICE] sofia.c:8034 Hangup sofia/drachtio_mrf/[email protected]:10060 [CS_NEW] [MANDATORY_IE_MISSING] 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:600 (sofia/drachtio_mrf/[email protected]:10060) State NEW 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_HANGUP (Cur 1 Tot 6) 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:844 (sofia/drachtio_mrf/[email protected]:10060) Callstate Change DOWN -> HANGUP 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP 2023-11-14 22:49:28.527349 93.70% [DEBUG] mod_sofia.c:469 Channel sofia/drachtio_mrf/[email protected]:10060 hanging up, cause: MANDATORY_IE_MISSING 2023-11-14 22:49:28.527349 93.70% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:59 sofia/drachtio_mrf/[email protected]:10060 Standard HANGUP, cause: MANDATORY_IE_MISSING 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP going to sleep 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:616 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_HANGUP -> CS_REPORTING 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_REPORTING (Cur 1 Tot 6) 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:168 sofia/drachtio_mrf/[email protected]:10060 Standard REPORTING, cause: MANDATORY_IE_MISSING 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING going to sleep 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:607 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_REPORTING -> CS_DESTROY 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_session.c:1744 Session 6 (sofia/drachtio_mrf/[email protected]:10060) Locked, Waiting on external entities 2023-11-14 22:49:28.527349 93.70% [NOTICE] switch_core_session.c:1762 Session 6 (sofia/drachtio_mrf/[email protected]:10060) Ended 2023-11-14 22:49:28.527349 93.70% [NOTICE] switch_core_session.c:1766 Close Channel sofia/drachtio_mrf/[email protected]:10060 [CS_DESTROY] 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:735 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_DESTROY (Cur 0 Tot 6) 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY 2023-11-14 22:49:28.527349 93.70% [DEBUG] mod_sofia.c:380 sofia/drachtio_mrf/[email protected]:10060 SOFIA DESTROY 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:175 sofia/drachtio_mrf/[email protected]:10060 Standard DESTROY 2023-11-14 22:49:28.527349 93.70% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY going to sleep 2023-11-14 22:52:27.247357 99.30% [NOTICE] mod_signalwire.c:401 Go to https://signalwire.com to set up your Connector now! Enter connection token 54e6da1f-1cdd-4555-9f16-7f2d26fe1348 2023-11-14 22:52:27.247357 99.30% [INFO] mod_signalwire.c:1125 Next SignalWire adoption check in 7 minutes 2023-11-14 22:53:35.607355 98.10% [NOTICE] switch_channel.c:1142 New Channel sofia/drachtio_mrf/[email protected]:10060 [6645b000-ae2e-43e9-b31c-23997271bca7] 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_NEW (Cur 1 Tot 7) 2023-11-14 22:53:35.607355 98.10% [INFO] sofia.c:10459 sofia/drachtio_mrf/[email protected]:10060 receiving invite from 10.128.0.23:10060 version: 1.10.10-release git 4cb05e7 2023-08-13 16:57:39Z 64bit call-id: 7be08b29-fde3-123c-2f92-42010a800017 2023-11-14 22:53:35.607355 98.10% [DEBUG] sofia.c:7493 Channel sofia/drachtio_mrf/[email protected]:10060 entering state [received][100] 2023-11-14 22:53:35.607355 98.10% [INFO] sofia.c:8032 No SDP in INVITE and 3pcc not enabled, hanging up. 2023-11-14 22:53:35.607355 98.10% [NOTICE] sofia.c:8034 Hangup sofia/drachtio_mrf/[email protected]:10060 [CS_NEW] [MANDATORY_IE_MISSING] 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:600 (sofia/drachtio_mrf/[email protected]:10060) State NEW 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_HANGUP (Cur 1 Tot 7) 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:844 (sofia/drachtio_mrf/[email protected]:10060) Callstate Change DOWN -> HANGUP 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP 2023-11-14 22:53:35.607355 98.10% [DEBUG] mod_sofia.c:469 Channel sofia/drachtio_mrf/[email protected]:10060 hanging up, cause: MANDATORY_IE_MISSING 2023-11-14 22:53:35.607355 98.10% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:59 sofia/drachtio_mrf/[email protected]:10060 Standard HANGUP, cause: MANDATORY_IE_MISSING 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP going to sleep 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:616 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_HANGUP -> CS_REPORTING 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_REPORTING (Cur 1 Tot 7) 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:168 sofia/drachtio_mrf/[email protected]:10060 Standard REPORTING, cause: MANDATORY_IE_MISSING 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING going to sleep 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:607 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_REPORTING -> CS_DESTROY 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_session.c:1744 Session 7 (sofia/drachtio_mrf/[email protected]:10060) Locked, Waiting on external entities 2023-11-14 22:53:35.607355 98.10% [NOTICE] switch_core_session.c:1762 Session 7 (sofia/drachtio_mrf/[email protected]:10060) Ended 2023-11-14 22:53:35.607355 98.10% [NOTICE] switch_core_session.c:1766 Close Channel sofia/drachtio_mrf/[email protected]:10060 [CS_DESTROY] 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:735 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_DESTROY (Cur 0 Tot 7) 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY 2023-11-14 22:53:35.607355 98.10% [DEBUG] mod_sofia.c:380 sofia/drachtio_mrf/[email protected]:10060 SOFIA DESTROY 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:175 sofia/drachtio_mrf/[email protected]:10060 Standard DESTROY 2023-11-14 22:53:35.607355 98.10% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY going to sleep 2023-11-14 22:56:58.967372 98.67% [NOTICE] switch_channel.c:1142 New Channel sofia/drachtio_mrf/[email protected]:10060 [37c04058-5f44-4767-b37c-04698f54fb41] 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_NEW (Cur 1 Tot 8) 2023-11-14 22:56:58.967372 98.67% [INFO] sofia.c:10459 sofia/drachtio_mrf/[email protected]:10060 receiving invite from 10.128.0.23:10060 version: 1.10.10-release git 4cb05e7 2023-08-13 16:57:39Z 64bit call-id: f5157fdb-fde3-123c-2f92-42010a800017 2023-11-14 22:56:58.967372 98.67% [DEBUG] sofia.c:7493 Channel sofia/drachtio_mrf/[email protected]:10060 entering state [received][100] 2023-11-14 22:56:58.967372 98.67% [INFO] sofia.c:8032 No SDP in INVITE and 3pcc not enabled, hanging up. 2023-11-14 22:56:58.967372 98.67% [NOTICE] sofia.c:8034 Hangup sofia/drachtio_mrf/[email protected]:10060 [CS_NEW] [MANDATORY_IE_MISSING] 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:600 (sofia/drachtio_mrf/[email protected]:10060) State NEW 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_HANGUP (Cur 1 Tot 8) 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:844 (sofia/drachtio_mrf/[email protected]:10060) Callstate Change DOWN -> HANGUP 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP 2023-11-14 22:56:58.967372 98.67% [DEBUG] mod_sofia.c:469 Channel sofia/drachtio_mrf/[email protected]:10060 hanging up, cause: MANDATORY_IE_MISSING 2023-11-14 22:56:58.967372 98.67% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:59 sofia/drachtio_mrf/[email protected]:10060 Standard HANGUP, cause: MANDATORY_IE_MISSING 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP going to sleep 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:616 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_HANGUP -> CS_REPORTING 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_REPORTING (Cur 1 Tot 8) 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:168 sofia/drachtio_mrf/[email protected]:10060 Standard REPORTING, cause: MANDATORY_IE_MISSING 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING going to sleep 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:607 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_REPORTING -> CS_DESTROY 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_session.c:1744 Session 8 (sofia/drachtio_mrf/[email protected]:10060) Locked, Waiting on external entities 2023-11-14 22:56:58.967372 98.67% [NOTICE] switch_core_session.c:1762 Session 8 (sofia/drachtio_mrf/[email protected]:10060) Ended 2023-11-14 22:56:58.967372 98.67% [NOTICE] switch_core_session.c:1766 Close Channel sofia/drachtio_mrf/[email protected]:10060 [CS_DESTROY] 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:735 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_DESTROY (Cur 0 Tot 8) 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY 2023-11-14 22:56:58.967372 98.67% [DEBUG] mod_sofia.c:380 sofia/drachtio_mrf/[email protected]:10060 SOFIA DESTROY 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:175 sofia/drachtio_mrf/[email protected]:10060 Standard DESTROY 2023-11-14 22:56:58.967372 98.67% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY going to sleep 2023-11-14 22:59:27.307356 99.33% [NOTICE] mod_signalwire.c:401 Go to https://signalwire.com to set up your Connector now! Enter connection token 54e6da1f-1cdd-4555-9f16-7f2d26fe1348 2023-11-14 22:59:27.307356 99.33% [INFO] mod_signalwire.c:1125 Next SignalWire adoption check in 8 minutes 2023-11-14 23:04:56.207352 99.07% [NOTICE] switch_channel.c:1142 New Channel sofia/drachtio_mrf/[email protected]:10060 [92816d95-03c5-4df8-a0da-d17d52d49aef] 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_NEW (Cur 1 Tot 9) 2023-11-14 23:04:56.207352 99.07% [INFO] sofia.c:10459 sofia/drachtio_mrf/[email protected]:10060 receiving invite from 10.128.0.23:10060 version: 1.10.10-release git 4cb05e7 2023-08-13 16:57:39Z 64bit call-id: 1189f70c-fde5-123c-2f92-42010a800017 2023-11-14 23:04:56.207352 99.07% [DEBUG] sofia.c:7493 Channel sofia/drachtio_mrf/[email protected]:10060 entering state [received][100] 2023-11-14 23:04:56.207352 99.07% [INFO] sofia.c:8032 No SDP in INVITE and 3pcc not enabled, hanging up. 2023-11-14 23:04:56.207352 99.07% [NOTICE] sofia.c:8034 Hangup sofia/drachtio_mrf/[email protected]:10060 [CS_NEW] [MANDATORY_IE_MISSING] 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:600 (sofia/drachtio_mrf/[email protected]:10060) State NEW 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_HANGUP (Cur 1 Tot 9) 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:844 (sofia/drachtio_mrf/[email protected]:10060) Callstate Change DOWN -> HANGUP 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP 2023-11-14 23:04:56.207352 99.07% [DEBUG] mod_sofia.c:469 Channel sofia/drachtio_mrf/[email protected]:10060 hanging up, cause: MANDATORY_IE_MISSING 2023-11-14 23:04:56.207352 99.07% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:59 sofia/drachtio_mrf/[email protected]:10060 Standard HANGUP, cause: MANDATORY_IE_MISSING 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:846 (sofia/drachtio_mrf/[email protected]:10060) State HANGUP going to sleep 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:616 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_HANGUP -> CS_REPORTING 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_REPORTING (Cur 1 Tot 9) 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:168 sofia/drachtio_mrf/[email protected]:10060 Standard REPORTING, cause: MANDATORY_IE_MISSING 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:932 (sofia/drachtio_mrf/[email protected]:10060) State REPORTING going to sleep 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:607 (sofia/drachtio_mrf/[email protected]:10060) State Change CS_REPORTING -> CS_DESTROY 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_session.c:1744 Session 9 (sofia/drachtio_mrf/[email protected]:10060) Locked, Waiting on external entities 2023-11-14 23:04:56.207352 99.07% [NOTICE] switch_core_session.c:1762 Session 9 (sofia/drachtio_mrf/[email protected]:10060) Ended 2023-11-14 23:04:56.207352 99.07% [NOTICE] switch_core_session.c:1766 Close Channel sofia/drachtio_mrf/[email protected]:10060 [CS_DESTROY] 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:735 (sofia/drachtio_mrf/[email protected]:10060) Running State Change CS_DESTROY (Cur 0 Tot 9) 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY 2023-11-14 23:04:56.207352 99.07% [DEBUG] mod_sofia.c:380 sofia/drachtio_mrf/[email protected]:10060 SOFIA DESTROY 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:175 sofia/drachtio_mrf/[email protected]:10060 Standard DESTROY 2023-11-14 23:04:56.207352 99.07% [DEBUG] switch_core_state_machine.c:745 (sofia/drachtio_mrf/[email protected]:10060) State DESTROY going to sleep freeswitch@dupe-sip-src-1a>
I'm really unsure what could be causing this issue. I am happy to send sip_profile configurations if required.
Thank you in advance for any help.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to use drachtio-fsmrf to play an audio file to a sip conference.
I have setup a drachtio server, and configured freeswitch's ESL to listen on a local port.
When attempting to create an endpoint, I encounter an issue.
The code connects to srf, mrf, then attempts to create an endpoint as such:
The output from this code is as follows:
The freeswitch console shows an error related:
2023-11-14 22:53:35.607355 98.10% [INFO] sofia.c:8032 No SDP in INVITE and 3pcc not enabled, hanging up.
The complete log is below:
I'm really unsure what could be causing this issue. I am happy to send sip_profile configurations if required.
Thank you in advance for any help.
The text was updated successfully, but these errors were encountered: