search for: what_goes_here

Displaying 2 results from an estimated 2 matches for "what_goes_here".

2011 Dec 16
2
Which device auto-registered an extension?
...;exten=> _5XX,2,Dial(SIP/${EXTEN})" in the dialplan, because there's no device SIP/543. Now I know I can add a line like "exten=> 543,2,Dial(SIP/devabc)" for each and every device that uses regexten, but it would be a lot cleaner to be able to use something like Dial(SIP/${WHAT_GOES_HERE?}) instead. So is there a way for the dialplan to determine which device caused SIP to auto-register an extension? -- Barry
2008 May 08
2
Testing render :text without has_text
...ate => nil), StatisticsReport.new(:bytes_transferred => 0) ] StatisticsReporter.should_receive(:query).and_return reports get :query, :query_params => @query_params # PROBLEM CODE (the equality test needs tweaking, but you get the idea) Marshal.load(response.what_goes_here?).should == reports end end (This code may look familiar to one member of this list...:) Can this be done? adthanksvance, ///ark