Comments (7)
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.
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.
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.
Yes, you're right. It's tidier with templates. On it... :-)
from browser-phone.
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.
Correct, I assume they want you to use templates.
from browser-phone.
Great, thanks.
Closing issue...
from browser-phone.
Related Issues (20)
- Browser Phone HOT 2
- Recorded video
- Image
- turn server HOT 2
- call not landing in browser phone HOT 1
- Ringtone HOT 2
- Not getting video during the 1st call HOT 2
- How to Integrate VoIp with Tragofone Softphone HOT 1
- Blank video HOT 1
- no video and audio HOT 4
- caller location HOT 1
- outgoing port range HOT 1
- Message retraction
- UDP packets
- BYE is not received. How to resolve this issue?
- only audio at one end
- Last change 0.3.27 of phone.js breaks function
- one way video and two way audio
- profile picture
- Communication error between Browser-Phone and Linphone. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browser-phone.