Problem with message-chat in mod_verto

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem with message-chat in mod_verto

norb
This post has NOT been accepted by the mailing list yet.
Hi,
i have problem with the module : mod_verto
Sending messages via peer-to-peer network isn't working
verto.message({to: "1@test.com",
            body: "test-message",
            from_msg_name: "2@test.com",
            from_msg_number: "2"})

But, but sending messages via conference call is working well
verto.message({to: "conf+1000@test.com",
            body: "test-message",
            from_msg_name: "2@test.com",
            from_msg_number: "2"})

I got debug info in fs_cli when i send object via peer to peer:
2015-04-28 17:25:11.542701 [ALERT] mod_verto.c:604 WRITE 10.20.10.238:56049 [{
        "jsonrpc":      "2.0",
        "id":   9,
        "result":       {
                "message":      "SENT",
                "sessid":       "604c9395-2fcf-1790-17bc-2444ba193d07"
        }
}]

And via conference call (Success [i see it in callee and caller]):
2015-04-28 17:37:59.582702 [ALERT] mod_verto.c:604 WRITE 10.20.10.238:56049 [{
        "jsonrpc":      "2.0",
        "id":   11,
        "result":       {
                "message":      "SENT",
                "sessid":       "604c9395-2fcf-1790-17bc-2444ba193d07"
        }
}]
2015-04-28 17:37:59.642700 [ALERT] mod_verto.c:604 WRITE 10.20.10.238:56049 [{
        "jsonrpc":      "2.0",
        "id":   58,
        "method":       "verto.info",
        "params":       {
                "msg":  {
                        "from": "2@test.com",
                        "to":   "2@test.com",
                        "body": "98y89y98y8",
                        "from_user":    "2",
                        "from_host":    "test.com",
                        "from_full":    "2",
                        "from_msg_name":        "FreeSWITCH User",
                        "from_msg_number":      "2"
                }
        }
}]