[asterisk-dev] encryption option when using realtime

Gaston Draque gaston.draque at gmail.com
Fri Feb 8 07:33:13 CST 2013


I am not sure this is the correct list, maybe the users-list is best suited?

This is what I would check, though:
1 - make sure the field is properly created
 - the field could be a char(3) with lets say default 'no'
 - set it to yes for the testing peer

2 - make sure it is being loaded by chan_sip
 - sip reload or prune and show load that peer
 - then sip show that peer to verify changes

Once that has been checked, it is no longer a realtime sip configuration
issue, and you need to start by making sure res_srtp is installed, and that
the endpoint is configured to use srtp.

Again, I believe this belongs to the users-list

Best regards,
Gaston Draque

On Thu, Feb 7, 2013 at 4:45 PM, hugo hu <hugohu at outlook.com> wrote:

> Hi Marcello,
>
> Thanks very much for your help!
>
> I did it, but it doesnot work.
>
> Regards.
> Hugo
>
> > From: marcello.ceschia at gmx.net
> > To: asterisk-dev at lists.digium.com
> > Date: Thu, 7 Feb 2013 20:41:46 +0100
> > Subject: Re: [asterisk-dev] encryption option when using realtime
>
> >
> > just add a column encryption for your sip table!
> >
> > Am Donnerstag, 7. Februar 2013, 22:22:18 schrieb hugo hu:
> > > Hi Everyone,
> > >
> > > In the table sippeers( in the directory
> /usr/src/asterisk-1.8.18.1/contrib/realtime/mysql/sippeers.sql ), there
> isnot field encryption, how can I set the encryption =yes? do you know the
> source code about the realtime loading confguration from database, If I
> have no idear to do it, I want to change the source code, but I can not
> find the the source file about it. Thanks.
> > >
> > > Regards.
> > > Hugo
> > >
> > > From: hugohu at outlook.com
> > > To: asterisk-dev at lists.digium.com
> > > Date: Wed, 6 Feb 2013 23:32:48 +0300
> > > Subject: [asterisk-dev] encryption option when using realtime
> > >
> > >
> > >
> > >
> > > I tried to load the extension configuration(extensions.conf) from
> mysql, but there is not the encrytion option in the configuration table of
> mysql. In other word when I enable the realtime, I can not set the
> "encryption = yes", How can I do it? Any idear? Thanks in advanced.PS. in
> the directory /usr/src/asterisk-1.8.18.1/contrib/realtime/mysqlsippeers.sql
> > >
> > > There isnot "encryption", if I add it by hand, it can not take
> effect.Regards.
> > >
> > >
> > > --
> > > _____________________________________________________________________
> > > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > >
> > > asterisk-dev mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM GCC GIT d? s:+ a? C+++ UB++ UL+++ P++ L++ E-- W++ N++ o-- K+ w(++)
O M(+) V- PS+ PE Y+ PGP t-- 5-- X R- tv+ b+(++) DI+(++) D++
G e++ h---- r+++ y++++
-----END GEEK CODE BLOCK------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130208/04b0bb4b/attachment.htm>


More information about the asterisk-dev mailing list