<div dir="auto">It might be easier to rip the audio out using our broadcastify settings with ezstream and then hosting the server your self with icecast. Having user dial directly to asterisk might a small Security risk.. just my thoughts on it.. <br><br><div data-smartmail="gmail_signature">Loren Tedford (KC9ZHV) <br>Email: <a href="mailto:lorentedford@gmail.com">lorentedford@gmail.com</a><br>Phone: 618-553-0806<br>Fax: 16185512755<br><a href="http://www.lorentedford.com">http://www.lorentedford.com</a><br><a href="http://kc9zhv.com">http://kc9zhv.com</a><br><br>Sent from Droid Turbo from Verizon wireless network</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 4, 2017 3:01 PM, "Roger Bly" <<a href="mailto:roger@rogerbly.com">roger@rogerbly.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a way to define a listen-only (monitor only) IAX extension in extensions.conf?<br>
<br>
I provide VOX extensions for IAX (Zoiper, etc.) users.  This works:<br>
<br>
exten => 1234,1,answer()<br>
exten => 1234,n,Wait(1)<br>
exten => 1234,n,Playback(rpt/connected)<br>
exten => 1234,n,rpt(1000|Pv)<br>
<br>
For listen-only, maybe use the S “Simplex dumb phone control mode” and find a way to disable the * and # DTMF commands for transmit?<br>
<br>
<br>
Glancing at app_rpt.c source code, I don’t see an obvious option for a listen-only extension:<br>
<br>
"    Not specifying an option puts it in normal endpoint mode (where source\n"<br>
"    IP and nodename are verified).\n"<br>
<br>
"    Options are as follows:\n"<br>
<br>
"        X - Normal endpoint mode WITHOUT security check. Only specify\n"<br>
"            this if you have checked security already (like with an IAX2\n"<br>
"            user/password or something).\n"<br>
<br>
"        Rannounce-string[|timeout[|<wbr>timeout-destination]] - Amateur Radio\n"<br>
"            Reverse Autopatch. Caller is put on hold, and announcement (as\n"<br>
"            specified by the 'announce-string') is played on radio system.\n"<br>
"            Users of radio system can access autopatch, dial specified\n"<br>
"            code, and pick up call. Announce-string is list of names of\n"<br>
"            recordings, or \"PARKED\" to substitute code for un-parking,\n"<br>
"            or \"NODE\" to substitute node number.\n"<br>
<br>
"        P - Phone Control mode. This allows a regular phone user to have\n"<br>
"            full control and audio access to the radio system. For the\n"<br>
"            user to have DTMF control, the 'phone_functions' parameter\n"<br>
"            must be specified for the node in 'rpt.conf'. An additional\n"<br>
"            function (cop,6) must be listed so that PTT control is available.\n"<br>
<br>
"        D - Dumb Phone Control mode. This allows a regular phone user to\n"<br>
"            have full control and audio access to the radio system. In this\n"<br>
"            mode, the PTT is activated for the entire length of the call.\n"<br>
"            For the user to have DTMF control (not generally recomended in\n"<br>
"            this mode), the 'dphone_functions' parameter must be specified\n"<br>
"            for the node in 'rpt.conf'. Otherwise no DTMF control will be\n"<br>
"            available to the phone user.\n"<br>
<br>
"        S - Simplex Dumb Phone Control mode. This allows a regular phone user\n"<br>
"            audio-only access to the radio system. In this mode, the\n"<br>
"            transmitter is toggled on and off when the phone user presses the\n"<br>
"            funcchar (*) key on the telephone set. In addition, the transmitter\n"<br>
"            will turn off if the endchar (#) key is pressed. When a user first\n"<br>
"            calls in, the transmitter will be off, and the user can listen for\n"<br>
"            radio traffic. When the user wants to transmit, they press the *\n"<br>
"            key, start talking, then press the * key again or the # key to turn\n"<br>
"            the transmitter off.  No other functions can be executed by the\n"<br>
"            user on the phone when this mode is selected. Note: If your\n"<br>
"            radio system is full-duplex, we recommend using either P or D\n"<br>
"            modes as they provide more flexibility.\n"<br>
<br>
"        V - Set Asterisk channel variable for specified node ( e.g. rpt(2000|V|foo=bar) ).\n"<br>
<br>
"        q - Query Status. Sets channel variables and returns + 101 in plan.\n"<br>
<br>
"        M - Memory Channel Steer as MXX where XX is the memory channel number.\n"<br>
<br>
"        * - Alt Macro to execute (e.g. *7 for status)\n"<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@lists.allstarlink.org">App_rpt-users@lists.<wbr>allstarlink.org</a><br>
<a href="http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users" rel="noreferrer" target="_blank">http://lists.allstarlink.org/<wbr>cgi-bin/mailman/listinfo/app_<wbr>rpt-users</a><br>
<br>
To unsubscribe from this list please visit <a href="http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users" rel="noreferrer" target="_blank">http://lists.allstarlink.org/<wbr>cgi-bin/mailman/listinfo/app_<wbr>rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. </blockquote></div></div>