Hi,
I'm looking to use kamailio as a webrtc proxy for legacy sip system that doesnt have this capability, is there a example or blueprint i can follow to get started with this? I'm RTFMing the docs but still need a while to understand kamailio internals :-)
Hello Paul and List,
you can use the nice WebRTC Example from havfo at github https://github.com/havfo/WEBRTC-to-SIP
The magic with kamailio, rtpengine and WebRTC / SIP Bridging starts in this route.
https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg...
You can merge this with the default kamailio advanced config to create an kamailio/rtpengine SBC.
Kind Regards
2017-12-26 14:35 GMT+01:00 paul@kristianpaul.org:
Hi,
I'm looking to use kamailio as a webrtc proxy for legacy sip system that doesnt have this capability, is there a example or blueprint i can follow to get started with this? I'm RTFMing the docs but still need a while to understand kamailio internals :-)
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
another thing that one should be aware of is that in webrtc/websocket some sip headers (e.g., via, contact) use a random string instead of ip addresses and many old devices will throw parsing error. jssip (and maybe other js sip stacks) has an option to enable using a private ip address instead of a random ip address.
Cheers, Daniel
On 27.12.17 12:55, Karsten Horsmann wrote:
Hello Paul and List,
you can use the nice WebRTC Example from havfo at github https://github.com/havfo/WEBRTC-to-SIP
The magic with kamailio, rtpengine and WebRTC / SIP Bridging starts in this route.
https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg...
You can merge this with the default kamailio advanced config to create an kamailio/rtpengine SBC.
Kind Regards
2017-12-26 14:35 GMT+01:00 <paul@kristianpaul.org mailto:paul@kristianpaul.org>:
Hi, I'm looking to use kamailio as a webrtc proxy for legacy sip system that doesnt have this capability, is there a example or blueprint i can follow to get started with this? I'm RTFMing the docs but still need a while to understand kamailio internals :-) _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
-- Mit freundlichen Grüßen *Karsten Horsmann*
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
you also be aware of longer callsetups to webrtc clients (13 - 38 seconds) if there are many ICE candidates on the client (like different networking devices).
There maybe also fixes in the js SIP libraries for that (I don't touch this area).
Am 05.01.2018 9:04 vorm. schrieb "Daniel-Constantin Mierla" < miconda@gmail.com>:
Hello,
another thing that one should be aware of is that in webrtc/websocket some sip headers (e.g., via, contact) use a random string instead of ip addresses and many old devices will throw parsing error. jssip (and maybe other js sip stacks) has an option to enable using a private ip address instead of a random ip address.
Cheers, Daniel
On 27.12.17 12:55, Karsten Horsmann wrote:
Hello Paul and List,
you can use the nice WebRTC Example from havfo at github https://github.com/havfo/WEBRTC-to-SIP
The magic with kamailio, rtpengine and WebRTC / SIP Bridging starts in this route.
https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/ kamailio/kamailio.cfg#L599
You can merge this with the default kamailio advanced config to create an kamailio/rtpengine SBC.
Kind Regards
2017-12-26 14:35 GMT+01:00 paul@kristianpaul.org:
Hi,
I'm looking to use kamailio as a webrtc proxy for legacy sip system that doesnt have this capability, is there a example or blueprint i can follow to get started with this? I'm RTFMing the docs but still need a while to understand kamailio internals :-)
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Mit freundlichen Grüßen *Karsten Horsmann*
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
On 05.01.18 09:55, Karsten Horsmann wrote:
Hello,
you also be aware of longer callsetups to webrtc clients (13 - 38 seconds) if there are many ICE candidates on the client (like different networking devices).
There maybe also fixes in the js SIP libraries for that (I don't touch this area).
if you know that it is low chance to work without a rtp relay (such as rtpengine), one option here is to remove all ice candidates and let only the ones from the relay. This is a solution in kamailio.cfg.
Otherwise, there are some variants of ICE that should make the setup faster (e.g., use relay first, they try other better variants and if one works switch to it). Not sure the state of implementation in browsers and the options offered by various sip js libraries.
Cheers, Daniel
Am 05.01.2018 9:04 vorm. schrieb "Daniel-Constantin Mierla" <miconda@gmail.com mailto:miconda@gmail.com>:
Hello, another thing that one should be aware of is that in webrtc/websocket some sip headers (e.g., via, contact) use a random string instead of ip addresses and many old devices will throw parsing error. jssip (and maybe other js sip stacks) has an option to enable using a private ip address instead of a random ip address. Cheers, Daniel On 27.12.17 12:55, Karsten Horsmann wrote:
Hello Paul and List, you can use the nice WebRTC Example from havfo at github https://github.com/havfo/WEBRTC-to-SIP <https://github.com/havfo/WEBRTC-to-SIP> The magic with kamailio, rtpengine and WebRTC / SIP Bridging starts in this route. https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg#L599 <https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg#L599> You can merge this with the default kamailio advanced config to create an kamailio/rtpengine SBC. Kind Regards 2017-12-26 14:35 GMT+01:00 <paul@kristianpaul.org <mailto:paul@kristianpaul.org>>: Hi, I'm looking to use kamailio as a webrtc proxy for legacy sip system that doesnt have this capability, is there a example or blueprint i can follow to get started with this? I'm RTFMing the docs but still need a while to understand kamailio internals :-) _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users> -- Mit freundlichen Grüßen *Karsten Horsmann* _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
-- Daniel-Constantin Mierla www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com <http://www.asipto.com> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com <http://www.kamailioworld.com> _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>