SV: [Serusers] configuration for public ser and natted pstn gateway

Roger Lewau roger.lewau at
Mon Aug 22 17:32:14 CEST 2005


Because the SER box sits in the middle between the user agents and Asterisk,
it will block rtp streams to/from Asterisk. You will need to do either port
forwarding or proxying of the rtp streams to enable sound in your setup.
This will require you to adjust your firewall settings or use
mediaproxy/rtpproxy or both these things even.

Kind regards

-----Ursprungligt meddelande-----
Från: serusers-bounces at [mailto:serusers-bounces at] För
Simone Cittadini
Skickat: den 22 augusti 2005 16:23
Till: serusers at
Ämne: [Serusers] configuration for public ser and natted pstn gateway

I've the following configuration :

internet --- ser -||-- asterisk

where ser has two network interfaces, one with public ip and one with, asterisk sits in the net, authorization and
forwarding of calls from internet works well with this ser.cfg (I omit
parameters and obvious stuff):

         if (uri==myself) {
                 if (method=="REGISTER") {
                         if (!radius_www_authorize("")) {
                                 www_challenge("", "0");
        if (method=="INVITE") {
        rewritehost(""); <--- asterisk ip
        if (!t_relay()) {

but of course you can't hear nothing with this config...
Googling I only find configurations relative to the ser machine also being
natted, can someone tell me what I need to do in my particular case ?

Serusers mailing list
serusers at

More information about the sr-users mailing list