Git Product home page Git Product logo

Comments (7)

InnovateAsterisk avatar InnovateAsterisk commented on September 1, 2024

Text Messages have to be specially set up. There are a few steps to complete. Take a look at the instructions or the video from the Readme page:
https://github.com/InnovateAsterisk/Browser-Phone

PS, text messages are out of dialog messages, so you don't need to be on a call. You just have to be both registered. This is something like WhatsApp, Skype Etc... however there is no DB, so it can't spool messages if you are offline... something I would like to update

from browser-phone.

vieridipaola avatar vieridipaola commented on September 1, 2024

OK, the README.md file refers to chan_sip, but I'm using pjsip only.
So I added:
message_context=textmessages
to each endpoint in pjsip.conf.
That seems to do the trick.

I must say that message_context is not well documented upstream. You may want to add it in README.md, if you wish.

from browser-phone.

InnovateAsterisk avatar InnovateAsterisk commented on September 1, 2024

Yes, pjsip supports out-of-dialog messaging by default, you only need to supply it with a context. In my example configs, I did this with templates. Something you should be using... so rather than

"So I added:
message_context=textmessages
to each endpoint in pjsip.conf."

you would have said:

"I added it to my endpoint template"

;-)

from browser-phone.

vieridipaola avatar vieridipaola commented on September 1, 2024

Yes, you're right. It's tidier with templates. On it... :-)

from browser-phone.

vieridipaola avatar vieridipaola commented on September 1, 2024

BTW I'm new to pjsip. There's no "general" section and no way of specifying the message_context value "globally", right? It must be done in a template as you say, and that would sort of mimic the "global" behavior you would get when using chan_sip, right?

from browser-phone.

InnovateAsterisk avatar InnovateAsterisk commented on September 1, 2024

Correct, I assume they want you to use templates.

from browser-phone.

vieridipaola avatar vieridipaola commented on September 1, 2024

Great, thanks.
Closing issue...

from browser-phone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.