[Freeswitch-dev] freeswitch SBC register configure
hi all, Does any one know how to using freeswitch as SBC server for register. Like, sip client send REGISTER to FS, FS forwarding this REGISTER message to kamailio, kamailio authen and return pass/false to FS, FS check if pass, store contact into local database, else send back to sip client. Please suggest to get this function work, Thanks, ThanhT
FS is a B2BUA not a proxy. It doesn't forward messages to another server. On Tuesday, June 4, 2013, truong ngoc THANH wrote:
hi all,
Does any one know how to using freeswitch as SBC server for register. Like, sip client send REGISTER to FS, FS forwarding this REGISTER message to kamailio, kamailio authen and return pass/false to FS, FS check if pass, store contact into local database, else send back to sip client.
Please suggest to get this function work,
Thanks,
ThanhT
Remember Kamailio can go in front of FS, or behind it, or both. Or next to it (if you disable record-routing). Good luck! On 5 June 2013 08:25, Steven Ayre <steveayre@gmail.com> wrote:
FS is a B2BUA not a proxy. It doesn't forward messages to another server.
On Tuesday, June 4, 2013, truong ngoc THANH wrote:
hi all,
Does any one know how to using freeswitch as SBC server for register. Like, sip client send REGISTER to FS, FS forwarding this REGISTER message to kamailio, kamailio authen and return pass/false to FS, FS check if pass, store contact into local database, else send back to sip client.
Please suggest to get this function work,
Thanks,
ThanhT
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
On Wed, Jun 5, 2013 at 3:25 AM, Steven Ayre <steveayre@gmail.com> wrote:
FS is a B2BUA not a proxy. It doesn't forward messages to another server.
Although I generally agree with your statement. It is not completely accurate. The fact that FS is a B2BUA does not preclude it from eventually supporting this feature that is known sometimes as 'upper' or 'thru' registration, which is fairly common in SBCs, some of which are still B2BUA. There is little to no standard information in what a B2BUA can accomplish, so 'forwarding' messages is something a specific B2BUA implementation can do. Sangoma's SBC, which has FreeSWITCH at its core has implemented this functionality. We hope to be able to merge it back as soon as we have a maintenance window that allows us to upgrade our patch to mod_sofia to 'forward' REGISTER/SUBSCRIBE/NOTIFY instead of handling it locally. This is similar to what a proxy would do, but not exactly, as separate dialogs are kept on each side (different from/to tags, call-id) Cheers, Moy *Moises Silva **Manager, Software Engineering*** msilva@sangoma.com Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 (N. America) t. +1 905 474 1990 x128 f. +1 905 474 9223 **<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures> Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
Hi, Thank you so much for your answer, I have seen that and tried to edit/change code in mod_sofia to handle register and send message to registrar server, i am in this state , If some one can help me to forwarding REGISTER/SUBSCRIBE/NOTIFY and more to another registrar server, I am so thank. thank all in advance. ThanhTruong ________________________________ From: Moises Silva <moises.silva@gmail.com> To: freeswitch-dev@lists.freeswitch.org Sent: Wednesday, June 12, 2013 11:30 PM Subject: Re: [Freeswitch-dev] freeswitch SBC register configure On Wed, Jun 5, 2013 at 3:25 AM, Steven Ayre <steveayre@gmail.com> wrote: FS is a B2BUA not a proxy. It doesn't forward messages to another server. Although I generally agree with your statement. It is not completely accurate. The fact that FS is a B2BUA does not preclude it from eventually supporting this feature that is known sometimes as 'upper' or 'thru' registration, which is fairly common in SBCs, some of which are still B2BUA. There is little to no standard information in what a B2BUA can accomplish, so 'forwarding' messages is something a specific B2BUA implementation can do. Sangoma's SBC, which has FreeSWITCH at its core has implemented this functionality. We hope to be able to merge it back as soon as we have a maintenance window that allows us to upgrade our patch to mod_sofia to 'forward' REGISTER/SUBSCRIBE/NOTIFY instead of handling it locally. This is similar to what a proxy would do, but not exactly, as separate dialogs are kept on each side (different from/to tags, call-id) Cheers, Moy Moises Silva Manager, Software Engineering msilva@sangoma.com Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 (N. America) t. +1 905 474 1990 x128 f. +1 905 474 9223 Products | Solutions | Events | Contact | Wiki | Facebook | Twitter`| | YouTube _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi all, i'd like this feature, and want to test it. anyone share this ? thanks. -- View this message in context: http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
Hi, I'd like this feature to be core , as we announce freeswitch can be as a SBC, sip upper register is a key feature for session border controller. shall we merge this to git or ? thanks. -- View this message in context: http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
I think someone needs to write the code before we could merge it to git. Were you offering to develop this? On Jul 18, 2013, at 11:39 PM, openser <openser@yeah.net> wrote:
Hi,
I'd like this feature to be core , as we announce freeswitch can be as a SBC, sip upper register is a key feature for session border controller. shall we merge this to git or ?
I lean from another mail, sangoma has developed this feature, may be they can contribute ? thanks. At 2013-07-19 22:52:26,"Michael Jerris" <mike@jerris.com> wrote:
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
On Jul 18, 2013, at 11:39 PM, openser <openser@yeah.net> wrote:
Hi,
I'd like this feature to be core , as we announce freeswitch can be as a SBC, sip upper register is a key feature for session border controller. shall we merge this to git or ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
I seem to recall this has always been there. If you add the option to parse a domain in the Sofia profile then you can add gateway entries inside user tags of the directory and if that user registers then so will all the gateways inside it. On Jul 20, 2013 10:25 AM, "openser" <openser@yeah.net> wrote:
I lean from another mail, sangoma has developed this feature, may be they can contribute ?
thanks.
At 2013-07-19 22:52:26,"Michael Jerris" <mike@jerris.com> wrote:
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
On Jul 18, 2013, at 11:39 PM, openser <openser@yeah.net> wrote:
Hi,
I'd like this feature to be core , as we announce freeswitch can be as a SBC, sip upper register is a key feature for session border controller. shall we merge this to git or ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
<#13ffcafbeebe5e3c_> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Thanks Anthony, but it seems in this case, freeswitch must also act as a register , which mean , i must add all users in directory first in order to have passthru register feature ? At 2013-07-21 06:30:50,"Anthony Minessale [via FreeSWITCH-dev]" <ml-node+s4355n5001995h27@n6.nabble.com> wrote: I seem to recall this has always been there. If you add the option to parse a domain in the Sofia profile then you can add gateway entries inside user tags of the directory and if that user registers then so will all the gateways inside it. On Jul 20, 2013 10:25 AM, "openser" <[hidden email]> wrote: I lean from another mail, sangoma has developed this feature, may be they can contribute ? thanks. At <a href="tel:2013-07-19%C2%A022" value="+12013071922" target="_blank">2013-07-19 22:52:26,"Michael Jerris" <[hidden email]> wrote:
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
On Jul 18, 2013, at 11:39 PM, openser <[hidden email]> wrote:
Hi,
I'd like this feature to be core , as we announce freeswitch can be as a SBC, sip upper register is a key feature for session border controller. shall we merge this to git or ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org If you reply to this email, your message will be added to the discussion below: http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... To unsubscribe from [Freeswitch-dev] freeswitch SBC register configure, click here. NAML -- View this message in context: http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
what exactly is the problem that you're trying to solve? Why not placing a Kamailio or OpenSIPS at the front, and FreeSWITCH in the back?
________________________________ From: openser <openser@yeah.net> To: freeswitch-dev@lists.freeswitch.org Sent: Sunday, July 21, 2013 10:28 AM Subject: Re: [Freeswitch-dev] freeswitch SBC register configure
Thanks Anthony,
but it seems in this case, freeswitch must also act as a register , which mean , i must add all users in directory first in order to have passthru register feature ?
At 2013-07-21 06:30:50,"Anthony Minessale [via FreeSWITCH-dev]" <ml-node+s4355n5001995h27@n6.nabble.com> wrote:
I seem to recall this has always been there. If you add the option to parse a domain in the Sofia profile then you can add gateway entries inside user tags of the directory and if that user registers then so will all the gateways inside it.
On Jul 20, 2013 10:25 AM, "openser" <[hidden email]> wrote:
I lean from another mail, sangoma has developed this feature, may be they can contribute ?
thanks.
At <a href="tel:2013-07-19%C2%A022" value="+12013071922" target="_blank">2013-07-19 22:52:26,"Michael Jerris" <[hidden email]> wrote:
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
On Jul 18, 2013, at 11:39 PM, openser <[hidden email]> wrote:
Hi,
I'd like this feature to be core , as we announce freeswitch can be as a SBC, sip upper register is a key feature for session border controller. shall we merge this to git or ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
If you reply to this email, your message will be added to the discussion below: http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... To unsubscribe from [Freeswitch-dev] freeswitch SBC register configure, click here. NAML
-- View this message in context: http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Yes, On Jul 21, 2013 3:36 AM, "openser" <openser@yeah.net> wrote:
Thanks Anthony,
but it seems in this case, freeswitch must also act as a register , which mean , i must add all users in directory first in order to have passthru register feature ?
At 2013-07-21 06:30:50,"Anthony Minessale [via FreeSWITCH-dev]" < ml-node+s4355n5001995h27@n6.nabble.com> wrote:
I seem to recall this has always been there. If you add the option to parse a domain in the Sofia profile then you can add gateway entries inside user tags of the directory and if that user registers then so will all the gateways inside it.
On Jul 20, 2013 10:25 AM, "openser" <[hidden email]> wrote:
I lean from another mail, sangoma has developed this feature, may be they can contribute ?
thanks.
At <a href="tel:2013-07-19%C2%A022" value="+12013071922" target="_blank">2013-07-19 22:52:26,"Michael Jerris" <[hidden email]> wrote:
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
On Jul 18, 2013, at 11:39 PM, openser <[hidden email]> wrote:
Hi,
I'd like this feature to be core , as we announce freeswitch can be as a SBC, sip upper register is a key feature for session border controller. shall we merge this to git or ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: [hidden email] http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
If you reply to this email, your message will be added to the discussion below:
http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... To unsubscribe from [Freeswitch-dev] freeswitch SBC register configure, click here. NAML
-- View this message in context: http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-regis... Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (9)
-
Anthony Minessale
-
Michael Jerris
-
Moises Silva
-
openser
-
Richard Brady
-
Stanislav Sinyagin
-
Steven Ayre
-
ThanhTruong
-
truong ngoc THANH