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