Skip to content
New issue

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

Error: No drachtio_mrf sip profile found on the media server #3

Closed
jdzuri opened this issue Jun 13, 2017 · 3 comments
Closed

Error: No drachtio_mrf sip profile found on the media server #3

jdzuri opened this issue Jun 13, 2017 · 3 comments

Comments

@jdzuri
Copy link

jdzuri commented Jun 13, 2017

Hi,

I'm trying to deploy the drachtio-fsmrf example but the drachtio_mrf sip profile is not found. The error trace is the next:

/home/ubuntu/my-drachtio-example/node_modules/drachtio-fsmrf/lib/mediaserver.js:117
        if( null === results ) { throw new Error('No drachtio_mrf sip profile found on the media server: ' + status);}
                                 ^

Error: No drachtio_mrf sip profile found on the media server:                      Name	   Type	                                      Data	State
=================================================================================================
            external-ipv6	profile	                  sip:mod_sofia@[::1]:5080	RUNNING (0)
            174.31.10.112	  alias	                                  internal	ALIASED
                 external	profile	          sip:mod_sofia@174.31.10.112:5080	RUNNING (0)
    external::example.com	gateway	                   sip:joeuser@example.com	NOREG
            internal-ipv6	profile	                  sip:mod_sofia@[::1]:5060	RUNNING (0)
                 internal	profile	          sip:mod_sofia@174.31.10.112:5060	RUNNING (0)
=================================================================================================
4 profiles 1 alias

    at MediaServer. (/home/ubuntu/my-drachtio-example/node_modules/drachtio-fsmrf/lib/mediaserver.js:117:40)
    at . (/home/ubuntu/my-drachtio-example/node_modules/modesl/lib/esl/Connection.js:141:16)
    at EventEmitter.emit (/home/ubuntu/my-drachtio-example/node_modules/eventemitter2/lib/eventemitter2.js:339:22)
    at Connection._onEvent (/home/ubuntu/my-drachtio-example/node_modules/modesl/lib/esl/Connection.js:805:10)
    at EventEmitter.emit (/home/ubuntu/my-drachtio-example/node_modules/eventemitter2/lib/eventemitter2.js:339:22)
    at Parser._parseEvent (/home/ubuntu/my-drachtio-example/node_modules/modesl/lib/esl/Parser.js:208:10)
    at Parser._parseBody (/home/ubuntu/my-drachtio-example/node_modules/modesl/lib/esl/Parser.js:100:10)
    at Parser._parseHeaders (/home/ubuntu/my-drachtio-example/node_modules/modesl/lib/esl/Parser.js:76:37)
    at Parser._parseHeaders (/home/ubuntu/my-drachtio-example/node_modules/modesl/lib/esl/Parser.js:84:37)
    at Parser._parseHeaders (/home/ubuntu/my-drachtio-example/node_modules/modesl/lib/esl/Parser.js:84:37)

I followed the readme instructions from the repository and I think the error may be in the step of setting it up as drachtio-fs-ansimbre. I do not know how to do/apply this step.

@davehorton
Copy link
Collaborator

Yes, it looks like freeswitch has not been set up with the mrf sip profile. One thing you could do to get a freeswitch up and running quickly without having to build it yourself would be to use this image, if you like Docker:

https://cloud.docker.com/swarm/drachtio/repository/docker/drachtio/drachtio-freeswitch-mrf/general

But I think the bigger problem is that I have a link in the README to an outdated ansible library. It should be referencing this one:

https://github.com/davehorton/drachtio-mrf-ansible

Could you try rebuilding your freeswitch with that ansible above (or use the docker image) and let me know if this resolves the issue?

@davehorton
Copy link
Collaborator

I've updated the link and provided a README at https://github.com/davehorton/drachtio-mrf-ansible

@jdzuri
Copy link
Author

jdzuri commented Jun 14, 2017

Ok. Using the new "drachtio-mrf-ansible" repository link all installation works correctly in Debian, in Ubuntu I haven't been able to install it for problems with some system dependencies on freeswitch installation.

Very thanks!

@jdzuri jdzuri closed this as completed Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants