Hello, Does anyone know if it is possible to construct, originate and receive SIP MESSAGE requests in FreeSwitch or libfreeswitch? This would be in a sessionless dialog as of RFC 3428 Page mode. Thanks, John
freeswitch isn't a sip proxy freeswitch is a media switching project growing up from a softphone up to a carrier grade softswitch/SBC but not a sip proxy check: Kamailio/Sip-Router Projects <http://www.kamailio.org> OpenSips project <http://www.opensips.org> don't by confused, this projects is both derived from openser that's becaume kamailio thanks Le 08/12/2010 00:02, John Rose a écrit :
Hello,
Does anyone know if it is possible to construct, originate and receive SIP MESSAGE requests in FreeSwitch or libfreeswitch? This would be in a sessionless dialog as of RFC 3428 Page mode.
Thanks,
John
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Meftah Tayeb inum: +883510001288000 Phone: +13602276297 Fax: +12538020313
You don't have to be a proxy to handle the MESSAGE method. The OP is asking to handle MESSAGE requests within the capability of a SIP UA, which FreeSWITCH is. As more carriers and products offer SMS capabilities with SIP using MESSAGE it will become more and more important for FreeSWITCH to have support this feature in some way. I think it would be very, very cool! On Wed, Dec 8, 2010 at 3:16 AM, Meftah Tayeb <tayeb.meftah@gmail.com> wrote:
freeswitch isn't a sip proxy freeswitch is a media switching project growing up from a softphone up to a carrier grade softswitch/SBC but not a sip proxy check: Kamailio/Sip-Router Projects OpenSips project don't by confused, this projects is both derived from openser that's becaume kamailio thanks Le 08/12/2010 00:02, John Rose a écrit :
Hello,
Does anyone know if it is possible to construct, originate and receive SIP MESSAGE requests in FreeSwitch or libfreeswitch? This would be in a sessionless dialog as of RFC 3428 Page mode.
Thanks,
John
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Meftah Tayeb inum: +883510001288000 Phone: +13602276297 Fax: +12538020313
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
FS supports MESSAGE, both in SIP, in Jingle, in Skype, and in GSM (SMS). The generic API for it called chat http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_chat It generates MESSAGE events -giovanni On Wed, Dec 8, 2010 at 3:43 PM, Kristian Kielhofner <kris@kriskinc.com> wrote:
You don't have to be a proxy to handle the MESSAGE method. The OP is asking to handle MESSAGE requests within the capability of a SIP UA, which FreeSWITCH is.
As more carriers and products offer SMS capabilities with SIP using MESSAGE it will become more and more important for FreeSWITCH to have support this feature in some way.
I think it would be very, very cool!
On Wed, Dec 8, 2010 at 3:16 AM, Meftah Tayeb <tayeb.meftah@gmail.com> wrote:
freeswitch isn't a sip proxy freeswitch is a media switching project growing up from a softphone up to a carrier grade softswitch/SBC but not a sip proxy check: Kamailio/Sip-Router Projects OpenSips project don't by confused, this projects is both derived from openser that's becaume kamailio thanks Le 08/12/2010 00:02, John Rose a écrit :
Hello,
Does anyone know if it is possible to construct, originate and receive SIP MESSAGE requests in FreeSwitch or libfreeswitch? This would be in a sessionless dialog as of RFC 3428 Page mode.
Thanks,
John
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Meftah Tayeb inum: +883510001288000 Phone: +13602276297 Fax: +12538020313
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Check out http://wiki.freeswitch.org/wiki/Mod_event_socket#sendevent There's an example on how to send a SIP MESSAGE using event socket's sendevent method. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 2010-12-08, at 9:43 AM, Kristian Kielhofner wrote:
You don't have to be a proxy to handle the MESSAGE method. The OP is asking to handle MESSAGE requests within the capability of a SIP UA, which FreeSWITCH is.
As more carriers and products offer SMS capabilities with SIP using MESSAGE it will become more and more important for FreeSWITCH to have support this feature in some way.
I think it would be very, very cool!
On Wed, Dec 8, 2010 at 3:16 AM, Meftah Tayeb <tayeb.meftah@gmail.com> wrote:
freeswitch isn't a sip proxy freeswitch is a media switching project growing up from a softphone up to a carrier grade softswitch/SBC but not a sip proxy check: Kamailio/Sip-Router Projects OpenSips project don't by confused, this projects is both derived from openser that's becaume kamailio thanks Le 08/12/2010 00:02, John Rose a écrit :
Hello,
Does anyone know if it is possible to construct, originate and receive SIP MESSAGE requests in FreeSwitch or libfreeswitch? This would be in a sessionless dialog as of RFC 3428 Page mode.
Thanks,
John
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Meftah Tayeb inum: +883510001288000 Phone: +13602276297 Fax: +12538020313
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
While FS does handle MESSAGE the interface has always struck me as a bit odd... For example, why don't FS messages hit the dialplan to provide for some ability to route them if I want to? In my case I typically use FS as an SBC facing carriers... If a carrier sends me a MESSAGE FS will generate an event. While I *could* do something with that, I suppose, I'd much rather have it hit the dialplan where I can use some logic to handle it. I could see at least the following: - Post to an HTTP server - Route to another SIP endpoint - LUA! - Generate an event (as it does now) Smells like a bounty... On Wed, Dec 8, 2010 at 9:49 AM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Check out http://wiki.freeswitch.org/wiki/Mod_event_socket#sendevent There's an example on how to send a SIP MESSAGE using event socket's sendevent method. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
On 2010-12-08, at 9:43 AM, Kristian Kielhofner wrote:
You don't have to be a proxy to handle the MESSAGE method. The OP is asking to handle MESSAGE requests within the capability of a SIP UA, which FreeSWITCH is.
As more carriers and products offer SMS capabilities with SIP using MESSAGE it will become more and more important for FreeSWITCH to have support this feature in some way.
I think it would be very, very cool!
On Wed, Dec 8, 2010 at 3:16 AM, Meftah Tayeb <tayeb.meftah@gmail.com> wrote:
freeswitch isn't a sip proxy
freeswitch is a media switching project growing up from a softphone up to a
carrier grade softswitch/SBC but not a sip proxy
check:
Kamailio/Sip-Router Projects
OpenSips project
don't by confused, this projects is both derived from openser that's becaume
kamailio
thanks
Le 08/12/2010 00:02, John Rose a écrit :
Hello,
Does anyone know if it is possible to construct, originate and receive SIP
MESSAGE requests in FreeSwitch or libfreeswitch? This would be in a
sessionless dialog as of RFC 3428 Page mode.
Thanks,
John
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
--
Meftah Tayeb
inum: +883510001288000
Phone: +13602276297
Fax: +12538020313
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
The problem with that concept, is that dialplan access requires an active session, and it doesn't make sense to create one for something as short-lived as a message. What I could see happening is some sort of customizable event routing that could be configured to do some automated actions. Yup, indeed smells like a bounty. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 2010-12-08, at 10:00 AM, Kristian Kielhofner wrote:
While FS does handle MESSAGE the interface has always struck me as a bit odd...
For example, why don't FS messages hit the dialplan to provide for some ability to route them if I want to?
In my case I typically use FS as an SBC facing carriers... If a carrier sends me a MESSAGE FS will generate an event. While I *could* do something with that, I suppose, I'd much rather have it hit the dialplan where I can use some logic to handle it. I could see at least the following:
- Post to an HTTP server - Route to another SIP endpoint - LUA! - Generate an event (as it does now)
Smells like a bounty...
On Wed, Dec 8, 2010 at 9:49 AM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Check out http://wiki.freeswitch.org/wiki/Mod_event_socket#sendevent There's an example on how to send a SIP MESSAGE using event socket's sendevent method. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
On 2010-12-08, at 9:43 AM, Kristian Kielhofner wrote:
You don't have to be a proxy to handle the MESSAGE method. The OP is asking to handle MESSAGE requests within the capability of a SIP UA, which FreeSWITCH is.
As more carriers and products offer SMS capabilities with SIP using MESSAGE it will become more and more important for FreeSWITCH to have support this feature in some way.
I think it would be very, very cool!
On Wed, Dec 8, 2010 at 3:16 AM, Meftah Tayeb <tayeb.meftah@gmail.com> wrote:
freeswitch isn't a sip proxy
freeswitch is a media switching project growing up from a softphone up to a
carrier grade softswitch/SBC but not a sip proxy
check:
Kamailio/Sip-Router Projects
OpenSips project
don't by confused, this projects is both derived from openser that's becaume
kamailio
thanks
Le 08/12/2010 00:02, John Rose a écrit :
Hello,
Does anyone know if it is possible to construct, originate and receive SIP
MESSAGE requests in FreeSwitch or libfreeswitch? This would be in a
sessionless dialog as of RFC 3428 Page mode.
Thanks,
John
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
--
Meftah Tayeb
inum: +883510001288000
Phone: +13602276297
Fax: +12538020313
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Mathieu, This is true for MESSAGE and I understand it may be a little hairy... However, SIMPLE (uh-oh) also allows for IM-like message exchange using a real session established with INVITE. As the OP said MESSAGE is used for paging (SMS) type applications. I understand that creating a channel may be a bit overblown for this but something like that would allow for much more flexibility. On Wed, Dec 8, 2010 at 10:34 AM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
The problem with that concept, is that dialplan access requires an active session, and it doesn't make sense to create one for something as short-lived as a message. What I could see happening is some sort of customizable event routing that could be configured to do some automated actions.
Yup, indeed smells like a bounty.
Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Kristian Kielhofner
Mathieu,
This is true for MESSAGE and I understand it may be a little hairy... However, SIMPLE (uh-oh) also allows for IM-like message exchange using a real session established with INVITE. As the OP said MESSAGE is used for paging (SMS) type applications. I understand that creating a channel may be a bit overblown for this but something like that would allow for much more flexibility.
Well thanks for the help on this y'all, I'm going to test using managed ESL to receive the MESSAGE generated events once I try sending some... John
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- Subject: Re: [Freeswitch-users] SIP MESSAGE requests
While FS does handle MESSAGE the interface has always struck me as a bit odd...
For example, why don't FS messages hit the dialplan to provide for some ability to route them if I want to?
In my case I typically use FS as an SBC facing carriers... If a carrier sends me a MESSAGE FS will generate an event. While I *could* do something with that, I suppose, I'd much rather have it hit the dialplan where I can use some logic to handle it. I could see at least the following:
- Post to an HTTP server - Route to another SIP endpoint - LUA! - Generate an event (as it does now)
Smells like a bounty...
Just curious - I'm sending SIP MESSAGE requests from one FS box to another. Works well. But the receiving box isn't generating an ESL event but does reply 200 OK. Also, the receiver box shows an "Invalid profile x.x.x.x". If the MESSAGE doesn't propagate through the dialplan how do I get it to generate *some* ESL event when I can grab it and do something like i.e. strip out the MESSAGE text? John
Hi All, I've been banging my head on this - I've been trying to get ESL events from incoming SIP MESSAGE requests to a non-registered SIP user. From my research there have been others who had been trying to do this but it seems like FS does not support it since it would take some modifying of the Sofia stack to make this happen and supposedly it's not trivial spitting out an event here since there is no active SIP session. I was wondering if this modification had been done recently? This is what I get on the console of the FS receiving box: 2010-12-15 09:41:51.564568 [ERR] sofia_presence.c:130 Chat proto [sip] from [dp+9999@64.27.3.63] to [9898@67.162.136.150] MESSAGE test from John Invalid Profile 67.162.136.150 I've been trying to get rid of that "Invalid Profile" by changing various settings.... Any suggestions? Does anyone know if it is possible to get ESL events from SIP MESSAGEs or is this still a TODO for FS? John
alias the ip to the profile then. /b On Dec 15, 2010, at 10:49 AM, John Rose wrote:
Hi All,
I've been banging my head on this -
I've been trying to get ESL events from incoming SIP MESSAGE requests to a non-registered SIP user. From my research there have been others who had been trying to do this but it seems like FS does not support it since it would take some modifying of the Sofia stack to make this happen and supposedly it's not trivial spitting out an event here since there is no active SIP session. I was wondering if this modification had been done recently?
This is what I get on the console of the FS receiving box:
2010-12-15 09:41:51.564568 [ERR] sofia_presence.c:130 Chat proto [sip] from [dp+9999@64.27.3.63] to [9898@67.162.136.150] MESSAGE test from John Invalid Profile 67.162.136.150
I've been trying to get rid of that "Invalid Profile" by changing various settings....
Any suggestions? Does anyone know if it is possible to get ESL events from SIP MESSAGEs or is this still a TODO for FS?
John
Brian, OK, thanks for that it does get rid of "Invalid profile". Next error once that is gone is: freeswitch@JohnRose-Laptop> 2010-12-16 09:17:19.509892 [ERR] sofia_presence.c:146 Can't find registered user 9898@67.162.136.150 Still no ESL event as I would want one even if no registered user. Unless there is a way to send it somewhere else... the user 9898 does exist. Any ideas? John
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-
alias the ip to the profile then.
/b
On Dec 15, 2010, at 10:49 AM, John Rose wrote:
Hi All,
I've been banging my head on this -
I've been trying to get ESL events from incoming SIP MESSAGE requests to a non-registered SIP user. From my research there have been others who had been trying to do this but it seems like FS does not support it since it would take some modifying of the Sofia stack to make this happen and supposedly it's not trivial spitting out an event here since there is no active SIP session. I was wondering if this modification had been done recently?
This is what I get on the console of the FS receiving box:
2010-12-15 09:41:51.564568 [ERR] sofia_presence.c:130 Chat proto [sip] from [dp+9999@64.27.3.63] to [9898@67.162.136.150] MESSAGE test from John Invalid Profile 67.162.136.150
I've been trying to get rid of that "Invalid Profile" by changing various settings....
Any suggestions? Does anyone know if it is possible to get ESL events from SIP MESSAGEs or is this still a TODO for FS?
John
participants (6)
-
Brian West
-
Giovanni Maruzzelli
-
John Rose
-
Kristian Kielhofner
-
Mathieu Rene
-
Meftah Tayeb