[Freeswitch-users] Verto pass variables dialplan

Igor Olhovskiy igorolhovskiy at gmail.com
Thu Nov 6 22:26:31 MSK 2014


Hi!

Is there any way to get in dialplan (XML) parameters, passed from
browser via js? In my case I appended extraHeaders.

For ex,

2014-11-06 17:25:19.364834 [ALERT] mod_verto.c:1284 READ
178.54.1.162:52512 [{
    "jsonrpc":    "2.0",
    "method":    "verto.invite",
    "params":    {
        "sdp":    "......",
        "dialogParams":    {
            "useVideo":    false,
            "useStereo":    false,
            "tag":    "webvideotag",
            "login":    "XXXXX at webrtc-dev.webcall.today",
            "destination_number":    "9001",
            "caller_id_name":    "XXXXXX",
            "caller_id_number":    "XXXXX",
*            "extraHeaders":    {**
**                "PageUrl":    "https://my.webcall.today/"**
**            },*
            "callID":    "db94fb82-f113-62e5-9e61-e091715b3c4f",
            "remote_caller_id_name":    "Outbound Call",
            "remote_caller_id_number":    "9001"
        },
        "sessid":    "6a4c4a47-9de0-8af3-38e0-971ba1f63198"
    },
    "id":    4
}]

Is there any way to get this PageUrl parameter in dialplan variables?

Freeswitch 1.5.14b

--
Regards, Igor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141106/93f4e1ca/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list