DTMF FROM CLI

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

DTMF FROM CLI

Eric -
i want send dtmf command from cli in simplexLogic all work fine but in RepeaterLogic i Got error 
Rx1: The squelch is CLOSED (-0.505313)
Tx1: Turning the transmitter OFF
TxStream: Turning the transmitter OFF
430Logic: digit=1
430Logic: Ignoring DTMF digit "1" since the repeater is not up
430Logic: digit=2
430Logic: Ignoring DTMF digit "2" since the repeater is not up
430Logic: digit=3
430Logic: Ignoring DTMF digit "3" since the repeater is not up

any one can help ? 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DTMF FROM CLI

F5VMR Orange

That is correct, the dtmf tones will be ignored if the repeater is not active, except in the case where you have issue a close down command by dtmf and want to restart the logic. See ONLINE_CMD=”######”

 

Chris


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DTMF FROM CLI

Eric -
yes but i search way for send dtmf via cli on repeater logic 

Le lun. 25 janv. 2016 à 09:44, F5VMR <[hidden email]> a écrit :

That is correct, the dtmf tones will be ignored if the repeater is not active, except in the case where you have issue a close down command by dtmf and want to restart the logic. See ONLINE_CMD=”######”

 

Chris

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DTMF FROM CLI

Martin Burkhardt
Eric,

As Chris said before you need to define a dtmf command that makes the repeater and its logic TX before you can pass any command to it.

For that purpose use OPEN_ON_DTMF in the logics config section. 

For example in my RepeaterLogic OPEN_ON_DTMF looks like this. 

OPEN_ON_DTMF=*

Then you can pass *2#255411# form cli to connect to an echolink node. Of course only if 2 is your module echolink. 

73 de Martin, DF1AMB

Am 25.01.2016 um 15:48 schrieb Eric - <[hidden email]>:

yes but i search way for send dtmf via cli on repeater logic 

Le lun. 25 janv. 2016 à 09:44, F5VMR <[hidden email]> a écrit :

That is correct, the dtmf tones will be ignored if the repeater is not active, except in the case where you have issue a close down command by dtmf and want to restart the logic. See ONLINE_CMD=”######”

 

Chris

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DTMF FROM CLI

F5UII Christian
Hello,

To receive a DTMF from a line command (and without have your repeater in transmit state) you may complete the dtmf_digit_received
code. Declare a global variable in the namespace (here strdtmf) 
so that you can concatenating the string with separate DTMF digits.

By launchin svxlink by this way (nc -lk 10000 | sudo svxlink)
you will be able to send DTMF  commands, by a command line command like this  echo 212654321# | nc 127.0.0.1 10000 . 
Here is the way to have direct interruptions on the normal processing of SVXLink !
For exemple, a door contact wired on the "Svxcard"  optocoupled input (find below), and a running external bash ou python script will send this DTMF code. In /local/logics.tcl, strdtmf  
may have a playMsg "SVXCard" "door_open" tool that this trespass ...


My entire testing logic.tcl code is here: http://svxcard.f5uii.net/doku.php?id=fr:logic.tcl
It is not finalized, but I figures that will be so a goo dway to start 

I take this opportunity to present you the support page our project of electronic board using the famous SVXLink sofwtare ;-)
Complete documentation of the board is on http://svxcard.f5uii.net


#
# Executed when a DTMF digit has been received
#   digit     - The detected DTMF digit
#   duration  - The duration, in milliseconds, of the digit
#
# Return 1 to hide the digit from further processing in SvxLink or
# return 0 to make SvxLink continue processing as normal.
#
proc dtmf_digit_received {digit duration} {
variable strdtmf;
 #  puts "DTMF digit \"$digit\" detected with duration $duration ms";
 
#when DTMF is coming truth a echo command, the durations are always 100ms.
# events can by trigger by
# 1- launch svxlink by this command :    nc -lk 10000 | sudo svxlink
# 2- give interruption command via DTMF long string code with : echo 212654321### | nc 127.0.0.1 10000
# the point 2 can by done via a network - replacing 127.0.0.1 by the distant ip of svxlink
 if {$duration==100 } {
 #concatenation with global variable (declaration in namespace)
  append strdtmf  $digit;
  # value to find in the code. If find, execute a command ou playing a wav sound. Reset the memory string
  if { [string first 654321# $strdtmf 0 ] != -1   } {
  spellWord "OK.";
  set strdtmf ""
 }
}
  return 0;
}

Mes 73s,
Christian F5UII

http://www.f5uii.net

2016-01-26 14:27 GMT+01:00 Martin Burkhardt <[hidden email]>:
Eric,

As Chris said before you need to define a dtmf command that makes the repeater and its logic TX before you can pass any command to it.

For that purpose use OPEN_ON_DTMF in the logics config section. 

For example in my RepeaterLogic OPEN_ON_DTMF looks like this. 

OPEN_ON_DTMF=*

Then you can pass *2#255411# form cli to connect to an echolink node. Of course only if 2 is your module echolink. 

73 de Martin, DF1AMB

Am 25.01.2016 um 15:48 schrieb Eric - <[hidden email]>:

yes but i search way for send dtmf via cli on repeater logic 

Le lun. 25 janv. 2016 à 09:44, F5VMR <[hidden email]> a écrit :

That is correct, the dtmf tones will be ignored if the repeater is not active, except in the case where you have issue a close down command by dtmf and want to restart the logic. See ONLINE_CMD=”######”

 

Chris

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Loading...