[Freeswitch-users] ftdm console commands not responding as expected
bedgar at vseinc.com
bedgar at vseinc.com
Sat Apr 20 03:48:07 MSD 2013
Hi again freetdm Experts!
There are many options for ftdm in the FS console:
ftdm list
ftdm start <span_id|span_name>
ftdm stop <span_id|span_name>
ftdm reset <span_id|span_name> [<chan_id>]
ftdm alarms <span_id> <chan_id>
ftdm dump <span_id|span_name> [<chan_id>]
ftdm sigstatus get|set <span_id|span_name> [<chan_id>] [<sigstatus>]
ftdm trace <path> <span_id|span_name> [<chan_id>]
ftdm notrace <span_id|span_name> [<chan_id>]
ftdm gains <rxgain> <txgain> <span_id|span_name> [<chan_id>]
ftdm dtmf on|off <span_id|span_name> [<chan_id>]
ftdm queuesize <rxsize> <txsize> <span_id|span_name> [<chan_id>]
ftdm iostats enable|disable|flush|print <span_id|span_name> <chan_id>
ftdm ioread <span_id|span_name> <chan_id> [num_times] [interval]
ftdm core state [!]<state_name>
ftdm core flag [!]<flag-int-value|flag-name> [<span_id|span_name>] [<chan_id>]
ftdm core spanflag [!]<flag-int-value|flag-name> [<span_id|span_name>]
ftdm core calls
If I do a ftdm list I get:
freeswitch at internal> ftdm list
+OK
span: 1 (wp1)
type: analog_em
physical_status: ok
signaling_status: UP
chan_count: 24
dialplan: XML
context: public
dial_regex:
fail_dial_regex:
hold_music:
analog_options: none
I would like to be able to stop this span but get errors trying to do it.
freeswitch at internal> ftdm stop wp1
-ERR failure
I think I am using the right name because I can restart the span and restart a single channel in the span.
freeswitch at internal> ftdm reset wp1
Resetting channel wp1:1
Resetting channel wp1:2
Resetting channel wp1:3
Resetting channel wp1:4
Resetting channel wp1:5
Resetting channel wp1:6
Resetting channel wp1:7
Resetting channel wp1:8
Resetting channel wp1:9
Resetting channel wp1:10
Resetting channel wp1:11
Resetting channel wp1:12
Resetting channel wp1:13
Resetting channel wp1:14
Resetting channel wp1:15
Resetting channel wp1:16
Resetting channel wp1:17
Resetting channel wp1:18
Resetting channel wp1:19
Resetting channel wp1:20
Resetting channel wp1:21
Resetting channel wp1:22
Resetting channel wp1:23
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c1][1:1] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c2][1:2] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c3][1:3] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c4][1:4] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c5][1:5] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c6][1:6] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c7][1:7] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c8][1:8] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c9][1:9] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c10][1:10] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c11][1:11] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c12][1:12] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c13][1:13] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c14][1:14] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c15][1:15] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c16][1:16] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c17][1:17] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c18][1:18] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c19][1:19] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c20][1:20] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c21][1:21] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c22][1:22] VETO state change from DOWN to RESET
2013-04-19 19:32:03.218963 [WARNING] mod_freetdm.c:4663 [s1c23][1:23] VETO state change from DOWN to RESET
freeswitch at internal> ftdm reset wp1 1
Resetting channel wp1:1
2013-04-19 19:33:24.838965 [WARNING] mod_freetdm.c:4656 [s1c1][1:1] VETO state change from DOWN to RESET
Thanks for looking and helping if you can!
Brian C. Edgar, Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130419/2157758e/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list