Transparency in SUBSCRIBE and NOTIFY
Hi, My SIP User-Agents need to establish between themselves a mesh of SIP subscriptions (using SUBSCRIBE and NOTIFY). The event-packages of those subscriptions are two, their names are: "dialog" and "p-np-session". But FreeSWITCH replies 489 Bad Event to SUBSCRIBEs to "p-np-session" and 200 OK to SUBSCRIBEs to "dialog" (because FreeSWITCH implements this package but that's not what I need) So, is there some way to make FreeSWITCH transparent to those subscriptions (like a vanilla SIP proxy would be) ? Any suggestions ? Many Thanks.
Use a proxy! :). Like kamailio or opensips On Monday, July 13, 2015, Julio Cesar Esteves Cabezas < jcabezas@inovax.com.br> wrote:
Hi,
My SIP User-Agents need to establish between themselves a mesh of SIP subscriptions (using SUBSCRIBE and NOTIFY).
The event-packages of those subscriptions are two, their names are: “dialog” and “p-np-session”.
But FreeSWITCH replies 489 Bad Event to SUBSCRIBEs to “p-np-session” and 200 OK to SUBSCRIBEs to “dialog” (because FreeSWITCH implements this package but that’s not what I need)
So, is there some way to make FreeSWITCH transparent to those subscriptions (like a vanilla SIP proxy would be) ?
Any suggestions ?
Many Thanks.
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Are you suggesting to combine FreeSWITCH and a SIP Proxy together ? Can you ellaborate about that topology ? I want to retain the unique features of FreeSWITCH in my system. Thanks. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Monday, July 13, 2015 9:03 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Transparency in SUBSCRIBE and NOTIFY Use a proxy! :). Like kamailio or opensips On Monday, July 13, 2015, Julio Cesar Esteves Cabezas <jcabezas@inovax.com.br> wrote: Hi, My SIP User-Agents need to establish between themselves a mesh of SIP subscriptions (using SUBSCRIBE and NOTIFY). The event-packages of those subscriptions are two, their names are: “dialog” and “p-np-session”. But FreeSWITCH replies 489 Bad Event to SUBSCRIBEs to “p-np-session” and 200 OK to SUBSCRIBEs to “dialog” (because FreeSWITCH implements this package but that’s not what I need) So, is there some way to make FreeSWITCH transparent to those subscriptions (like a vanilla SIP proxy would be) ? Any suggestions ? Many Thanks. -- Brian West brian@freeswitch.org <http://billing.freeswitch.org/templates/default/img/whmcslogo.png> Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
FreeSWITCH is not a proxy, so you'll need to add support for what you need or front end it with a proxy. On Tue, Jul 14, 2015 at 7:41 AM, Julio Cesar Esteves Cabezas < jcabezas@inovax.com.br> wrote:
Are you suggesting to combine FreeSWITCH and a SIP Proxy together ?
Can you ellaborate about that topology ? I want to retain the unique features of FreeSWITCH in my system.
Thanks.
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Brian West *Sent:* Monday, July 13, 2015 9:03 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] Transparency in SUBSCRIBE and NOTIFY
Use a proxy! :). Like kamailio or opensips
On Monday, July 13, 2015, Julio Cesar Esteves Cabezas < jcabezas@inovax.com.br> wrote:
Hi,
My SIP User-Agents need to establish between themselves a mesh of SIP subscriptions (using SUBSCRIBE and NOTIFY).
The event-packages of those subscriptions are two, their names are: “dialog” and “p-np-session”.
But FreeSWITCH replies 489 Bad Event to SUBSCRIBEs to “p-np-session” and 200 OK to SUBSCRIBEs to “dialog” (because FreeSWITCH implements this package but that’s not what I need)
So, is there some way to make FreeSWITCH transparent to those subscriptions (like a vanilla SIP proxy would be) ?
Any suggestions ?
Many Thanks.
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Hi All, I need after hanging up, to execute a command. Something like "exec_after_bridge" or "exec_after_answer" but after hanging up. I know that there "api_hangup_hook", but for scripts. And I do not need. So the question is, how do I run a command after nangup in dialplan? -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382
The api_hangup_hook variable can be used to run any api command, not just scripts. However you can't execute a dialplan application as the session has hung up. On 15 July 2015 at 10:21, Denis Jakovlev <yadenis@seznam.cz> wrote:
Hi All,
I need after hanging up, to execute a command. Something like "exec_after_bridge" or "exec_after_answer" but after hanging up. I know that there "api_hangup_hook", but for scripts. And I do not need.
So the question is, how do I run a command after nangup in dialplan?
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
Dobrý den, Yeah. Clear. I did not know that "api_hangup_hook" It can do something else besides scripts. In https://wiki.freeswitch.org/wiki/Variable_api_hangup_hook an example of the script. -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382 středa 15. července 2015, 11:34:02, napsal jste: The api_hangup_hook variable can be used to run any api command, not just scripts. However you can't execute a dialplan application as the session has hung up. On 15 July 2015 at 10:21, Denis Jakovlev <yadenis@seznam.cz> wrote: Hi All, I need after hanging up, to execute a command. Something like "exec_after_bridge" or "exec_after_answer" but after hanging up. I know that there "api_hangup_hook", but for scripts. And I do not need. So the question is, how do I run a command after nangup in dialplan? -- S pozdravem, Ing.Denis Jakovlev mob.tel. 775-415-382 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.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
participants (4)
-
Brian West
-
Denis Jakovlev
-
Julio Cesar Esteves Cabezas
-
Steven Ayre