Exploring Kazoo Messaging

251 views
Skip to first unread message

VCCS Telecom

unread,
Dec 9, 2015, 4:01:15 PM12/9/15
to 2600hz-dev
I've been wanting to have a discussion for a while in reference to Messaging as it's functions are here and will surely be evolving over time.


Starting with how we contact users:

Since a devices route is invite format we need the full and lengthy user_ ID of our contact. Alt methods are npan lpan e164. During my playtime I realized that an alias would be ideal as copy/paste works for web based apps but coming into handset and mobile messaging it is cumbersome. In addition users only know the extensions of their Dir users based on extension, assuming they're using some user portal. So the point is we need to pull contacts easily or have a method to contact people easier. Security is a main concern also.

During some tests, I can push a Presence ID through to certain apps: "nurango" <use...@nurango.tld> "Message from nurango"
Depending on the App, it would make the most sense to enforce auth on the domain level for security reasons, but then what if I want to receive messages from outside of my organization? "Message from: "Luis" <lu...@2600hz.com> "Hello there".

The concern of course with aliases is that I can send a message to my accounting department for example: Message from "Bob" - "Hey I need the company credit card number to buy that thing!" .. When really the SIP URI is "Bob" <an...@ima.pirate.tld> , most users would never notice this. Arguably this could or should be done many ways at the App level but with the amount of open source tools out there it isn't as flexible a solution. 

Ideas: (assuming im not missing something)

Could we just use the Presence ID of the user? This would omit devices without user accounts, but would be easier to input someones extension opposed to username. The masquerade security issue still stands especially if the app accepts anon SIP calls, but it will speed things up to start.. 

Please somebody correct me if I'm wrong, the contact methods look like they can be changed by manipulating the Global FS chat plan in crossbar? 


I would be curious to know if the 2600hz team has noodled around this topic?

Thanks,

Matt

Luis Azedo

unread,
Dec 9, 2015, 4:14:26 PM12/9/15
to 2600h...@googlegroups.com
Hi Matt,

not sure i understand your quest.

messaging in kazoo are handled as calls are,  
you have textflows where you can route or take specific actions like in callflows.
you can, start a callback when you receive a message to a number and/or extension.
you can route to user / device / offnet

so, we don't refer to users directly, we text to a destination which normally is a number.

Best








--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

VCCS Telecom

unread,
Dec 9, 2015, 4:37:29 PM12/9/15
to 2600hz-dev
Thanks for the feedback Luis. 

I am specifically referring to Chat Messaging scenarios where I want to instant message a user in my domain. If I want to text I would need to input the users SIP account name which is long and mostly impossible for a user to be aware of. If im a text user, I dont know my colleagues actual SIP username but want an easy way to message him. 

Luis Azedo

unread,
Dec 9, 2015, 5:41:37 PM12/9/15
to 2600h...@googlegroups.com
i don't get it, if you're talking about chat messaging scenario, why involve kazoo here ? 
you would probably want to learn about ejabberd/MongooseIM and kamailio xmpp module.
or you could use kelpie if you want to play with presence and voice.

if you want to abstract the user/sip context, then you would use kazoo.
for example, using kelpie i subscribe to extensions and numbers in a kazoo domain, and i can send/receive text from gmail.
chrome abandoned NPAPI so voice calls are no longer working but if you use opera browser you can also make voice calls (dial-in to domain) from gmail chat interface (not hangputs)




--

VCCS Telecom

unread,
Dec 9, 2015, 6:56:51 PM12/9/15
to 2600hz-dev
Thanks for the tips, although those are quite robust. I am working with the simple MESSAGE application in Freeswitch though, its called by mod_event_socket I believe. Most softphones/Deskphones these days support MESSAGE where by you can exchange texts between users by simply sending a message to a SIP address. It's in this case I can send messages directly to kazoo users, but am trying to make it easier than someone needing to type the full SIP username. It's the same scenario when using wss to send messages to users...

Thanks.

On Wednesday, December 9, 2015 at 4:01:15 PM UTC-5, VCCS Telecom wrote:
Reply all
Reply to author
Forward
0 new messages