[asterisk-users] Asterisk SRTP certificates

2007-05-16 Thread Alexandr Olekhnovich

Hello all,
I want to use Asterisk with the SRTP patch from
http://bugs.digium.com/view.php?id=5413 .
I'm confused to create the certificates for it.
Can anybody help in such question?

P. S. I've created the pem files and renamed it to
* ${astetcdir}/asterisk.crt
* ${astetcdir}/asterisk.key
* ${astetcdir}/ca-certificates.crt
but the asterisk got segmentation fault error at startup.

--
Thanks in advance
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Re: Asterisk SRTP certificates

2007-05-16 Thread Alexandr Olekhnovich

Thank you all, I've got it.

On 5/16/07, Alexandr Olekhnovich [EMAIL PROTECTED] wrote:


Hello all,
I want to use Asterisk with the SRTP patch from
http://bugs.digium.com/view.php?id=5413 .
I'm confused to create the certificates for it.
Can anybody help in such question?

P. S. I've created the pem files and renamed it to
* ${astetcdir}/asterisk.crt
* ${astetcdir}/asterisk.key
* ${astetcdir}/ca-certificates.crt
but the asterisk got segmentation fault error at startup.

--
Thanks in advance
Alexander Olekhnovich





--
Best Regards
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] TLS support

2007-05-05 Thread Alexandr Olekhnovich

Hello,
Does anybody know whether Asterisk 1.4 supports TLS? Or may be any work
patches or branches?

Thanks in advance

--
Best Regards
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Wildcard TE410P problem

2007-05-03 Thread Alexandr Olekhnovich

Hello all,
I'm using Wildcard TE410P card.
Here is a zaptel.cfg

loadzone=se
defaultzone=se

span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
span=2,0,0,ccs,hdb3,crc4
bchan=32-46
dchan=47
bchan=48-62
span=3,0,0,ccs,hdb3,crc4
bchan=63-77
dchan=78
bchan=79-93
span=4,0,0,ccs,hdb3,crc4
bchan=94-108
dchan=109
bchan=110-124

# ztcfg -vvv

Zaptel Configuration
==

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 18)
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: Clear channel (Default) (Slaves: 24)
Channel 25: Clear channel (Default) (Slaves: 25)
Channel 26: Clear channel (Default) (Slaves: 26)
Channel 27: Clear channel (Default) (Slaves: 27)
Channel 28: Clear channel (Default) (Slaves: 28)
Channel 29: Clear channel (Default) (Slaves: 29)
Channel 30: Clear channel (Default) (Slaves: 30)
Channel 31: Clear channel (Default) (Slaves: 31)
Channel 32: Clear channel (Default) (Slaves: 32)
Channel 33: Clear channel (Default) (Slaves: 33)
Channel 34: Clear channel (Default) (Slaves: 34)
Channel 35: Clear channel (Default) (Slaves: 35)
Channel 36: Clear channel (Default) (Slaves: 36)
Channel 37: Clear channel (Default) (Slaves: 37)
Channel 38: Clear channel (Default) (Slaves: 38)
Channel 39: Clear channel (Default) (Slaves: 39)
Channel 40: Clear channel (Default) (Slaves: 40)
Channel 41: Clear channel (Default) (Slaves: 41)
Channel 42: Clear channel (Default) (Slaves: 42)
Channel 43: Clear channel (Default) (Slaves: 43)
Channel 44: Clear channel (Default) (Slaves: 44)
Channel 45: Clear channel (Default) (Slaves: 45)
Channel 46: Clear channel (Default) (Slaves: 46)
Channel 47: D-channel (Default) (Slaves: 47)
Channel 48: Clear channel (Default) (Slaves: 48)
Channel 49: Clear channel (Default) (Slaves: 49)
Channel 50: Clear channel (Default) (Slaves: 50)
Channel 51: Clear channel (Default) (Slaves: 51)
Channel 52: Clear channel (Default) (Slaves: 52)
Channel 53: Clear channel (Default) (Slaves: 53)
Channel 54: Clear channel (Default) (Slaves: 54)
Channel 55: Clear channel (Default) (Slaves: 55)
Channel 56: Clear channel (Default) (Slaves: 56)
Channel 57: Clear channel (Default) (Slaves: 57)
Channel 58: Clear channel (Default) (Slaves: 58)
Channel 59: Clear channel (Default) (Slaves: 59)
Channel 60: Clear channel (Default) (Slaves: 60)
Channel 61: Clear channel (Default) (Slaves: 61)
Channel 62: Clear channel (Default) (Slaves: 62)
Channel 63: Clear channel (Default) (Slaves: 63)
Channel 64: Clear channel (Default) (Slaves: 64)
Channel 65: Clear channel (Default) (Slaves: 65)
Channel 66: Clear channel (Default) (Slaves: 66)
Channel 67: Clear channel (Default) (Slaves: 67)
Channel 68: Clear channel (Default) (Slaves: 68)
Channel 69: Clear channel (Default) (Slaves: 69)
Channel 70: Clear channel (Default) (Slaves: 70)
Channel 71: Clear channel (Default) (Slaves: 71)
Channel 72: Clear channel (Default) (Slaves: 72)
Channel 73: Clear channel (Default) (Slaves: 73)
Channel 74: Clear channel (Default) (Slaves: 74)
Channel 75: Clear channel (Default) (Slaves: 75)
Channel 76: Clear channel (Default) (Slaves: 76)
Channel 77: Clear channel (Default) (Slaves: 77)
Channel 78: D-channel (Default) (Slaves: 78)
Channel 79: Clear channel (Default) (Slaves: 79)
Channel 80: Clear channel (Default) (Slaves: 80)
Channel 81: Clear channel (Default) (Slaves: 81)
Channel 82: Clear channel (Default) (Slaves: 82)
Channel 83: Clear channel (Default) (Slaves: 83)
Channel 84: Clear channel (Default) (Slaves: 84)
Channel 85: Clear channel (Default) (Slaves: 85)
Channel 86: Clear channel (Default) (Slaves: 86)
Channel 87: Clear channel (Default) (Slaves: 87)
Channel 88: Clear channel (Default) (Slaves: 88)
Channel 89: Clear channel (Default) (Slaves: 89)
Channel 90: 

Re: [asterisk-users] Asterisk M$ SQL Server

2007-04-24 Thread Alexandr Olekhnovich

Use FreeTDS as a driver for unix_ODBC (to connect to MS SQL).

On 4/24/07, Steve Totaro [EMAIL PROTECTED] wrote:


 FreeTDS is another option.

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
KB3OPB

  --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Matt
*Sent:* Tuesday, April 24, 2007 8:45 AM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* Re: [asterisk-users] Asterisk  M$ SQL Server



We use it extensively for many things.
You'll need freeodbc to connect to M$ $QL $erver but Asterisk will
happily talk.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





--
Best Regards
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk codecs retranslation

2007-04-23 Thread Alexandr Olekhnovich

Hello, everyone.
I'm interested in one thing: as I know asterisk retranslates the media
stream with the next way
1. Gets the frame with the UA1's codec
2. Retranslates it to slan
3. Ratranslates slan to UA2's codec
4. Send the frame
It seems to me, that it follows these steps anyway, the question is:
Will Asterisk retranslate the frame ua1-slin-au2, if the codecs of the
1-st user and the 2-nd are the same? I need him do not touch the frames,
just retransmit them as is.

--
Best Regards
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk codecs retranslation

2007-04-23 Thread Alexandr Olekhnovich

It's your understanding and mine, but I need to know exactly. It's not easy
to check.

On 4/23/07, Nicholas Campion [EMAIL PROTECTED] wrote:


No.  My understanding is that codec translation only takes place when the
codecs are not the same OR if asterisk is recording the conversation.  (The
second situation may not require conversion either)

On 4/23/07, Alexandr Olekhnovich [EMAIL PROTECTED] wrote:

 Hello, everyone.
 I'm interested in one thing: as I know asterisk retranslates the media
 stream with the next way
 1. Gets the frame with the UA1's codec
 2. Retranslates it to slan
 3. Ratranslates slan to UA2's codec
 4. Send the frame
 It seems to me, that it follows these steps anyway, the question is:
 Will Asterisk retranslate the frame ua1-slin-au2, if the codecs of the
 1-st user and the 2-nd are the same? I need him do not touch the frames,
 just retransmit them as is.

 --
 Best Regards
 Alexander Olekhnovich
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





--
Best Regards
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk codecs retranslation

2007-04-23 Thread Alexandr Olekhnovich

Thank you very much

On 4/23/07, Nicholas Campion [EMAIL PROTECTED] wrote:


It looks like the section you want to look at is channel.c:set_format(line 2808).  
My understanding is that chan-nativeformats is set to the
format that the channel was created in (GSM for instance) and fmt is set to
the codec we are trying to accept audio from or write audio to.  The
important line is res = ast_translator_best_choice(fmt, native); this is
where the channel object is trying to determine what the best translation
path (sequence of translations) is for fmt to native (the channels format).
translate.c:ast_translator_best_choice (line 787) determines what the
sequence of translations will be, but if (*dst)  (*srcs) (the codecs are
common/ the same), then you can see that it returns that the codecs are
already matching.  (See the comment on 802:/* We are done, this is a common
format to both. */)

I had no prior knowledge of this problem.  Looking at the source code is
really the only way to get more than comments which are someones
understanding.

Good luck,
Nick

On 4/23/07, Alexandr Olekhnovich [EMAIL PROTECTED] wrote:

 It's your understanding and mine, but I need to know exactly. It's not
 easy to check.

 On 4/23/07, Nicholas Campion  [EMAIL PROTECTED] wrote:
 
  No.  My understanding is that codec translation only takes place when
  the codecs are not the same OR if asterisk is recording the conversation.
  (The second situation may not require conversion either)
 
  On 4/23/07, Alexandr Olekhnovich [EMAIL PROTECTED] wrote:
 
   Hello, everyone.
   I'm interested in one thing: as I know asterisk retranslates the
   media stream with the next way
   1. Gets the frame with the UA1's codec
   2. Retranslates it to slan
   3. Ratranslates slan to UA2's codec
   4. Send the frame
   It seems to me, that it follows these steps anyway, the question is:
   Will Asterisk retranslate the frame ua1-slin-au2, if the codecs of
   the 1-st user and the 2-nd are the same? I need him do not touch the 
frames,
   just retransmit them as is.
  
   --
   Best Regards
   Alexander Olekhnovich
   ___
   --Bandwidth and Colocation provided by Easynews.com --
  
   asterisk-users mailing list
   To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
  
  
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 


 --
 Best Regards
 Alexander Olekhnovich
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users





--
Best Regards
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users