From 5fbda881cce1f99815682cb26f34afccd88bdccc Mon Sep 17 00:00:00 2001 From: Tom Early Date: Fri, 19 Oct 2018 11:32:48 -0700 Subject: [PATCH] gateway not found audio prompt --- CONFIGURING | 3 ++- QnetLink.cpp | 2 ++ announce/gatewaynotfound.dat | Bin 0 -> 927 bytes versions.h | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 announce/gatewaynotfound.dat diff --git a/CONFIGURING b/CONFIGURING index 3d0d601..32a9b12 100644 --- a/CONFIGURING +++ b/CONFIGURING @@ -236,6 +236,7 @@ prompts used by QnetGateway and QnetLink: connected2network.dat notincache.dat +gatewaynotfound.dat already_linked.dat already_unlinked.dat failed_link.dat @@ -255,7 +256,7 @@ are NOT anyone's voice. The only file most hams will need to change is id.dat. When the gateway is not linked and the RF user sets YRCALL=_______I to request the status of the link, the file id.dat will be played back over RF. But -you should create your own id.dat file that should identify your own +you can create your own id.dat file that should identify your own repeater with extra information if you like. For example, you could create your own dat audio file that contains diff --git a/QnetLink.cpp b/QnetLink.cpp index 45416ad..e962c6e 100644 --- a/QnetLink.cpp +++ b/QnetLink.cpp @@ -928,6 +928,8 @@ void CQnetLink::g2link(char from_mod, char *call, char to_mod) auto gwy_pos = gwy_list.find(call); if (gwy_pos == gwy_list.end()) { + sprintf(notify_msg, "%c_gatewaynotfound.dat_GATEWAY_NOT_FOUND", from_mod); + audio_notify(notify_msg); printf("%s not found in gwy list\n", call); return; } diff --git a/announce/gatewaynotfound.dat b/announce/gatewaynotfound.dat new file mode 100644 index 0000000000000000000000000000000000000000..2c1de69e0d19f74aaa783f820cc0752e2ee74746 GIT binary patch literal 927 zcmV;Q17Q3PMiL_<27F-n4n~wS!3KQsybeYZD0w@W^jc)pkZXymEvX6cp+~fuVN%T;* zdwTJhD9I)>b>{Zj-nxs+;uxdEje9CHOmGAtJggb=Av@vx9O?etzP0~5WiK7Z9O zF_~fHwV2~H4dms;<$<~-6fA1tBw*Z{qcnWHWe8lrJG6aot8{VZkh!clnOi~w>*5r! znhTxI&t4M67y@{Xn&`&3IwFbxKwM6K+&QACVXUDaJ&1lT;4?b98}6Z*G_AXUmFz(2 z8D-~;ELy1(<96GAue`t&)cf||evLQ4#Fw`4&o&ulHqbe)(MJ|rWGe8n>(<%Ssx>DM z-0E;r>6w!Mdp@!gNy*>CipI0f5y{#}H$eMaiq@CoNij~vw4#>6o#?W@`I){ILzT(B zzL{9h&`k!3xq`mR+#Y+ze81p&$h}y9P2Bg?UR&T?L(R+Zn@2R*AKQdW;D#*2+pxxtVzuyex`S+DUsNQekiq%pyl|T)r2VJstrq-JwyIVHQFEC zrMXA%K4ytucDR{U{5i3a*q7WIS*4D??Ox>h9>pFCFPtTD_*qA8sb@b9S%}?3HW+p! z`Ok?SLK41(ll{Z-7({yC*{my@om|+$S^&HnD!tgU0FTj&@{#DB`%EeFD?y35n`1nT zD)Bbsjl1Uz4QJsOYmxZjJWc4~XYJ_Q_eKw~t#tLczjK5sqd~i-j2L`!T3D8R$&|Qr zMwk+UuTHF3aB4YPmJNs5{`l$JTY^Z~ociyME!3G>C!$tVBTWh~m1)Y;oOHa-5D?1-s@(x%H(?|dBM*y)V!a&Lru;VKM}hUfwYIh6N#9{6a62$-0yR>sHnJn-%u z^WY4AgbEUGm&2ycT7ZZvs|Jh&CVOQPGFe{&m%2-#7F#vu!~yKw%q~d*z_;ECh>f%; zhd-(PjF#uRQc8%dbi0Z|GQq2oG)$PCD4-FiFB?5tsVt^Zky9@a{*fxIa7PJ9^HR9X B*g*gQ literal 0 HcmV?d00001 diff --git a/versions.h b/versions.h index 06d324a..5b27055 100644 --- a/versions.h +++ b/versions.h @@ -1,6 +1,6 @@ // version strings must be 55 characters or less! #define IRCDDB_VERSION "QnetGateway-7.4.4" -#define LINK_VERSION "QnetLink-6.2.0" +#define LINK_VERSION "QnetLink-6.2.1" #define DVAP_VERSION "QnetDVAP-5.1.2" #define RELAY_VERSION "QnetRelay-0.2.3" #define ITAP_VERSION "QnetITAP-0.2.1"