On Sat, May 31, 2014 at 9:45 AM, Steve Ng <steveng.1...@gmail.com> wrote:
> Hi, > > I've managed to set up WS, users with JSSIP can connect to Kamailio after > reading up on the websocket module documentation. > > However, the proxying part of authentication to SIP provider through > Kamailio is something that I need advice on (how to set in the config how). > I don't know your variables, but setting Kamailio as outbound proxy for all requests coming from your webrtc UA could make the trick. > > Do you have any config that do something like this to share? > > > Regards > > > On Sat, May 31, 2014 at 10:10 PM, Carlos Ruiz Díaz < > carlos.ruizd...@gmail.com> wrote: > >> Just proxy the authentication to their SIP providers, and let kamailio >> put itself in the path so it can bridge between UDP (probably) and WS >> transport. >> >> You can use dispatcher, carrierroute, whatever module you want. The only >> non-ordinary thing here are the UA's communicating via websockets, and this >> scenario can be handled with websockets module. Maybe this example can suit >> you [1]. >> >> [1] https://github.com/caruizdiaz/kamailio-ws >> >> Regards >> >> >> On Sat, May 31, 2014 at 7:43 AM, Steve Ng <steveng.1...@gmail.com> >> wrote: >> >>> Hi, >>> >>> My users are from a web application using JSSIP. They each have a sip >>> trunk account, which could be from any provider. JSSIP would connect to >>> Kamailio's websocket server passing the SIP trunk credential information >>> and Kamailio will relay it to that specific sip trunk provider? >>> >>> Is there anyway that I could use Kamailio as the middleman? Is it a >>> combination of dispatcher module and websocket module? >>> >>> Thanks! >>> >>> Regards, >>> Steve >>> >>> _______________________________________________ >>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>> sr-users@lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >>> >>> >> >> >> -- >> Carlos >> http://caruizdiaz.com >> http://ngvoice.com >> +52 55 3048 3303 >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- Carlos http://caruizdiaz.com http://ngvoice.com +52 55 3048 3303
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users