summaryrefslogtreecommitdiff
path: root/test/config/sms_sample.config
blob: 0e911867dad4a13cdd29e283e5c50b1d975f104b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%% -*- erlang -*-
[
 {include_lib, "rvi_core/test/config/sample.config"},
 {set_env,
  [
   {gsms,
    [{interfaces,
      [{gsms_plivo, plivo2, [{acct, acct2},
                             {auth_id, "acct2"},
                             {auth_token, "auth2"},
                             {src_number, "+222"},
                             {recv_port, 9300},
                             {send_uri, "http://localhost:9100"},
                             {recv_uri, "http://localhost:9300"}]}]
     }]
   },
   {rvi_core,
    [
     { [routing_rules, ""], {proto_json, dlink_sms_rpc} },
     { [components, data_link], [{dlink_sms_rpc, gen_server,
				  [{server_opts, [{port, 9007}]}]}]}
    ]}
  ]}
].