search for: answers

Displaying 20 results from an estimated 55768 matches for "answers".

Did you mean: answer
2006 Jan 19
8
Passing variables across forms
...else render :action => ''new'' end end def new_answer # the new answer must belong to a question... so I wasn''t sure # whether to call it new answer or add answer. @question = Question.find(params[:id]) @answer = Answer.new @question.answers << @answer end def create_answer @answer = Answer.new(params[:question_id]) if @answer.save flash[:notice] = ''Answer was added to the question.'' redirect_to :action => ''show'', :id => @question else render :action =&...
2006 Jun 12
4
Some help with fun SQL stuff...
I have one table that stores data related to math problems, and another table that stores users'' answers to those problems. To make this very simple, we''ll say that the math table has two numbers that get subtracted, and the answers table has a field that can either be "pos" or "neg" math _____ 2 5 8 3 Okay so if we do the math, we know that the correct answer...
2015 Jan 29
0
Misunderstanding of 'nmblookup' run results ! Why so ?
...S and some Windows 7 client, with for example IP 192.168.0.201. I run nmblookup from Samba4 4.1.14 built in my own (without changes at nmblookup) with the following parameter: *nmblookup -A 192.168.0.201* As there is defined at nmblookup, it query *<00> of specified IP. So, I see non constant answers: Sometimes for the first nmblookup run it shows answers where there weren' t either node and workgroup names as case 1, or node there was, but workgroup not at all as case 2 or empty workgroup as case 3. If I used *<20> I got answer with node and workgroup names often *but not always*, s...
2003 Sep 12
2
problem with * and Howlink CL-100 ip phone
I'm trying to use a Howlink CL-100 ip phone with * It's h323 phone with very limited protocol support. But it's enough that I can use it to dial netmeeting client and artisoft pbx just fine. When I try to dial my * with it using either chan_h323 or oh323, it seems to fail on negotiating H245. Maybe this phone doesn't support it? I've used all different versions of
2010 Oct 02
2
Attempts to hack Asterisk - What do these lines means
Hi Everyone, Like always, here are IPs from China that try to hack an Asterisk server. Can someone please explain what is happening or what the hacker is trying to reach: 02/10/2010 11:10 SIP/113.105.152.51-000000fb sip "sip" <sip> s ANSWERED 13 02/10/2010 11:10 SIP/113.105.152.51-000000fe sip "sip" <sip> s ANSWERED 13 02/10/2010 11:10 SIP/113.105.152.51-000000fc
2006 Mar 15
7
Populating text_tag with serialized data
...am using a serialized attribute in one of my models The serialized data is in the form of an array. I want to have a text_tag for each element contained in my serialized attribute. How would I construct the text_tag? My model name is ''questions''. The serialized attribute is "answers" So I might have: <% form tag %> <% text_tag ''question'', ''name'' %> <% text_tag ''question'', ''answers[0]'' %> <% text_tag ''question'', ''answers[1]'' %> It''...
2014 Jun 04
4
Channel is answered by FXO card before callee answered the phone(pick up phone)
Hello Experts. Im working with Asterisk PBXand freeswitch PBX. I have a challenge with FXO card in Asterisk and i could not solve it yet. I hope you could guide me in this regards. When i want route the call to FXO channels, Before the callee answer the phone (pick up phone), The channel is answered with FXO card. How can change this treat so that the callee dont answer the phone, the channel dont
2006 Apr 12
4
Binding Text Field/Areas to Array?
Hi, If I have @answers in my Controller, which is an array of Answer model objects which don''t exist in the DB yet... How do I bind a text_area helper in the View to each Answer? (I''m pre-filling some of the Answers with other data people need to verify before submitting and will insert on POST.)...
2008 Jan 21
1
How to prevent logging of some entries in CDR
Hi In order to add several phones to a single extension number, I have replaced entries like: exten => 100,1,Dial(SIP/sipphone100,20,Tr) into: exten => 100,1,Dial(Local/100 at phones,20,Tr) [phones] exten => XXX,1,Dial(SIP.sipphone${EXTEN}) etc This works great. However in the CDR, than seeing one entry for each call, I see several entries in the CDR Worse, if I do something like:
2008 Apr 14
2
polycom auto answer
I was trying to get my polycom phone to auto answer. I added this to the dialplan. Used a different phone to call "22" and the phone rang it did not auto answer. Did I miss something? exten => 22,1,SipAddHeader(Call-Info:=\;answer-after=0) exten => 22,n,SipAddHeader(Alert-Info: Ring Answer) exten => 22,n,Set(__SIPADDHEADER=Call-Info:\;answer-after=0) exten =>
2009 Jan 06
5
Simple CDRs
...about that, if you mean to generate a CDR for every type > of channel that is ever hungup then the answer is yes. If you mean to > generate a CDR on non-hangup channel events then the answer is no. OK > > > so, if A calls B, B parks A, A's park expires, B is rung, > > B answers, B xfers A to C, they hang up, we should have > > a CDR for A's time, with the start time being the time > > the PBX created the channel for A; the answer time would > > be (if A is an incoming call) when the PBX answered the > > incoming call and maybe started giving A...
2006 Jan 02
1
Dealing with collections of model objects
For an application I''m writing I have a model object, "Answer", many of which are associated with a "Request" object. A user will need to answer many questions, each of which is stored in an Answer object that is associated with their request (Request has many Answers). Is there an easy way to create and then validate each of these Answer objects? I basically want to do the following: What is the recommended way to generate forms and validate collections of model objects? For example, I have an "Answer" object and users will need to fill out a form o...
2004 Jun 03
4
miserable time with Cisco ATA186
I'm having a horrible experience getting a Cisco ATA-186 to work with *. I can make calls from the ATA with no problems. However, incoming calls make the ATA ring once, and then the call is disconnected. I have no problems with my Sipura 2000 or my Grandstream phones. I am running 2.16.1 sip code on the ATA 186. Neither * nor the ATA is behind a NAT. They are both on public IP addresses
2020 Jul 10
2
Way to start CDR when call is bridged ?
Hi, in dialplan -Asterisk 16.2 from Debian Buster- we have  same = n,Dial(PJSIP/101&PJSIP/102&PJSIP/103,15,tT) If thew call is not answered after 20 seconds, we launch a new dial with same and/or other extensions  same = n,Dial(PJSIP/101&PJSIP/104&PJSIP/110,20,tT) Looking in CDR we have at the end of the call (here we called 3 extensions which where ringing, let say 110
2005 Jul 22
1
sapply(NULL, ...) returns a list?!?
Hi, I bet this one has be asked before, but doing sapply(x, FUN=as.character) where 'x' is a vector, then the result "should [] be simplified to a vector" according to ?sapply, correct? However, > x <- 1:10 > sapply(x, FUN=as.character) [1] "1" "2" "3" "4" "5" "6" "7" "8"
2012 Nov 29
1
Hacked by Microsoft?
This morning someone tried to make sip call through my Asterisk. My server just drop these calls and record them in CDR with IP address: 2012-11-28 06:30:51 SIP/216... 1000 "1000" <1000> Hangup 999011972592249388 ANSWERED 00:01 Hacker: 168.63.67.239 2. 2012-11-28 06:30:49 SIP/216... 1000 "1000" <1000> Hangup 88011972592249388 ANSWERED 00:01 Hacker:
2008 Aug 21
4
radio_button_tag - examining the selected value
Hi All I have four radio buttons created like this <%= radio_button_tag :answers, 1, false %> a <br/> <%= radio_button_tag :answers, 2, false %> b <br/> <%= radio_button_tag :answers, 3, false %> c <br/> <%= radio_button_tag :answers, 4, false %> d <br/> And then I have a link_to tag to invoke a controller fu...
2010 Mar 01
2
Is answer() necessary ?
Hello list, is it necessary to properly answer() an incoming call ? I don't want to answer a call because the caller has to pay even if the attached SIP-phones do not answer the phone call. Because I answer() the incoming call, the caller has to pay for 60 seconds of 'ringtone'. On the other hand, sometimes an incoming call is send to a macro where the caller is given the
2006 Jan 18
22
Creating multiple child objects from the same form
I''ve been digging into rails, but this one question has been a two day stumper. I''ve got a question/answer model that I''m trying to work out. Each question has multiple answers (they''re more like choices, it doesn''t matter whether they''re right or wrong), and I''d like to have the question creation form also have multiple fields in which to put the answer choices. But with my code, I can only do one successful child creation. The l...
2003 Jan 23
1
winbindd with Windows 2000
....251) port 137 [2003/01/23 15:10:51, 4] libsmb/nmblib.c:debug_nmb_packet(107) nmb packet from 172.16.1.251(137) header: id=10137 opcode=Query(0) response=Yes header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0 answers: nmb_name=KOVAITEST<1c> rr_type=33 rr_class=1 ttl=0 answers 0 char .KOVAI-X30KWI8Z3 hex 0C4B4F5641492D5833304B5749385A33 answers 10 char .D.KOVAI-X30KWI8 hex 0044004B4F5641492D5833304B574938 answers 20 char Z3 D.KOVAITEST hex 5A332044004B4F564149544553542020...