Exemplo n.º 1
0
 private HashMap<String, String> buildParams() {
   HashMap<String, String> params = new HashMap<String, String>();
   params.put("sipServerIp", serverIp);
   params.put("userName", "steand");
   params.put("userPwd", "steand");
   String onHoldSoundPath =
       Utils.getResourcePathByAssetCopy(this.getApplicationContext(), "", "test_hold.wav");
   Log.d(TAG, "OnHoldSoundPath:" + onHoldSoundPath);
   params.put("onHoldSound", onHoldSoundPath);
   // params.put("sipServerPort","5060"); // optional: default 5060
   return params;
 }