|
@@ -50,7 +50,8 @@ func Dial(src, dst, dialrule, callerID, callerName string, callType string) {
|
|
|
func ChanSpy(src, dst string, whisper, bargein bool) {
|
|
|
lfshook.NewLogger().Infof("chan spy src:%s dst:%s", src, dst)
|
|
|
|
|
|
- channel := fmt.Sprintf("%s/%s", utils.DialPrefix, dst)
|
|
|
+ //channel := fmt.Sprintf("%s/%s", utils.DialPrefix, dst)
|
|
|
+ channel := fmt.Sprintf("Local/%s@aio-rule", dst)
|
|
|
data := fmt.Sprintf("%s/%s,qBE", utils.DialPrefix, src)
|
|
|
/*
|
|
|
if whisper {
|