[Asterisk-Users] autocreatepeer and sip peer options

yair at hakak.com yair at hakak.com
Sat Aug 21 10:36:12 MST 2004


Hi all, 
quick question...i am using autocreatepeer to get asterisk to work with SER
without having to specify each UA in sip.conf and in ser separately.
2 questions:
1. obviously this is not very secure. assuming i block incoming requests on
the port asterisk is running SIP on (excluding requests from the SER, of
course) does this adequately protect the server from unauthorized users or
is there something else to do?
2. according to the wiki the autocreatepeer creates peers based on the
global variables. some variables, like dtmfmode, for example, are listed as
belonging to individual peers. if i set dtmfmode, or qualify, or any of the
others listed as individual variables, in [general] will the autocreatepeer
use them?

I suppose i could write a script to automatically generate peers for
asterisk from SER's DB, (along the lines of the current
retrieve_sip_conf_from_mysql.pl but having duplicate SIP client entries
seems kind of inelegant.


any help is appreciated,
 thanks-
 yair

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .





More information about the asterisk-users mailing list