Discussion:
[Freeswitch-dev] freeswitch SBC register configure
truong ngoc THANH
2013-06-04 08:38:15 UTC
Permalink
 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
Steven Ayre
2013-06-05 07:25:13 UTC
Permalink
FS is a B2BUA not a proxy. It doesn't forward messages to another server.
Post by truong ngoc THANH
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
Richard Brady
2013-06-06 13:41:43 UTC
Permalink
Remember Kamailio can go in front of FS, or behind it, or both. Or next to
it (if you disable record-routing).

Good luck!
Post by Steven Ayre
FS is a B2BUA not a proxy. It doesn't forward messages to another server.
Post by truong ngoc THANH
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
_________________________________________________________________________
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
Moises Silva
2013-06-12 16:30:55 UTC
Permalink
Post by Steven Ayre
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***

***@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>
ThanhTruong
2013-06-13 02:06:43 UTC
Permalink
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 <***@gmail.com>
To: freeswitch-***@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 <***@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
***@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:
***@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-***@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
openser
2013-07-11 10:39:39 UTC
Permalink
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-register-configure-tp5001888p5001978.html
Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
openser
2013-07-19 03:39:17 UTC
Permalink
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-register-configure-tp5001888p5001992.html
Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
Michael Jerris
2013-07-19 14:52:26 UTC
Permalink
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
Post by openser
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 ?
openser
2013-07-20 15:18:40 UTC
Permalink
I lean from another mail, sangoma has developed this feature, may be they can contribute ?


thanks.
Post by Michael Jerris
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
Post by openser
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 ?
_________________________________________________________________________
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
Anthony Minessale
2013-07-20 22:20:36 UTC
Permalink
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.
Post by openser
I lean from another mail, sangoma has developed this feature, may be
they can contribute ?
thanks.
Post by Michael Jerris
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
Post by openser
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 ?
_________________________________________________________________________
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
<#13ffcafbeebe5e3c_>
_________________________________________________________________________
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
openser
2013-07-21 08:28:53 UTC
Permalink
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+***@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.
Post by Michael Jerris
I think someone needs to write the code before we could merge it to git. Were you offering to develop this?
Post by openser
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 ?
_________________________________________________________________________
[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-register-configure-tp5001888p5001995.html
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-register-configure-tp5001888p5001998.html
Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
Stanislav Sinyagin
2013-07-21 09:03:19 UTC
Permalink
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?
Post by Steven Ayre
________________________________
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 ?
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.
I lean from another mail, sangoma  has  developed this feature, may be they can contribute ?
thanks.
I think someone needs to write the code before we could merge it to git.  Were you offering to develop this?
Post by openser
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 ?
_________________________________________________________________________
[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
_________________________________________________________________________
[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
_________________________________________________________________________
[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
http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-register-configure-tp5001888p5001995.html
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-register-configure-tp5001888p5001998.html
Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
_________________________________________________________________________
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
Anthony Minessale
2013-07-21 11:27:20 UTC
Permalink
Yes,
Post by openser
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]" <
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.
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"
Post by Michael Jerris
I think someone needs to write the code before we could merge it to git.
Were you offering to develop this?
Post by Michael Jerris
Post by openser
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 ?
Post by Michael Jerris
_________________________________________________________________________
[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
_________________________________________________________________________
[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
_________________________________________________________________________
[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
http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-register-configure-tp5001888p5001995.html
To unsubscribe from [Freeswitch-dev] freeswitch SBC register configure, click here.
NAML
--
http://freeswitch-dev.4355.x6.nabble.com/Freeswitch-dev-freeswitch-SBC-register-configure-tp5001888p5001998.html
Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
_________________________________________________________________________
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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
Loading...