HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendpage -p argument



Rex Fowler wrote:
> 
> Is there a way to specify the dial number and pin on the command line
> without using /etc/pagermap (or whatever PagerIDMapFile says)?
> 
> my version is 4.0pl1
> 
> ie can I telnet to port 444 and specify something like
> 
> PAGE 5551212 123456
> 
> instead of
> 
> PAGE alias
> 
> where "alias" is defined in /etc/pagermap
> 
> Thanks
> 
You need a pagermap file. put an entry in like

.*              9846786/&

at the end of your pagermap, where 9846786 is the phonemumber for the
modem to dial, & is the placeholder for the pinnumber U specify in
sendpage. This is my pagermap file:

yut             9846786/1919286
siriporn        9846786/1919289
apinya          9846786/1919269
rungrawe        9846786/1919372
chanarat        9846786/4414502
darin           9846786/1919019
pvimutka        9846786/1919029
sopawan         9846786/1919287
charoon         9846786/1919277
sinee           9846786/6341618
sopida          9846786/4414325
vip029          9846786/1919966
.*              9846786/&
# Hutchinson: phone: 162, protocol
# Easycall:   phone: 1500, protocol
# PhoneLink:  phone: 152, protocol
# Paclink:    phone: 1144, protocol

then you say:

bash% sendpage -p 4711 "BlaBla"

to page the pager with the pin 4711

Cheers
Rüdiger

-- 
Samart Corporation public Co., LTD.
555 Rasa Tower, 20th Floor, Phaholyotin Rd.   e-mail: rkoch@samart.co.th
Bangkok 10900, Thailand                          http://www.samart.co.th

/* ... And remember: if you don't like the news, go out and make some of
your own. */




Project hosted by iFAX Solutions