GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HANGUP-SKEL(1) FreeBSD General Commands Manual HANGUP-SKEL(1)

hangup-skel

hangup-skel [-h]
 
hangup-skel [-v] <string>
where string is in this format:
 
"*DATE*<mmddyyyy>*TIME*<hhmm>*LINE*<lineid>*NMBR*<number>*NAME*<name>*"

Hangup-skel is a template for writing a server hangup extension. Use a new name to duplicate the file and make the necessary modifications. You need to write the code to check if a number should return the word hangup to STDOUT. You have the option of returning a recording file name to use with a hangup. Your script name should follow this format: hangup-<name>
The example below assumes you have copied hangup-skel to hangup-myscript for your customized version of hangup-skel.
Server hangup extensions are only executed by the server unless testing.
Execute your customized hangup-myscript in a terminal window by itself for testing. Only fields used in the script are needed for the input string. To test your customized hangup-myscript with a number:
/usr/local/share/ncid/extensions/hangup-myscript -v "*NMBR*0000000000*"

-h
show help message
-v
turn on verbose and send additional data to STDOUT for troubleshooting

/usr/local/share/ncid/extensions/hangup-skel
 
/usr/local/share/ncid/recordings/*.rmd

ncidd.8, ncidd.whitelist.5, hangup-calls.1 hangup-closed-skel.1, hangup-message-skel.1,

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.