[Devel] openser and asterisk

Matt L. Zhu coder0000 at hotmail.com
Thu Sep 29 17:05:44 CEST 2005


has anyone successfully setup openser as the frontend proxy for asterisk? 
here is my setup

/etc/asterisk/sip.conf
[general]
context=default
port=5065
bindaddr=0.0.0.0
srvlookup=yes

[ser]
type=user
context=proxy
host=192.168.0.10

then i edited openser.cfg to do something like this

        	if (uri=~"sip:[a-zA-Z\.]*@(xxx\.xxx\.com)|(192\.168\.0\.10)") {
                	forward( localhost, 5065 );
                	break;
        	};

i connected two sipphones (wengo) in this case to openser, but calls are not 
going through at all, connecting directly to asterisk works. have anyone 
worked in this situation?

thanks





More information about the Devel mailing list