[OpenSIPS-Users] Web Sockets VIA header parsing support in OpenSIPs

Muhammad Shahzad shaheryarkh at googlemail.com
Thu Aug 23 14:31:02 CEST 2012


You don't need to change anything in OverSIP, just install it with default
configuration and in SIPML5, change websockets server IP and port to where
OverSIP is running and then from browser open the call.htm page and give
account details for your OpenSIPs, as if you are connecting to OpenSIPs
from a soft phone. OverSIP will handle the rest. It will receive request
from SIPML5 over Websocket and forward it OpenSIPs after adding appropriate
PATH and VIA headers.

On OpenSIPs end, you need the patch mentioned in this email thread and
recompile opensips with it. Then you can receive SIP requests from OverSIPs
and you can process them whatever way you want as if the requests are
coming from SIP client through an intermediate SIP proxy.

Thank you.


On Thu, Aug 23, 2012 at 1:06 PM, Hadi Ams <ln.nima.nl at gmail.com> wrote:

> Dear Muhammad ,
> Can you please briefly explain how to forward the traffic from Oversip to
> OpenSips ?
> I am not exactly sure what to change in oversip.conf (or should I try
> something with proxies.conf ) and how to play with incoming traffic
> settings in OpenSips .
> At the moment in outgoing "REGISTER" messages, OverSip uses the private IP
> address of the server in "PATH" and "VIA" headers, therefore I am not able
> to receive responses from the REGISTRAR.
> I am using sipml5 ==> OverSips =??=> OpenSips
>
> your help is much appreciated.
>
>
> On Sunday, August 12, 2012 5:04:27 PM UTC+2, Muhammad Shahzad wrote:
>>
>> This patch only allows parsing of WS VIA in OpenSIPs, you still need some
>> WS to SIP proxy like OverSIP to receive calls from WebRTC clients. So just
>> setup OverSIP proxy and configure it to forward all traffic from WebRTC
>> clients to OpenSIPs, and then you can do everything that OpenSIPs can do
>> for traffic coming from a SIP end-point.
>>
>> Thank you.
>>
>


-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120823/feafb687/attachment.htm>


More information about the Users mailing list