similar to: how to flush user input before READ()

Displaying 20 results from an estimated 2000 matches similar to: "how to flush user input before READ()"

2016 Jan 18
2
how to flush user input before READ()
On Mon, 18 Jan 2016, Ethy H. Brito wrote: >> how to flush user input before READ()? How about a read() to a dummy variable with a 1 second timeout to consume the octothorpe and password? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
2015 Oct 20
4
asterisk core dumped after UBUNTU 14.04 dist-upgrade
Hi I had a bad experience upgrading Ubuntu a few months ago. Today I made a "dd" copy to another harddisk and tried to dist-upgrade. I get "Illegal instruction (core dumped)" running "service asterisk debug" at random places. Any help will be appreciated to spot this problem. I think it is worth to mention that the dadhi hardware is not present at the copied
2015 Nov 24
2
subscriber state before dial
Hi All After a Dial() I get: WARNING[7964][C-000075a8]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent) if the subscriber is not registered. Is there a way from dialplan to know, *before* Dial(), if a destination Subscriber is a) not registered or b) busy ? I need to redirect a call to some other Subscriber if (s)he is not there
2015 May 28
1
chan_sip.c: Hanging up call
On Thu, 28 May 2015 11:15:45 -0500 Scott Griepentrog <sgriepentrog at digium.com> wrote: > The string "5a2600300339934f704528bb14ed05e9 at MyAsterisk:5060" is the unique > identifier for the call in SIP known as the Call-ID. If you have a packet > capture of the port 5060 SIP traffic, that identifier will be in each SIP > message related to the call, which also
2015 May 28
2
chan_sip.c: Hanging up call
Hi All I have a few lines like this at asterisk/messages. [May 25 15:22:42] WARNING[27725] chan_sip.c: Hanging up call 5a2600300339934f704528bb14ed05e9 at MyAsterisk:5060 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions). Since we have hundreds of clients with hundreds of simultaneous calls, how is it possible to know to which customer/IP
2016 Jan 21
2
NAME/USERNAME conflict
Hi. we are experimenting a strange issue in our PBX. By example: if we dial to the 100, the call is answered in 199. We dont have any redirection for that, but the cli show the same issue when request show peers. Aditionally, the user 100 use the ip address 192.168.11.100, and the cli show connected the user from 192.168.11.160 (that ip is assigned to the user 199) PBX*CLI> sip show peers
2016 Jan 19
2
how to flush user input before READ()
On Mon, 18 Jan 2016 16:09:17 -0200 "Ethy H. Brito" <ethy.brito at inexo.com.br> wrote: > On Mon, 18 Jan 2016 09:38:52 -0800 (PST) > Steve Edwards <asterisk.org at sedwards.com> wrote: > > > On Mon, 18 Jan 2016, Ethy H. Brito wrote: > > > > >> how to flush user input before READ()? > > > > How about a read() to a dummy variable
2005 Dec 05
4
inspecting what''s going in a class
Well, things seem to be going really well with tbf, prio and sfq. But I''m a nosey bugger. :-) I''d love to be able to audit what''s going through each of the prio bands. The super ideal solution would be to be able to attach tcpdump to each band and see what''s going through it with the benefit of tcpdump''s filtering so that I can examine and filter
2005 Dec 16
2
tc filter match u8 problem??
Hi All Can someone tell me what am I doing wrong? These was suposed to catch icmp type 8. Why ''match u8'' does not work? # tc filter add dev eth0 protocol ip parent 1: prio 2 \ u32 \ match u16 0x0800 0xffff at -2 \ match u8 8 0xff at 20 \ flowid 1:5 Illegal "match" # # tc filter add dev eth0 protocol ip parent 1: prio 2 \ u32 \ match
2015 Oct 22
2
oslec echo cancellation
On Thu, 22 Oct 2015 15:06:59 +0300 Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote: > On Wed, Oct 21, 2015 at 01:33:27PM -0200, Ethy H. Brito wrote: > > > > Hi > > > > Who should insert dahdi_echocan_oslec.ko module in Ubuntu 14.04? > > dahdi_echocan_oslec should be built by default. What you may miss is the > 'echo.ko' (OSLEC) kernel module.
2003 May 22
1
list W2K shares
Hi all I'am trying to list the shares of our W2K server and got this error message. $ smbclient -L cvl added interface ip=192.168.100.1 bcast=255.255.255.255 nmask=0.0.0.0 session request to CVL failed (Called name not present) Password: Anonymous login successful Domain=[CVL-SERVER-1] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] tree connect failed:
2006 Mar 14
9
firewall problem
snat not working my local ip is aaa.aaa.aaa.aaa asterisk sitting on the internet at ip bbb.bbb.bbb.bbb my firewall''s internal ip is 192.168.0.254 i did snat: iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to aaa.aaa.aaa iptables -t nat -L -v gives: Chain POSTROUTING (policy ACCEPT 23663 packets, 2182K bytes) pkts bytes target prot opt in out source destination 33056
2007 Jun 11
7
shaping using source IP after NAT
Hi all I am using a pass trhu router and I need to QoS some clients output by its IP address. The problem is that QoS is due after NATing. Is there some clever way of doing this besides MARKing every packet with some IP hashing in POSTROUTING NAT table? Regards Ethy
2015 Jan 30
2
SSL traffic on RTP instance without an SSL session
Hi All We've been reading this in the CLI a lot lately: Received SSL traffic on RTP instance '0x7fe7481faad8' without an SSL session How can we find details about this particular RTP instance? "rtp set debug" needs an IP which is precisely what I want to know (and I don't)! Cheers Ethy
2015 Apr 28
2
Function IMPORT and Local channels
Hi all These questions were asked back in 2009 at lists.digium.com and got unanswered: - Has someone been successful in using IMPORT on a Local channel ? - Is there a known limitation in doing so ? I run into the same problem. ${IMPORT(Local/1234 at example-abcd;2,CALLERID(dstchannel))} returns nothing. But I can read the dstchannel for it into the CDR. Asterisk is 11.7.0~dfsg-1ubuntu1
2006 Jan 26
8
nat table remenbering nat''s
Dear All Why NAT rules stays valid even if I flush nat anf table chains?? I have: iptables -P FORWARD DROP iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -s SOME_IP -d SOME_BCP_5_IP --dport 1234 -j ACCEPT iptables -i nat -A PREROUTING -s SOME_IP -d MY_INTERNET_IP \\ --dport 1234 -j DNAT --to-destination SOME_BCP_5_IP The conection is
2015 Mar 18
2
Asterisk 13. Writing call quality parameters to CDR. How?
Hello. Voice quality when calling - this is one of the most important in the PBX. You need to record the quality parameters for each call to improve. Because the overall quality of a call can only be determined upon completion, I did it in the HangUp handler and wrote in custom fields of CDR. This worked well in asterisk 11. In asterisk 13 I did not find a handler after the call, but before
2005 Dec 19
3
match''ing packets by size
I visited yesican.chsoft.biz and the author proposes a way to match packets by less than some size . Here is the thing: match u16 0x0000 0xffb0 at 2 With this match he says that packet with less than 80 bytes will match the rule. Well, 0xffb0 translates to 1111 1111 1011 0000 (which is -80 BTW). So, if I am correct any packet with bits 4 and/or 5 set (together with any of the 4
2015 Jul 15
2
how to return a transfered call to the transferrer?
Hi all Any of you guys could point me in the right direction? I need to make that a blind transfer to return to the transferrer when the transferee does not answer. Scenario: . Miss Jane Doe, our front desk attendant, picks up an external call to Mr. Smith; . Miss Doe flashes, dial Mr. Smith's extension and then hangup; . Mr Smith's phone rings until timeout; . At this point, how
2006 Jul 12
3
unix password sync not working
Hi all I trying to sync a samba password with Linux password. I did: encrypt passwords = yes ; passwd program = /usr/bin/passwd %u passwd program = /tmp/teste %u update encrypted = no unix password sync = yes passwd chat debug = yes passwd chat = *New*password* %n\n*Re-enter*new*password* %n\n*changed* The problem is 'passwd program' is not even called. I