diff options
author | Peter Kozak <spag@golwen.net> | 2013-08-05 09:52:00 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-08-05 09:52:00 +0200 |
commit | aed9a08165ca33d2a90948edc5fcba875c6c3249 (patch) | |
tree | fd44df264d4d39aa100710380b5aaed52c2a0ca8 /db/migrate | |
parent | 69e8fdda8c745ec4c7ed52412c1e96276fbbca88 (diff) |
invite header fixed
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130804201900_add_gateway_default_headers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20130804201900_add_gateway_default_headers.rb b/db/migrate/20130804201900_add_gateway_default_headers.rb index ca44ba6..4b50242 100644 --- a/db/migrate/20130804201900_add_gateway_default_headers.rb +++ b/db/migrate/20130804201900_add_gateway_default_headers.rb @@ -7,7 +7,7 @@ class AddGatewayDefaultHeaders < ActiveRecord::Migration GsParameter.create(:entity => 'sip_gateways', :section => 'settings', :name => 'dtmf_type', :value => 'rfc2833', :class_type => 'String') - GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default', :name => 'INVITE', :value => '"sip:{destination_number}@{domain}', :class_type => 'String') + GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default', :name => 'INVITE', :value => 'sip:{destination_number}@{domain}', :class_type => 'String') GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default', :name => 'To', :value => '<sip:{destination_number}@{domain}>', :class_type => 'String') GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default_clir_off', :name => 'From', :value => '"{caller_id_name}" <sip:{caller_id_number}@{domain_local}>', :class_type => 'String') GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default_clir_on', :name => 'From', :value => '"Anonymous" <sip:anonymous@{domain_local}>', :class_type => 'String') |