Do some reading about contexts in *. Basically, you want all "public" sip requests to land in a dialplan context that has no access to PSTN, and requests from your own SER box(es) to land in another context (that DOES have access to PSTN).
 
You can achieve this by adding an entry to your sip.conf for your SER box with it's IP address (and context) specified.
 
 
----- Original Message -----
From: braincrew.com
To: serusers@lists.iptel.org ; asterisk-users@lists.digium.com
Sent: Thursday, March 17, 2005 5:00 AM
Subject: [Serusers] ser+asterisk - security

Hi there,
 
I'm using ser and =sterisk together. Asterisk for voice mail etc and ser for registration of the =sers
usig database. I can restrict =orwarding calls from another sip proxy to ser (using proxy_authorize) =ut how can I restrict access to asterisk ... Now everyone can forward calls to =y asterisk and can place pstn calls.
 
Thanks in advance,
Steve


_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers