[OpenSIPS-Users] HTTP to SIP

Mario Stocco cfmxpro at gmail.com
Sat Jul 31 00:17:36 CEST 2010


Remi,
At first glace, this looks like the bulk of your work is in the CGI
environment of your choice.

Browser gets http://yourhttpserver/cgiscript?register

CGI script sends SIP REGISTER to SIP Proxy on UDP 5060

SIP Proxy replies 200 OK on UDP:5060

CGI Proxy replies 200 OK on TCP:80

Is this close?

Mario


On Fri, Jul 30, 2010 at 8:37 AM, remi humbert <mimiche at gmail.com> wrote:

> Hi,
>
> I want to be able to make http REST request to some http server, and
> transform
> these requests into SIP MESSAGE requests.
>
> I made a prototype that works using several sip clients embedded into an
> http server. This kinda works.
> I would like to suppress the http server, and make request directly to the
> OpenSIPS registrar.
>
> I found out about the mi_xmlrpc module, which makes opensips understand
> http, but I cannot
> find out how to get the http requests in the opensips.cfg file.
> In kamalio they seems to have some *modparam*("*xmlrpc*", "*route*",
> "XMLRPC");)
> which allows to declare a route in the config file to get the http request.
>
> I could not find the equivalent in mi_xmlrpc.
>
> So first question, does this exists in opensips, how can I get the http
> requests ?
> Second, do you think it is a good idea to do this way ? Have you got
> another idea ?
>
> Regards,
>
> --
> Remi
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100730/801bbe47/attachment-0001.htm 


More information about the Users mailing list