瀏覽代碼

kazoo : handle target-uri properly

Luis Azedo 11 年之前
父節點
當前提交
c59ebbd8f6
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      modules/kazoo/defs.h
  2. 1 1
      modules/kazoo/kazoo.c

+ 2 - 2
modules/kazoo/defs.h

@@ -75,11 +75,11 @@
 <state>%.*s</state>\
 <local>\
 <identity>%.*s</identity>\
-<target uri=\"sip:%.*s\"/>\
+<target uri=\"%.*s\"/>\
 </local>\
 <remote>\
 <identity>%.*s</identity>\
-<target uri=\"sip:%.*s\"/>\
+<target uri=\"%.*s\"/>\
 </remote>\
 </dialog>\
 </dialog-info>"

+ 1 - 1
modules/kazoo/kazoo.c

@@ -78,7 +78,7 @@ str dbk_consumer_event_subkey = str_init("Event-Name");
 int dbk_internal_loop_count = 5;
 int dbk_consumer_loop_count = 10;
 int dbk_consumer_ack_loop_count = 20;
-int dbk_include_entity = 0;
+int dbk_include_entity = 1;
 int dbk_pua_mode = 1;
 
 int dbk_single_consumer_on_reconnect = 1;