ruby - Asterisk Outgoing call file unresponsive -


i've made basic ruby program makes call files , sends them on outgoing file asterisk.

outbound = [<phone numbers>]  number in outbound   call_file = file.new("#{number}.call", "w")   call_file.puts("channel: sip/ext-sip-account/#{number}",                "context: test",                "extension: 100")   call_file.close   file.rename "#{number}.call", "/var/spool/asterisk/outgoing/#{number}.call" end 

running file creates file , moves destination asterisk doesn't read file or delete it.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -