similar to: Non-global variable that follows channel?

Displaying 20 results from an estimated 400 matches similar to: "Non-global variable that follows channel?"

2016 Nov 27
2
Non-global variable that follows channel?
Thanks, Max. Yes, of course, you are right, and I am an idiot because I was tired and putting underscores before the variable name when I read it back! Then I forgot to post the followup email to say I had figured it out. Now, this SHARED was not something I was aware of, but looked like an ideal solution to passing variables BACK from to the parent channel. However, it does not seem to be very
2016 Nov 27
2
Non-global variable that follows channel?
Thanks, Richard - your code does indeed work reliably 100% of the time, and thank you for that explanation. I do think the docs at https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_SHARED could do with more clarification. BTW, there were a couple of typos in your code, so for anyone who wants to copy/paste, here's Richard's code WITH the curly braces (
2019 Nov 20
2
[Clang] memory allocation
Hi, Could anyone please help me understand why Clang reallocates the same memory address for different variables while their lifetime intersect? Here is an example code: #include <stdlib.h> #include <stdio.h> #include <memory.h> #include <alloca.h> /* Checking information */ static int solutions[] = { 1, 0, 0, 2, 10, /* 5 */
2016 Oct 03
2
Synchronous dialplan execution for feedback while processing speech recognition and voice synth, for example.
I've got an agi that recognises speech (via Google) and another that turns text into speech (tts) (via Microsoft Translate). Both are web APIs, both called via seperate python AGIs. I've googled and I'm probably missing something pretty newbie 101 here, but is there any way, or fiddle, that I can play some audio to let the caller know that their weather forecast is being fetched,
2017 Feb 16
2
Soft SIP phones that support TLS - Asterisk version 13.13.1
Microsip (Windows) is free and small. 2.5Mb download, 10Mb RAM usage, does everything I need and configuring TLS is a doddle. http://www.microsip.org/ On 16 February 2017 at 13:04, Max Grobecker <max.grobecker at ml.grobecker.info> wrote: > Hello, > > I'm a big fan of PhonerLite. > It's more poplar in Germany, but also available in English language. > This client
2017 May 06
2
Need to restart Asterisk if remote server not working?
Max Grobecker <max.grobecker at ml.grobecker.info> schrieb: Hello Max, > I'm also a customer of the DTAG. > Yesterday, the messed a bit with their DNS entries... Maybe they tried again to repair a working system... :) > If you are NOT using their DNS resolvers you got a "wrong" IP address back > that was not working. Besides that, you should disable SRV lookups
2016 Sep 15
2
Tricking asterisk to think the call has ended, but it was continuing on the other side
No, there is no Music On Hold starting and the bad thing is the call duration reported by asterisk was just few seconds while the call duration reported by the provider was few thousand seconds, the max allowed. So they will be able to terminate the call on the asterisk side and have it run on the provider side. Leandro 2016-09-15 19:18 GMT+02:00 Max Grobecker <max.grobecker at
2017 Mar 29
2
How to have callers not being billed when in waiting queue ? [SOLVED]
Thank you very much, Max, for this valuable and informative answer. Offline billing must be quite complex to set up as several telco may be involved (or origination,transit or termination). Moving to normal landline fare seems much simpler ! Thanks again 2017-03-28 21:41 GMT+02:00 Max Grobecker <max.grobecker at ml.grobecker.info>: > Hi, > > in Germany, this kind of regulation
2016 Nov 09
3
SIP and RTP port and IP addresses
Hi all I'd like to log the client IP addr and port used for SIP and RTP *during* in a call. The IPs must be the real source IPs (internet accessible). How are these parameters available from dialplan? For instance, ${SIPURI} holds the internal "IP:port" if the client is behind NAT. I need the external IP:port Regards Ethy
2017 Feb 15
5
Soft SIP phones that support TLS - Asterisk version 13.13.1
Hello, I have a user that prefers Soft SIP phone install on his laptop, for security reasons I have enable TLS on our Asterisk server to support TLS authentication, It works well with hard phones. Has anybody in this forum use SIP Soft phones with TLS authentication enabled? Any suggestions? Thanks, Motty -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Apr 04
1
Asterisk crashes on high IO load
Hi! I'm writing to this list because I've got a very confusing issue with our Asterisk 1.8.3.2 installation. On high IO load on the hard drives Asterisk becomes instable and crashes after a few minutes. I tried to reproduce this by running bonnie++ on the hardware while making calls. The calls didn't get disturbed (no noises or crackles) but after about five minutes Asterisk suddenly
2014 May 24
1
"transmit_silence" not properly recognized on 1.8 ?
Hello, I've got a problem at the moment, that setting "transmit_silence = yes" seems to have no effect on Asterisk 1.8-Certified. Although it's enabled and "core show settings" confirms, that it is really enabled, there are no RTP packets sent by Asterisk when waiting for DMTF input or when "Wait()" is called. Also, there seems to be a small gap of 2 or 3
2017 May 06
4
Need to restart Asterisk if remote server not working?
Hi list! Yesterday Deutsche Telekom had a really big problem and Asterisk couldn't connect to the remote Server (by Telekom) until today about 7:30. Well, it could happen... What I find really annoying was that I needed to restart Asterisk as I checked with sipsak that the Telekom-Server works... I think, this should not be normal... Can someone explain me why it happens and what I have to
2003 Jun 30
3
[Bug 106] iptables 1.2.5-3 acts differently with different RH Linux kernel versions
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=106 laforge@netfilter.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From laforge@netfilter.org 2003-06-30 17:12 ------- can you please try to use
2016 Sep 15
3
Tricking asterisk to think the call has ended, but it was continuing on the other side
I am banging my head over a simple asterisk trick I was seeing on one asterisk server. An extension dials an international premium number, the called number answers, then the extension hangups, but the call continue to run on the international number side, generating an high profit for the premium number company and a big loss for the asterisk owner. I think some sort of "transfer"
2014 Feb 15
2
Filesystem gets corrupted after kernel upgrade to 2.6.32-431.5.1.el6
Hi, I recently installed some fresh CentOS 6.5 machines and it took only about 20 minutes until the file system (ext4) was broken. And with "broken" I mean, that the system wasn't able to find vital system libraries any more! I were able to reproduce it on highly different systems: - A fresh installed CentOS 6.5 64 Bit on a virtual machine (KVM) - A system which I installed some
2016 Nov 23
2
Touch tone stutter
On 2016-11-22 07:49 PM, Pete Mundy wrote: > > One direction that may be worth exploring further is his ATA's config (or perhaps swapping it for a different model). Eg adjusting echo cancellation or line impedance settings. I have to be careful here as I auto-provison these devices and changes would propogate to every user. Echo cancellation is off. Do you think it should be on?
2013 May 18
1
Asterisk 1.8-cert and AGC
Hi, I'm trying to use AGC in combination with Asterisk 1.8 and an odd telephone which is very loud when used with a headset and more quiet when used "normal". Regarding to the documentation, AGC should be available since * 1.6 - but every time I want to set it, the CLI tells me: -- Executing [0160xxxxxxx at intern:2] Set("SIP/intern-xxx-000000d2",
2015 Jan 31
1
Squid3 on CentOS 6.6: IPv6 PTR endianess
Hello, I'm running a Squid cache (Version 3.1.10) on CentOS 6.6 as a forward proxy which is reachable over a global IPv6 address. For whatever reason, Squid tries to perform PTR lookups on the client's IPv6 address. The weird thing is, that Squid seems to struggle with the "endianess" of the IPv6 address blocks. For example: My current client IP is
2017 Feb 16
2
Soft SIP phones that support TLS - Asterisk version 13.13.1
Hi, Am 16.02.2017 um 14:19 schrieb Annus Fictus: > And Microsip using PJSIP SIP stack :) Sorry (also, for off-topic), based on my latest experience with PJSIP, I'm not sure if this really is a sign of good quality. Maybe it's a problem with the implementation in Asterisk (I haven't tried PJSIP in other software), but after just five minutes of testing I found several bugs