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

I need Help Integrating #1

Open
odejinmisa opened this issue Sep 6, 2022 · 3 comments
Open

I need Help Integrating #1

odejinmisa opened this issue Sep 6, 2022 · 3 comments

Comments

@odejinmisa
Copy link

Hi team,

I need help on this.

If possible kindly provide your email.

@havfo
Copy link
Owner

havfo commented Oct 15, 2022

I am not able to provide any support for this at the moment other than simple instructions for getting it running.

@odejinmisa
Copy link
Author

odejinmisa commented Oct 16, 2022 via email

@havfo
Copy link
Owner

havfo commented Oct 17, 2022

First of all, I have not tested this in quite a while (2+ years) as I'm not currently working with Teams/SIP, so this might not work.

Get the Drachtio daemon up and running according to the latest documentation at https://www.drachtio.org/docs. Also make sure you have DNS set up properly and a valid certificate for the domain(s) that the daemon server is supposed to represent.

Create a mysql/mariadb database and populate it using the https://github.com/havfo/drachtio-msteams-gw/blob/master/lib/database/schema.sql schema. Have a look at the examples in that file to populate it with an organization and destination.

Create a config file in config/ called production.json. This will be the config the server will use if you start it with NODE_ENV=production. Have a look at the default.json for examples. The msgw section represents the hostname part of the FQDN of the gateway (where the Drachtio daemon is running). The contact port is the port at which the daemon is listening for incoming SIP traffic.

When you add an organization with a domain to the database, the final SIP FQDN will then be the combination of the msgw hostname variable and the organization domain name. Example where the organization domain is example.com and the msgw hostname is sip: sip.example.com. And the certificate for the daemon server would of course need to be valid for that FQDN.

The Node server can run on the same server as the daemon or a different server all together, that doesn't matter as long as there is a connection between them according to the config.

If you are unable to get it up and running based on this info, I am unable to provide more help. This repo requires quite a bit of knowledge on how to run and is in no way a turnkey solution.

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