similar to: Asterisk 11, hangup-handlers, Local channels and channel originate [SOLVED]

Displaying 20 results from an estimated 5000 matches similar to: "Asterisk 11, hangup-handlers, Local channels and channel originate [SOLVED]"

2013 Mar 25
1
Asterisk 11, hangup-handlers, Local channels and channel originate
Hello, I'm giving hangup-handlers a try on a new Asterisk 11.2.1 setup. My plan is to use this handler to update my CDRs with values such as Asterish and Tech cause (see function HANGUP_CAUSE). I want to have my custom hangup-handler be run only once and when "the second channel" hangs up. At the moment, I'm issuing a couple of "channel originate Local/1 at mycontext1
2013 Mar 29
1
Asterisk 11 - Change CDR in hangup exten [Was: CDR values changed in hangup handler not saved]
2013/3/29 Julian Lyndon-Smith <asterisk at dotr.com> > check out the endbeforehexten option in cdr.conf > > this needs to set to "yes" > > Julian > Unfortunately, this doesn't help. Let's drop the hangup handler at the moment, and focus on the "saving to file" part. Then my issue is I can't update CDR value is hangup exten. Here is a
2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
This has been super-helpful, Eric. However, the handleHangupByPeer priorities below are still not run when the peer hangs-up. The last line in the cli when the peer hangs-up is still: Strict RTP learning complete - Locking on source address (Although sometimes there is also: Retransmission timeout reached on transmission) same =>
2020 Feb 26
1
Hangup-handler on failed calls
Hello, I have a setup with asterisk 16.8.0, I'm facing a problem where calls that fail (CONGESTION) don't have filled in some extra fields we add to the CDRs in the database. We use cdr_adaptive_odbc with MySQL as backend. To simplify the scenario: [sub-hanguphandler] exten => s,1,Set(CDR(foo)=${bar}) same => n,Return() [default] exten => _X.,1,NoOp(New test call) same =>
2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
Thanks, Eric. I just tried a hangup handler, but it's showing a similar problem: When the peer hangs-up, the hangup handler is not invoked and the caller channel remains open. same => n(callPeer),Set(GLOBAL(Peer${IndexIntoPeers}CurrentCallsCount)=$[${PeerCurrentCallsCount} + 1]) same => n,Set(CHANNEL(hangup_handler_push)=handleHangupByCallerOrPeer,doesntMatter,1(args)) same =>
2020 Feb 05
1
Hangup hook to put back a call into a queue
hi, I hope someone can help me:-) we’ve got a freepbx server. there are 2 special extensions (2001, 2002). if someone calls this extensions (or a call is forwarded to these extensions) and these extension hangup (not the caller party), then we’d like to put the calls back into a queue (1000) and wouldn’t like to hangup. I read your description about hangup hooks:
2003 Jul 02
0
Asteriks, GnuGk and outgoing calls
Hello there I'm quite a newbie in the IP Telephony area. I'm playing a little around with a setup with one linux box with a e100 p card installed, which functions as an Asterisk gateway and a oh323 GK(Gnu Gatekeeper). I have two h323 phones, Welltech WellGate 1501 and 3502. So far I've managed to get the two IP phones and Asterisk connected to the GK. I can place calls from one
2015 Oct 06
2
PJSIP: how to retrieve underlying SIP Call-ID
Hello, I've started to play with PJSIP and got stuck at the following problem. I need to retrieve SIP Call-ID associated with PJSIP channel. For inbound channel I can use ${PJSIP_HEADER(read,Call-ID)}, but that doesn't work for outbound channel even in pre-dial or hangup handler. Whatever I do PJSIP_HEADER seem to be unable to read headers for outbound channel. Here's what I do:
2015 Oct 07
2
Storing HANGUPCAUSE in CDR
Hi, I have the following code that operates when a channel is hung-up: [record-hangupcause]exten => 1,n,Set(CDR(hangupcause)=${HANGUPCAUSE})exten => s,n,Return() Before the dial a hangup handler is registered: Set(CHANNEL(hangup_handler_push)=record-hangupcause,s,1) The routine is called and the variables are being set, however not on the channel's CDR which made the call. I believe this
2018 Jul 28
3
Any way of "flattening out" 2 channels back into one?
Last question for today, I promise! The problem: In order to disconnect calls after x minutes, I need to do this: [setup] exten => setup,1,Answer() same => n,Set(LIMIT_PLAYAUDIO_CALLER=yes) same => n,Set(LIMIT_WARNING_FILE=/var/lib/asterisk/sounds/en_GB_TNS/time_limit_reached) same => n,Dial(Local/s at root/n,3,L(3540000:60000)) same => n,Hangup() [root] exten
2019 Dec 27
1
Handling a non-responsive peer after it answers
I'm looking for a way of detecting in my dialplan when a peer becomes non-responsive after answering. It seems that Asterisk knows when the peer becomes non-responsive because it logs "Remote UNIX connection disconnected" around the same time, and it seems that if there is no following "Remote UNIX connection" within a short time, then the peer can be considered
2005 Sep 14
0
Cannot hear teleco side error message
When we use mobile to call certain number, we can hear the message like, " The number you dialed is incorrect", "The customer is currently is unavailible" and etc. But when we use asterisk to call the same number, just busy tone. We found that since version 1.0 it support the standard hangup cause, so we base on the HANGUP_CAUSE to fake the error message, but seems
2004 Jun 14
4
IAX2 hangup on transfer
Dear Sirs, I've got a weird problem with IAX2 transfers. My setup consist of 3 Asterisk servers. One is located in Europe on a public IP and a local PSTN connection through ISDN. Two are located in South-east Asia - both on public, but dynamic IP. These two each have a bunch of SIP phones attached. All 3 systems are running latest CVS (ok - might be a day or two old) on Linux 2.6.6 with
2019 Dec 30
1
Handling a non-responsive peer after it answers
Response below... On Fri, Dec 27, 2019 at 12:02 PM David P <davidswalkabout at gmail.com> wrote: > > > > > I'm looking for a way of detecting in my dialplan when a peer becomes > > non-responsive after answering. [deleted] Is there a way to configure > > a handler for this state? > > > > We use v14.7.6 and we dial the peer this way: > > >
2019 Nov 10
2
[Bug 112239] New: nouveau hangs video with TU116 - regression in kernel 5.3
https://bugs.freedesktop.org/show_bug.cgi?id=112239 Bug ID: 112239 Summary: nouveau hangs video with TU116 - regression in kernel 5.3 Product: xorg Version: 7.7 (2012.06) Hardware: Other OS: All Status: NEW Severity: not set Priority: not set Component:
2007 Mar 05
1
new crashes: is the index/mail cache endian neutral?
Part of our migration plan takes our users from one endianness to another (big to little). Will the index and mail cache files survive? I'm seeing some new core dumps as the first test user is migrated, which makes me think... not. What about if we want to build dovecot 64 bit in the future? Will that cause problems too? Stack trace is below the log messages. I've edited the
2012 Nov 20
1
FOOBAR\usuario1 windows explorer hungs forever while accessing shared dirs in LAPAZ\comp1 (interdomain trust relationships)
Hi all I have two samba PDC installed according to these specifications: domain FOOBAR with pdc server name: BAR (ip 192.168.1.1) opensuse 11.1 samba-3.5.6-15.1 openldap2-2.4.12-5.6.1 smbldap-tools-0.9.5-25.1 A winxp called USUARIO1 joined to the FOOBAR domain (ip 192.168.1.100) domain LAPAZ with pdc server name: SERVERLPZ (ip 192.168.10.4) openSUSE 12.2 samba-3.6.7-48.12.1.i586
2015 Oct 09
2
Storing HANGUPCAUSE in CDR
This was always possible in the past, however does not work in the current release. I believe this is a bug. To: asterisk-users at lists.digium.com From: cervajs at fpf.slu.cz Date: Fri, 9 Oct 2015 10:04:47 +0200 Subject: Re: [asterisk-users] Storing HANGUPCAUSE in CDR search in archives save the records to another table like cdr_extended Dne
2006 Jun 14
0
Samba write errors, broken pipes and client lockups
Over the last few weeks I've had problems using Samba on a FreeBSD. Windows XP clients (that's all I have) would experience intermittent long delays (lockups, freezing) when accessing the samba shares using Windows Explorer or any other applications. This occurred both directly when browsing the network neighborhood, and when accessing the share through a letter drive mapping.
2020 Jun 02
2
Code coverage for member functions that are defined inside the class
Hello, We have a user that wants to get the code coverage report for his library without turning on instrumentation for the library clients or change how they are built (only the library is instrumented). It seems like the inline member functions defined in headers are not instrumented in this case because the clients are not instrumented. The library itself does not have a copy of the inline