[OpenSIPS-Devel] Devel Digest, Vol 72, Issue 27

ag at ag-projects.com ag at ag-projects.com
Wed Jun 25 14:35:37 CEST 2014


Sounds like a generic tunnelling technique that has little to do with SIP or media. Why can’t you just use OpenVPN or similar ?

Adrian

On 25 Jun 2014, at 08:28, kaushik parmar <androidjpc0 at gmail.com> wrote:

> Hi,
> 
> I am encrypting SIP and RTP message before sending it from sip mobile dialer and it sends UDP packet over network. So no one can know about the type (SIP or RTP) of packet until we decrypt it. This is for secured call and also solution for voip blocked countries.
> 
> I want to know which file or module is used in opensips to get and send udp packets? when opensips receives message , i will decrypt it and before send response to mobile dialer , i will encrypt the message. Same for rtpproxy server.
> 
> 
> 
> 
> On Wed, Jun 25, 2014 at 2:41 PM, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
> Hi Kaushik,
> 
> So the while SIP package is encrypted . It is not easy to add hooks before the SIP stack (between transport layer and SIP stack), but can be done - could you provide more details how the encryption / decryption works, if over UDP or TCP, etc ?
> 
> Regards,
>  Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> On 25.06.2014 09:26, kaushik parmar wrote:
>> Hi Adrian,
>> 
>> It is not OTR. Actually we have own algorithm for encryption and decryption of sip and rtp packets. We implemented it in our SIP mobile dialer. Now we need to implement it on proxy server. I want to add encryption and decryption code in opensips (and rtpproxy) so opensips (rtpproxy) can come to know that it is SIP and rtp packets. Can you please tell me where should i add this code in opensips?  I am searching for file where opensips getting sip messages and from where it sends/forward sip messages.
>> 
>> 
>> On Tue, Jun 24, 2014 at 3:30 PM, <devel-request at lists.opensips.org> wrote:
>> Send Devel mailing list submissions to
>>         devel at lists.opensips.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>> or, via email, send a message with subject or body 'help' to
>>         devel-request at lists.opensips.org
>> 
>> You can reach the person managing the list at
>>         devel-owner at lists.opensips.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Devel digest..."
>> 
>> 
>> Today's Topics:
>> 
>>    1. Re: [OpenSIPS-Users] Encrypt and Decrypt sip      signals
>>       (ag at ag-projects.com)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Mon, 23 Jun 2014 16:11:46 -0300
>> From: ag at ag-projects.com
>> Subject: Re: [OpenSIPS-Devel] [OpenSIPS-Users] Encrypt and Decrypt sip
>>         signals
>> To: OpenSIPS users mailling list <users at lists.opensips.org>
>> Cc: OpenSIPS devel mailling list <devel at lists.opensips.org>
>> Message-ID: <2EA9531B-F5B8-42EF-B513-395B6A493175 at ag-projects.com>
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> Perhaps is using OTR? In this case the encryption is end-to-end and cannot be handled by an intermediary as it defies the purpose.
>> 
>> Adrian
>> 
>> On 23 Jun 2014, at 04:24, Olle E. Johansson <oej at edvina.net> wrote:
>> 
>> >
>> > On 23 Jun 2014, at 09:12, kaushik parmar <androidjpc0 at gmail.com> wrote:
>> >
>> >> Hello All,
>> >>
>> >> My Android mobile SIP Dialer is sending Encrypted SIP messages
>> > Is it actually using S/MIME to decrypt on a per-message basis or do you mean it's using TLS as a transport?
>> >
>> > /O
>> >
>> >> and i want to decrypt that SIP message on opensips proxy server. Opensips server will Decrypt the sip request and forward it to my voip server. Same way it will take sip request of voip switch , Encrypt it and send Encrypted SIP request to Android mobile Application.
>> >>
>> >> Can anyone tell me where should i write Encryption and Decryption code in opensips? Is there any particular file in which i can write my encryption code?
>> >>
>> >>
>> >> --
>> >> Kind regards,
>> >>
>> >> Kaushik Parmar
>> >> _______________________________________________
>> >> Users mailing list
>> >> Users at lists.opensips.org
>> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>> > _______________________________________________
>> > 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/devel/attachments/20140623/813151c3/attachment.html>
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>> 
>> 
>> End of Devel Digest, Vol 72, Issue 27
>> *************************************
>> 
>> 
>> 
>> -- 
>> Kind regards,
>> 
>> Kaushik Parmar
>> 
>> 
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 
> 
> 
> 
> -- 
> Kind regards,
> 
> Kaushik Parmar
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140625/7538a053/attachment-0001.htm>


More information about the Devel mailing list