From 85b6807f499eb950dabfb6b61b992a4dc778d467 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Tue, 13 Aug 2013 07:28:40 +0200 Subject: auto-answer added --- lib/tasks/originate.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/originate.rake b/lib/tasks/originate.rake index 5e7dfe3..b89b11b 100644 --- a/lib/tasks/originate.rake +++ b/lib/tasks/originate.rake @@ -9,5 +9,5 @@ task :originate, [ sip_account = SipAccount.where(:id => a.sip_account_id.to_i).first print "Originate #{sip_account} -> #{extension} ... " - puts sip_account.call(extension) -end \ No newline at end of file + puts sip_account.call(extension, nil, nil, true) +end -- cgit v1.2.3