[Freeswitch-users] bridge call back locks fs_cli in js .. the log..
Francesco Facco de Lagarda
francesco at delagarda.com
Tue Jul 10 08:57:55 UTC 2018
2018-07-10 10:47:42.628911 [INFO] switch_channel.c:515 RECV DTMF 8:896
2018-07-10 10:47:42.628911 [WARNING] goconf.js:2 Given userData.param of
under the rock
2018-07-10 10:47:42.628911 [DEBUG] switch_rtp.c:5261 Send start packet for
[8] ts=262880 dur=160/160/896 seq=19828 lw=262880
2018-07-10 10:47:42.648920 [DEBUG] switch_rtp.c:5160 Send middle packet for
[8] ts=262880 dur=320/320/896 seq=19829 lw=263040
2018-07-10 10:47:42.668912 [DEBUG] switch_rtp.c:5160 Send middle packet for
[8] ts=262880 dur=480/480/896 seq=19830 lw=263200
2018-07-10 10:47:42.688913 [DEBUG] switch_rtp.c:5160 Send middle packet for
[8] ts=262880 dur=640/640/896 seq=19831 lw=263360
2018-07-10 10:47:42.708910 [DEBUG] switch_rtp.c:5160 Send middle packet for
[8] ts=262880 dur=800/800/896 seq=19832 lw=263520
2018-07-10 10:47:42.728910 [DEBUG] switch_rtp.c:5160 Send end packet for [8]
ts=262880 dur=960/960/896 seq=19833 lw=263520
2018-07-10 10:47:42.728910 [DEBUG] switch_rtp.c:5160 Send end packet for [8]
ts=262880 dur=960/960/896 seq=19834 lw=263520
2018-07-10 10:47:42.728910 [DEBUG] switch_rtp.c:5160 Send end packet for [8]
ts=262880 dur=960/960/896 seq=19835 lw=263520
2018-07-10 10:47:42.728910 [DEBUG] switch_rtp.c:5108 Queue digit delay of
40ms
2018-07-10 10:47:43.548913 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 9:1152
2018-07-10 10:47:43.548913 [INFO] switch_channel.c:515 RECV DTMF 9:1152
2018-07-10 10:47:43.548913 [WARNING] goconf.js:2 Given userData.param of
under the rock
2018-07-10 10:47:43.548913 [DEBUG] switch_rtp.c:5261 Send start packet for
[9] ts=270080 dur=160/160/1152 seq=19876 lw=270080
2018-07-10 10:47:43.568915 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=270080 dur=320/320/1152 seq=19877 lw=270240
2018-07-10 10:47:43.588914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=270080 dur=480/480/1152 seq=19878 lw=270400
2018-07-10 10:47:43.608915 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=270080 dur=640/640/1152 seq=19879 lw=270560
2018-07-10 10:47:43.628914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=270080 dur=800/800/1152 seq=19880 lw=270720
2018-07-10 10:47:43.648914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=270080 dur=960/960/1152 seq=19881 lw=270880
2018-07-10 10:47:43.668914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=270080 dur=1120/1120/1152 seq=19882 lw=271040
2018-07-10 10:47:43.688914 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=270080 dur=1280/1280/1152 seq=19883 lw=271040
2018-07-10 10:47:43.688914 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=270080 dur=1280/1280/1152 seq=19884 lw=271040
2018-07-10 10:47:43.688914 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=270080 dur=1280/1280/1152 seq=19885 lw=271040
2018-07-10 10:47:43.688914 [DEBUG] switch_rtp.c:5108 Queue digit delay of
40ms
2018-07-10 10:47:47.188914 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 9:1152
2018-07-10 10:47:47.188914 [INFO] switch_channel.c:515 RECV DTMF 9:1152
2018-07-10 10:47:47.188914 [WARNING] goconf.js:2 Given userData.param of
under the rock
2018-07-10 10:47:47.188914 [DEBUG] switch_rtp.c:5261 Send start packet for
[9] ts=299040 dur=160/160/1152 seq=20060 lw=299040
2018-07-10 10:47:47.208914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=299040 dur=320/320/1152 seq=20061 lw=299200
2018-07-10 10:47:47.228914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=299040 dur=480/480/1152 seq=20062 lw=299360
2018-07-10 10:47:47.248914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=299040 dur=640/640/1152 seq=20063 lw=299520
2018-07-10 10:47:47.268914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=299040 dur=800/800/1152 seq=20064 lw=299680
2018-07-10 10:47:47.288914 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=299040 dur=960/960/1152 seq=20065 lw=299840
2018-07-10 10:47:47.308918 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=299040 dur=1120/1120/1152 seq=20066 lw=300000
2018-07-10 10:47:47.328913 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=299040 dur=1280/1280/1152 seq=20067 lw=300000
2018-07-10 10:47:47.328913 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=299040 dur=1280/1280/1152 seq=20068 lw=300000
2018-07-10 10:47:47.328913 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=299040 dur=1280/1280/1152 seq=20069 lw=300000
2018-07-10 10:47:47.328913 [DEBUG] switch_rtp.c:5108 Queue digit delay of
40ms
2018-07-10 10:47:50.168914 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 9:768
2018-07-10 10:47:50.168914 [INFO] switch_channel.c:515 RECV DTMF 9:768
2018-07-10 10:47:50.168914 [WARNING] goconf.js:2 Given userData.param of
under the rock
2018-07-10 10:47:50.168914 [DEBUG] switch_rtp.c:5261 Send start packet for
[9] ts=322720 dur=160/160/768 seq=20211 lw=322720
2018-07-10 10:47:50.188912 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=322720 dur=320/320/768 seq=20212 lw=322880
2018-07-10 10:47:50.208912 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=322720 dur=480/480/768 seq=20213 lw=323040
2018-07-10 10:47:50.228912 [DEBUG] switch_rtp.c:5160 Send middle packet for
[9] ts=322720 dur=640/640/768 seq=20214 lw=323200
2018-07-10 10:47:50.248912 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=322720 dur=800/800/768 seq=20215 lw=323200
2018-07-10 10:47:50.248912 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=322720 dur=800/800/768 seq=20216 lw=323200
2018-07-10 10:47:50.248912 [DEBUG] switch_rtp.c:5160 Send end packet for [9]
ts=322720 dur=800/800/768 seq=20217 lw=323200
2018-07-10 10:47:50.248912 [DEBUG] switch_rtp.c:5108 Queue digit delay of
40ms
From: Francesco Facco de Lagarda <francesco at delagarda.com>
Sent: martedì 10 luglio 2018 10:46
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: bridge call back locks fs_cli in js
Guys please help!
Ive been loosing sleep for 4 days on this one.
Im trying to :
* Answer an internal call
* Send to operator (ext 1000)
* Wait for dtmf from operator
* Do something..
But, the moment op hits a key, script dies and fs_cli disconnects!
Ive tried adapting the given script to do bridge with callback, but simply
changing the external session (mySession) to dial an extension instead of an
external number, and effect is the same!
function logAndStopBridge ( session, type, dtmf, userData) {
console_log("WARNING","Given userData.param of "+(userData &&
userData.param));
return false;
}
session.answer();
while ( session.ready() ) {
// var mySession = new Session("sofia/sip/mycall at mydomain.com
<mailto:sofia/sip/mycall at mydomain.com> ");
var mySession = new Session("user/1000");
bridge(session, mySession, logAndStopBridge, {param:"under the rock"});
}
I never get the WARNING .. given
etc on internal numbers (extension),
only works on external lines..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180710/019405b2/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list