[asterisk-users] sip.conf, realtime, and LDAP

2010-12-25 Thread Richard Kenner
I'm confused exactly what's supported with LDAP and Asterisk. What I want to do is to have SIP peer information read directly (in realtime) from LDAP. Can this be done? If so, with what Asterisk versions? -- _ -- Bandwidth and

Re: [asterisk-users] Top Posting

2011-01-15 Thread Richard Kenner
It is not a matter of preference, it is actually a rule [1]. Top-posting is also an annoying practice [2] and NOT the general accepted way to reply. And that's been the case for at least TWO DECADES. I find it amazing that this is still being argued now. --

[asterisk-users] extconfig, realtime, and SIP

2011-01-24 Thread Richard Kenner
I'm confused about a few things relating to realtime, SIP and config in general. As I understand it, with the exception of extensions.conf, I can either have a config file completely in text or completely in a database. Is that correct? I can't find documentation for exactly what switch = does

Re: [asterisk-users] Hide the plain text password

2011-02-14 Thread Richard Kenner
Who are you hiding them from? Anyone with access to the Asterisk server can already do far more damage than extracting these passwords. You may (like we do) want to store config files in a version control system in a common repository. People who have access to that repository don't necessary

Re: [asterisk-users] Hide the plain text password

2011-02-15 Thread Richard Kenner
Anyway, the answer is: No, it's mathematically impossible to do that. Even if the passwords were stored encrypted, Asterisk itself has to be able to get the plaintext passwords to send to the remote server; so the code to decrypt them must necessarily be located on the machine. And the

Re: [asterisk-users] Hide the plain text password

2011-02-15 Thread Richard Kenner
How does that improve things? The reason that works with Cisco routers is because the code that reads that special key file and uses it to decrypt the other files is closed-source; nobody can see how it works. As another poster said, that's not true for Asterisk. If Asterisk had such a

Re: [asterisk-users] Hide the plain text password

2011-02-15 Thread Richard Kenner
Right. But it really won't help much (except complicating things) if the user has decent access to Asterisk. Yes, but we're talking about cases where the user *doesn't* have access to Asterisk. At many locations, including mine, Asterisk runs on a machine dedicated for that purpose and only

Re: [asterisk-users] Hide the plain text password

2011-02-15 Thread Richard Kenner
#include the password (a file the line 'secret=') from a local file on the file system. The user has no access to it, right? Right, but we're not talking ONE password, but ANY password. Having dozens of those files, one for each password, gets to be a real pain really fast. And you STILL want

Re: [asterisk-users] Hide the plain text password

2011-02-16 Thread Richard Kenner
- The config file reader looks for strings of the form {enc:string}: and replaces them, before otherwise parsing the line, with the decrypted version of the string using the key in the master_key file. This sounds pretty reasonable, except perhaps that you might only want to convert

Re: [asterisk-users] REFER and dialplan broken (as documented inchan_sip.c on line 11951)

2011-02-23 Thread Richard Kenner
I recognize all the options given yet as I explained before they are not viable. I do not have the resources to pay someone, I do not have the expertise to fix this issue because according to an asterisk developer any fix in that area would be deeply architectural in nature... what other

Re: [asterisk-users] [1.4] Reading phone number the French way?

2011-03-08 Thread Richard Kenner
exten = s,n(nbr2call),Read(NBR2CALL,please-type-number,10,,2,20) For instance, a landline number in Paris like 01 42 92 81 00 is read zero-one, forty-two, ninety-two, eighty-one, zero-zero, where I assume Americans would read all the digits individually (zero, one, four, two, etc.) Maybe

Re: [asterisk-users] The new ConfBridge application is now in Asterisk Trunk!

2011-04-25 Thread Richard Kenner
No, conference scheduling is not a feature that we have built directly into ConfBridge, and I'm debating on what it would look like. Scheduling isn't built into MeetMe either, but the fact that it dynamically reads from a database means that you can write external programs (such as Web-Meetme)

[asterisk-users] Odd error in libpri

2011-05-01 Thread Richard Kenner
I just updated libpri 1.4 on my system to the latest from that branch and my QSIG connection to an NEC SV8300 stopped working. The trace showing the problem is below: q931.c:5640 q931_connect: Call 7168 enters state 10 (Active). Hold state: Idle DL-DATA request Protocol Discriminator: Q.931

Re: [asterisk-users] Odd error in libpri

2011-05-03 Thread Richard Kenner
Please create a mantis issue describing this problem. Pardon my ignorance, but what does mantis refer to? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live

[asterisk-users] Issue with Asterisk Aastra 57i at v3.2

2011-05-04 Thread Richard Kenner
I recently tried to update my Aastra 57i to version 3.2 and ran into a problem. It won't properly register and says contact mismatch. I added sip contact matching: 2 to aastra.cfg, but that didn't help. When I look at the SIP trace, but I see is the Aastra sending a REGISTER and Asterisk

Re: [asterisk-users] Issue with Asterisk Aastra 57i at v3.2

2011-05-04 Thread Richard Kenner
Is asterisk replying differently when firmware 3.2 is used ? No, but the phone cares with 3.2 and not with 2.6. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live

Re: [asterisk-users] Issue with Asterisk Aastra 57i at v3.2

2011-05-05 Thread Richard Kenner
Asterisk does indeed send an Options before the OK but my 57i doesn't seem to mind. That's odd. It does for me. Perhaps you need to upgrade firmware on the Aastra phone? The problem occured when I DID upgrade it! Precisely to the one you mentioned. Or turning off qualify for this peer

Re: [asterisk-users] Issue with Asterisk Aastra 57i at v3.2

2011-05-05 Thread Richard Kenner
In that case it suggests it is some setting you have applied to the phones that is causing it. Can you post the local.cfg server.cfg files from the phone (removing the passwords from there first)? Sure: local.cfg is checksums, server information, and: contrast level: 3 ringer volume: 8

Re: [asterisk-users] Issue with Asterisk Aastra 57i at v3.2

2011-05-05 Thread Richard Kenner
In that case it suggests it is some setting you have applied to the phones that is causing it. I just called Aastra tech support. I'm always VERY impressed that the first person who picks up the phone is very technical. He said that they've had reports of this issue. The problem goes away

Re: [asterisk-users] receive faxes

2011-05-05 Thread Richard Kenner
I don't believe you really understand what Open Source means...it does not mean FREE. Actually, it DOES mean free, especially since Asterisk is under the GPL. But, as RMS often says, that's 'free' as in 'free speech', not 'free beer'. That problem doesn't exist in French, where there are two

Re: [asterisk-users] Free CNAM

2011-05-29 Thread Richard Kenner
FreeCNAM.org is providing a free CNAM API for Open Source PBX users. This API queries a private CNAM database, and returns standard 15-Character CNAM results. Any entry not already in the database will be queued for investigation, and added to the database as soon as information is located.

Re: [asterisk-users] Free CNAM

2011-05-29 Thread Richard Kenner
Try them all again. Remember that this is a static database that has to 'research' numbers it has not seen before. Well, that doesn't make it very interesting: most calls I'd expect to get won't have been seen by it before. By now (a few minutes later), the database should have been

Re: [asterisk-users] Free CNAM

2011-05-29 Thread Richard Kenner
Try them all again. Remember that this is a static database that has to 'research' numbers it has not seen before. What happens when the CNAM is changed? How often does it go back and poll the database? -- _ -- Bandwidth

Re: [asterisk-users] Free CNAM

2011-05-29 Thread Richard Kenner
The system uses real Telco CNAM Dips. Any generic names you get are from the subscriber's carrier itself. We can only provide what we ourselves get. There's more than one CNAM database (aren't there seven?). I would have hoped that a service such as this would look at a bunch of them and

Re: [asterisk-users] Get second cipher in an extension

2011-06-20 Thread Richard Kenner
how can I get the second character/cipher of an extension ? If I have : exten = 12345,n,NoOP() How can I get 2 ? ${EXTEN:1:1} -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk?

Re: [asterisk-users] Securing Asterisk

2011-07-26 Thread Richard Kenner
Can please the Powers that Be reconsider and add this option to sip.conf? What Powers that Be? This is open-source software! If you need an option in sip.conf, just add it! -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] Licensing question.

2011-11-09 Thread Richard Kenner
But so long as you were careful not to copy any of the code you are going to link against into your Source Code (and why would you, if you were linking against it?), it only *becomes* a derivative work *after* it has been compiled. That's not necessarily true because if you have a work that

[asterisk-users] Clipping issue with SIP over satellite

2012-06-17 Thread Richard Kenner
I'm having a wierd clipping issue with one employee who's using a phone over a satellite Internet. He was sold that system specifically for use with VoIP. Ping times show average round-trip time as around 700 ms with a range of 560 to 841, so considerable jitter. Things work fine when he's

Re: [asterisk-users] Clipping issue with SIP over satellite

2012-06-19 Thread Richard Kenner
You have hardware echo canceling *outside* of your T1 card? No, on the card. The DAHDI layer has some buffering that can help with jitter, but the default buffers can only handle 80ms of jitter. You can increase this by setting the 'buffers' option in chan_dahdi.conf; each buffer is 20ms

Re: [asterisk-users] Clipping issue with SIP over satellite

2012-06-19 Thread Richard Kenner
You have hardware echo canceling *outside* of your T1 card? No, on the card. Then you definitely don't want 'echocancel=no' set, or you'll disable it. When I thought that it was echo cancellers fighting each other, that's exactly what I wanted to do. --

[asterisk-users] One-way audio with media_address

2012-09-04 Thread Richard Kenner
I'm migrating from Asterisk 1.6.2 to 10.7.0. In 1.6.2, I made a small patch to allow specifying an address for RTP media. That worked. In 10.7.0, this appears to be built in with media_address, but it doesn't work for me. My Asterisk server has multiple addresses, all global address on two

[asterisk-users] Repeated Asterisk 10.7.0 crashes

2012-09-04 Thread Richard Kenner
I'm getting cycles of repeated crashes which occur and then stop occurring. Looking at the dumps via gdb shows that something peculiar is happening that looks like memory corruption: Program terminated with signal 6, Aborted. #0 0x003686e30285 in raise () from /lib64/libc.so.6 (gdb) up #1

[asterisk-users] Responsibility for res_speech_lumenvox.so

2012-09-04 Thread Richard Kenner
Who's responsible for it? Lumenvox is the only place that distributes it, but they can't do anything with it since they get it from Digium. However, the current version doesn't work with Asterisk 10.7.1 and the latest version of Lumenvox software (it appears that a timeout is being set to zero).

[asterisk-users] Any workaround for res_speech_lumenvox.so issue?

2012-09-18 Thread Richard Kenner
The latest version of res_speech_lumenvox.so doesn't seem to work and nobody seems to know when a version that works will be available. It looks to me like this is some sort of timeout issue. Does anybody have a workaround to allow this to be used? (I know about UniMRCP, but find it quite

[asterisk-users] Questions on converting to ConfBridge

2012-10-02 Thread Richard Kenner
I'm looking at what would be involved in converting from MeetMe to ConfBridge and there seems to be a lot of missing administrative things, but I hope I'm just missing it. We all know about the missing realtime linkage. That's a major nuisance, but can be worked around. More serious is that the

Re: [asterisk-users] 10.9.0-rc1 : Help with GoSubIf Parsing

2012-10-05 Thread Richard Kenner
I'm getting a parsing error with the folllowing: same=n,GoSubIf($[${CALLERID(num)} = 2024324321]?other,1($ {thisexten}):) WARNING[11356]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: =

[asterisk-users] Question on Asterisk memory management

2012-10-06 Thread Richard Kenner
I'm trying to add a Talking: field to the AMI ConfbridgeList event so that my conference room monitoring will work with Confbridge instead of having to stay with MeetMe and there's something I don't understand. When app_confbridge.c calls ast_bridge_features_set_talk_detector, it passes a *copy*

[asterisk-users] Odd cracking with SIP-DAHDI

2012-10-16 Thread Richard Kenner
We recently set up a SIP trunk between an office in NY running Asterisk and an office in Paris (running Alcatel). All works fine if a SIP phone on the NY system talks to the Paris PBX. But if something on DAHDI (a PRI or MeetMe) talks to the Paris PBX, there's a low-volume crackling. This isn't

Re: [asterisk-users] Odd cracking with SIP-DAHDI

2012-10-16 Thread Richard Kenner
cat proc/interrupts? http://wiki.openvox.cn/index.php/Troubleshooting_of_PRI_cards I'm sorry that I wasn't clear: the PRI is fine. It's been in use for years and hasn't caused any problems. What's new is the SIP connection between the two offices. And another datapoint: the problem only

Re: [asterisk-users] Odd cracking with SIP-DAHDI

2012-10-16 Thread Richard Kenner
I seem to recall seeing somewhere recently where there was a bugfix for ulaw/alaw conversion which would cause poor audio. Hmm. You mean: https://issues.asterisk.org/jira/browse/ASTERISK-1323 That was quite old, but that is what the noise sounds like. Have you tried updating your Asterisk

[asterisk-users] Wierd RTP issue

2012-11-24 Thread Richard Kenner
I have a peculiar RTP issue. I'm experimenting with Jitsi as a softphone on one of my desktop Windows machines. That machine can either be connected to Asterisk via an VPN connection (with a static IP address) or not (via NAT). When it's connected via NAT, all is OK. When it's connected with

Re: [asterisk-users] Wierd RTP issue

2012-11-26 Thread Richard Kenner
What's the configuration like for Jitsi in sip.conf? Just fullname and md5secret plus a phones section that reads: [phones](!) type=friend host=dynamic context=SIP_Phones cc_agent_policy=generic cc_monitor_policy=generic disallow=all allow=gsm allow=ulaw allow=g729 allow=h264 What version of

Re: [asterisk-users] Wierd RTP issue

2012-11-26 Thread Richard Kenner
What NAT settings are globally in use? nat=yes Do you have directmedia turned off or on? I've tried both ways, but I normally have it off. This really does indeed feel like a weird NAT issue that is probably configuration related (probably both in Jitsi and Asterisk). Except that: (1)

Re: [asterisk-users] Wierd RTP issue

2012-11-26 Thread Richard Kenner
Yeah this is so weird that packet captures are really needed. A working call and a non-working call, along with what IP ranges are what. There are *tremendous* numbers of RTP packets, of course. Are those captures really going to be useful? That's the problem. If they *are* going to be

Re: [asterisk-users] Wierd RTP issue

2012-11-26 Thread Richard Kenner
Not that many RTP packets are required. It's just important to see the SIP signaling and where traffic is coming/going from with the network topology in mind. That way a clearer picture of where it's saying media should go to, where it's sending media from, etc can be gleamed. Once that

Re: [asterisk-users] Wierd RTP issue

2012-11-26 Thread Richard Kenner
Not that many RTP packets are required. It's just important to see the SIP signaling and where traffic is coming/going from with the network topology in mind. That way a clearer picture of where it's saying media should go to, where it's sending media from, etc can be gleamed. Once that

Re: [asterisk-users] Wierd RTP issue

2012-11-26 Thread Richard Kenner
1. Remove allow=gsm from your sip.conf and reload That did it! Thanks! But why should that have been an issue? 2. Disable ZRTP in Jitsi by going into Options - Accounts - Selecting account - Edit - Security - Uncheck Enable support to encrypt calls. That was one of the first things I

Re: [asterisk-users] Wierd RTP issue

2012-11-26 Thread Richard Kenner
The way you had things configured Asterisk was prioritizing GSM over ULAW, so until Jitsi started responding it sent GSM. I thought I might have seen something like that in the packets, but it didn't look like it showed up in the SDP negotiations, so seemed peculiar to me. Unclear why this

Re: [asterisk-users] Top Posting

2012-12-29 Thread Richard Kenner
I realize the benefits of bottom-posting, especially when posting inline. But top-posting keeps things in reverse chronological order so any reader could catch up quickly on any missed messages in the chain. A new reader scrolls to the bottom and reads up. What's there to catch up with if you

[asterisk-users] Problem with Speex codec

2012-12-30 Thread Richard Kenner
I'm trying to convert from MeetMe to Confbridge and one part of that is handling the ending of a conference. So I'm taking the suggestion of originating a call to the conference and doing: same = n,Playback(conf-will-end-indigits/${WTIME}minutes) That crashes Asterisk (with no core dump!) in

[asterisk-users] Question on Confbridge menu item dialplan_exec

2012-12-31 Thread Richard Kenner
I like the example of using that to add somebody to the conference, but what I don't see is how the dialplan can know what conference the menu item was called from. I was hoping that some variable might have been set, but don't see it in the sources. Is the idea to do that outside of the call to

Re: [asterisk-users] Top Posting

2013-01-02 Thread Richard Kenner
I'm the opposite. I'm likely not to scroll down 10 pages to see the comments at the end. Wouldn't need to if people trimmed their posts properly. Precisely (e.g., see above)! Indeed, my sense is that top-posting *discourages* properly trimming email and that's my main reason against it.

Re: [asterisk-users] Top Posting

2013-01-02 Thread Richard Kenner
In this properly trimmed example, there's no record of who said what. When it's relevant, I trim in such a way that that information is preserved. But I would *never* leave in a header, just the identification of the person who typed that part. Most mailers, when you include text from another

Re: [asterisk-users] Top Posting

2013-01-02 Thread Richard Kenner
If things were properly trimmed, the email would be short enough that it really doesn't matter that much if the new material is on the top or bottom, but people who top-post and don't trim create really hard-to-follow emails. Not really true often times when people do the right thing

Re: [asterisk-users] Any timeframe for the release of the Asterisk 11-Lumenvox connector bridge?

2013-01-18 Thread Richard Kenner
I'm starting to think about migrating from an old Asterisk box to a new one and want to use the Asterisk 11 long term support release, but need Lumenvox integration and I don't see the Asterisk 11 connector bridge for Lumenvox available yet. Lumenvox tech support says this is under Digiums

[asterisk-users] Problems with 'i' extension

2013-01-23 Thread Richard Kenner
I'm running Asterisk 10.7.1. In the log, I see: -- Goto (Conferences,70323,1) -- Auto fallthrough, But there is an 'i' extension: dialplan show i@Conferences [ Context 'Conferences' created by 'pbx_config' ] '_[ti]' =1. GotoIf($[${SET(REC=$[${REC}--1])}3]?999) [pbx_config]

[asterisk-users] Uninitialized variable in main/pbx.c?

2013-01-23 Thread Richard Kenner
I think the below fixes what I reported earlier. Does that seem right? *** pbx.c.old 2013-01-23 21:08:51.0 -0500 --- pbx.c 2013-01-23 21:09:31.0 -0500 *** static enum ast_pbx_result __ast_pbx_run *** 5160,5163 --- 5160,5165 int

Re: [asterisk-users] Uninitialized variable in main/pbx.c?

2013-01-23 Thread Richard Kenner
+ dst_exten[0] = '\0'; Is this 'construct' prefered over dst_exten[0] = 0; or *dst_exten = 0; and why? I'm somewhat of a C pedant here. dst_exten is declared as an array, not a pointer. So if I want to clear the first byte of the

[asterisk-users] g723 transcoding

2013-01-24 Thread Richard Kenner
It appears that there are no transcoders from g723 to anything else in Asterisk 10.7.1. Does anybody know how to fix that? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a

[asterisk-users] clicking sound with alaw codec

2013-01-24 Thread Richard Kenner
I'm trying to interface Asterisk with an Alcatel PABX and trying to find a code that works well. It says it doesn't support ulaw, though it doesn't reject it. It supports G.729, and that works fine, but we'd prefer not to use compression. When I use alaw, the path from Asterisk to the Alcatel

Re: [asterisk-users] clicking sound with alaw codec

2013-01-24 Thread Richard Kenner
Your sounds might be too loud. We use a lot of custom sounds here and when the volume approaches 0 db (asterisk standard is -3 db) we get fuzz and clicks. Sorry I wasn't clear. This is *always*. I hear it over the call when there's talking and when there's dead silence (e.g., an empty

Re: [asterisk-users] clicking sound with alaw codec

2013-01-24 Thread Richard Kenner
When I use alaw, the path from Asterisk to the Alcatel is completely clean, but the other way has a set of clicks that kind of sound like old-fashioned audio noise. [snip] It's been ages since I experienced that but things to check that come to mind in no particular order are:

Re: [asterisk-users] clicking sound with alaw codec

2013-01-24 Thread Richard Kenner
- jitterbuffer settings (try on/off) I added jbenable=yes and get lots of: [Jan 24 17:53:41] WARNING[12317]: abstract_jb.c:284 ast_jb_put: DAHDI/i1/2128518396-6c7 received frame with invalid timing info: has_timing_info=1, len=0, ts=371371424, src=RTP [Jan 24 17:53:41] WARNING[12317]:

Re: [asterisk-users] clicking sound with alaw codec

2013-01-24 Thread Richard Kenner
Check https://issues.asterisk.org/jira/browse/ASTERISK-12042 I did. But that was with an unofficial G.729. This is with the supplied alaw codec. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New

[asterisk-users] Frames with invalid timing info

2013-01-25 Thread Richard Kenner
I'm now getting these errors: [Jan 25 09:19:01] WARNING[29877]: abstract_jb.c:284 ast_jb_put: DAHDI/i1/2128518396-ba7 received frame with invalid timing info: has_timing_info=1, len=0, ts=426891164, src=RTP [Jan 25 09:19:01] WARNING[29877]: abstract_jb.c:284 ast_jb_put: DAHDI/i1/2128518396-ba7

[asterisk-users] Issue with .siren14 sound files

2013-02-26 Thread Richard Kenner
I'm connecting a Polycom SoundStation IP 7000 and trying to use siren14. I downloaded the codecs and now it will properly transcode to connect to other phones and play any files that are in .wav format. But when it tries to play any files with .siren14 extensions, I get complete noise coming out.

[asterisk-users] Transcoding issues with siren14

2013-02-28 Thread Richard Kenner
Sorry for a possible retransmit: the first was sent from an incorrect email address. I'm trying to use the Polycom SoundStation IP 7000 with Confbridge. But the transcoding from siren14 to slin32 is via slin. First, it seems odd that there's no transcoder directly to slin32 since anything else

Re: [asterisk-users] Transcoding issues with siren14

2013-03-14 Thread Richard Kenner
Do you have transcode_via_sln set in asterisk.conf? No, but as I said in a later email, I found the problem: when computing the cost of a path, any downconvert has the same cost. So siren14 - slin - slin32 is the same cost as siren14 - slin16 - slin32 which is wrong. I fixed this

[asterisk-users] Disagreements between codec_siren14 and Polycom sources

2013-03-14 Thread Richard Kenner
There appears to be a disagreement between the encoding given in the sources for Siren14 that are downloaded from Polycom (and the ITU, both are the same) and that implemented by codec_siren14.so. The latter agrees with the actual device. If I make a .sln32 file and run the encoder from

Re: [asterisk-users] Disagreements between codec_siren14 and Polycom sources

2013-03-15 Thread Richard Kenner
I'm answering my own email here: There appears to be a disagreement between the encoding given in the sources for Siren14 that are downloaded from Polycom (and the ITU, both are the same) and that implemented by codec_siren14.so. The latter agrees with the actual device. The disagreement is

Re: [asterisk-users] Integration with skype

2013-05-23 Thread Richard Kenner
For voice, you can use SipToSis. Works flawlessly with Asterisk and the best part, it's free. :) www.mhspot.com/sts/ (site is down right now) And that's related to the problem with it: it hasn't been maintained for quite a while. --

[asterisk-users] Jitter buffer on write side of channel

2013-07-15 Thread Richard Kenner
How does one do this? We have a particular SIP phone that needs a large jitterbuffer, but all I can see is how to put it on the *read* side of the channel. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com

[asterisk-users] Recording conferences with changing bitrate

2014-01-23 Thread Richard Kenner
I'm running 10.7.1 (yes, I know it's old, but this may be a problem in later versions too) and had a conference being recorded via: Set(CONFBRIDGE(bridge,record_conference)=yes) The bridge started out at 8KHz despite one HD device. But when the second came in (G.722), it switched to

Re: [asterisk-users] Asterisk CLI Banner

2014-03-28 Thread Richard Kenner
Modifying a program you have legitimately acquired is Fair Dealing. The Law of the Land gives you the right to do that, even if the vendor restricts your exercise of that right in practice by withholding the Source Code. That is false. Modifying a program is creating a derivative work. As

Re: [asterisk-users] Asterisk CLI Banner

2014-03-28 Thread Richard Kenner
What does violating license of Asterisk means? Does it means I won't be able to use any commercial modules or asterisk commercially? I thought it was open and anyone can change the code? Anyone *can* change the code. But it's licensed software, just like most other software. The difference

Re: [asterisk-users] Asterisk CLI Banner

2014-03-28 Thread Richard Kenner
Of course, any good attorney will never commit to anything. They will never say it is alright to do X, unless X is do nothing No, but a good attorney can give guidance as to likely expectations. As you say, nobody can be sure of something even if it's previously been established law, but a

Re: [asterisk-users] Asterisk CLI Banner

2014-03-29 Thread Richard Kenner
If you really want to do it: 1) create a wrapper to asterisk -r 2) pipe the welcome message to /dev/null 3) ??? 4) profit you didn't modify Asterisk. No you didn't, but you may neverthess have created a derived work. There are two different legal arguments you can make when two pieces

[asterisk-users] Problem building Asterisk-12.2.0

2014-04-26 Thread Richard Kenner
When I run ./configure, it aborts with: checking for uuid_generate_random in -luuid... no checking for uuid_generate_random in -le2fs-uuid... no checking for uuid_generate_random... no configure: error: *** uuid support not found (this typically means the uuid development package is missing)

Re: [asterisk-users] Problem building Asterisk-12.2.0

2014-04-26 Thread Richard Kenner
I think you need the libuuid and libuuid-devel packages. yum list available was not showing any such package. I installed a few other packages, including uuid-dce-devel and one of them did the trick, but the install-prereq script wasn't good enough. --

Re: [asterisk-users] Problem building Asterisk-12.2.0

2014-04-27 Thread Richard Kenner
What distro are you building on? CentOS 5.10. Both have the libraries listed in install_prereq. Indeed it has all but 2 or 3 of those libraries (none related to uuid), but after running that script, it was still missing what it needed for uuid. Unfortunately, there's no upgrade path from

Re: [asterisk-users] Problem building Asterisk-12.2.0

2014-04-27 Thread Richard Kenner
e2fsprogs-devel is the package that provides uuid.h on centos 5 I tried that first and it didn't seem to. I'm pretty sure I needed uuid-dce-devel. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New

[asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-29 Thread Richard Kenner
After an upgrade to Asterisk 12, I'm collecting channels. When I enter and then exit a conference room, I see: -- CBAnn/207-067f;1 Playing 'confbridge-leave.slin' (language 'en') -- Channel CBAnn/207-067f;2 joined 'softmix' base-bridge 5edb1920-3774-4ba3-8c4d-23e8fd04519c --

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-29 Thread Richard Kenner
The announcer channel joins/leaves the conference as it has sounds to play. If the channel still hangs around after the conference is destroyed then there is a problem. There's a problem. ;-) But thanks for pointing to how that's supposed to be handled. --

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-29 Thread Richard Kenner
If the channel still hangs around after the conference is destroyed then there is a problem. Am I missing something obvious: I'm looking in the confbridge_exec function. I see a conference = NULL line, but no attempt to free that structure, which is what I understand will destroy the playback

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-30 Thread Richard Kenner
If the reference count on the bridge is off, you should see the conference bridge 'hanging around' after the last participant has left. And how would I be sure this is the case? I did core set debug 1 and didn't see the debug line about destroying the conference, but it doesn't show up in

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-30 Thread Richard Kenner
Really, I think we're pretty positive there's a ref leak (since otherwise, the CBAnn channel would be long gone). If you can get a ref debug log and the standard Asterisk DEBUG log showing the problem, that would help a lot in finding out what is going on. That can't be done in the 12.2.0

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-01 Thread Richard Kenner
It may show up in 'bridge show all' - but I'd actually expect it not to show up there either. Actually, it does. I have a screen full of bridges with 0 channels. I just tried an experiment where all I have is exten = 329,1,Answer(1000) same = n,Confbridge(1234) with absolutely nothing else

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-01 Thread Richard Kenner
Please go ahead and open an issue and attach the refs log and the full DEBUG log. That will allow us to understand what's occurring here. I need to wait until I'm sure this isn't something I caused somehow, so I need to first understand why I'm seeing this and nobody else is. --

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-06 Thread Richard Kenner
Really, I think we're pretty positive there's a ref leak (since otherwise, the CBAnn channel would be long gone). If you can get a ref debug log and the standard Asterisk DEBUG log showing the problem, that would help a lot in finding out what is going on. I think the bug is in

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-06 Thread Richard Kenner
That is definitely a leak and the fix looks good. Thanks. That leak is most likely the one biting you. It definitely is. There is another leak in handle_cli_confbridge_kick() if the participant to kick is not in the conference. Confirmed. I missed that one in my code reading. I just

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-07 Thread Richard Kenner
Committed the fix for this leak on Asterisk v12 branch in -r413452. This leak also applied to Asterisk v11. Thanks. Is this for both the one in the talking callback or the one in handle_cli_confbridge_kick or both (the fix is similar in both)? --

Re: [asterisk-users] WSS over Asterisk

2014-06-12 Thread Richard Kenner
I'm having the error as shown below Connecting to 'wss://54.xxx.xxx.xxx:8080/ws' SIPml-api.js?svn=224:1 ==stack event = starting SIPml-api.js?svn=224:1 __tsip_transport_ws_onerror SIPml-api.js?svn=224:1 __tsip_transport_ws_onclose SIPml-api.js?svn=224:1 ==stack event = failed_to_start

Re: [asterisk-users] Getting source ip adress of incoming INVITE

2014-07-04 Thread Richard Kenner
I'm interested in finding out what the source ip is of an invite in the dialplan (Asterisk 11). ${CHANNEL(recvip)} -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live

Re: [asterisk-users] SIP Jitterbuffer

2015-02-18 Thread Richard Kenner
What are the cons, if any, of enabling a jitterbuffer? Memory and latency. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:

Re: [asterisk-users] default features

2015-06-03 Thread Richard Kenner
Question: is there some built-in way to know if macro feature1-ClientA is defined? Something liken ExecIfMacro(feature1-ClientA)?macro(feature1-ClientA):Goto(...). A macro is a context, so DIALPLAN_EXISTS should work if you specify an extension and priority that's in the macro

Re: [asterisk-users] setting outbound caller ID

2015-06-18 Thread Richard Kenner
CALLERID is a read only variable. That's not correct. I set it all over the place in my dialplan. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory

[asterisk-users] Bug in ast_frame_adjust_volume in 12.2.0?

2015-07-07 Thread Richard Kenner
I'm getting a SIGSEGV at ast_slinear_saturated_multiply at the line: 351 res = (int) *input * *value; It's called from ast_frame_adjust_volume. The frame looks like: (gdb) print *f $6 = {frametype = AST_FRAME_VOICE, subclass = {integer = 100021, format = { id =

[asterisk-users] Siren7 and Asterisk 13

2015-07-28 Thread Richard Kenner
I'm planning on upgrading to Asterisk 13.4 soon and am looking for the corresponding Siren7 codec. Where do I find it? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a

[asterisk-users] Siren7 for Asterisk 13.5

2015-08-07 Thread Richard Kenner
What is the proper version of the Siren7 codec to use for Asterisk 13.5.0? Since there's nothing later, does the version for 12.0 work? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk?

Re: [asterisk-users] Siren7 for Asterisk 13.5

2015-08-10 Thread Richard Kenner
A Siren codec is not currently available and the one for 12 will not work. I have no timeframe for when this might change. So the only option is to build one from the Polycom sources? I'm already doing this for Siren14 (I forget why). --

<    1   2   3   >