1/7/2024 0 Comments Openser xlog# max_forwards=0, or excessively long requests # add value to lr param to make some broken UAs happy #modparam("auth_db", "password_column", "password") ![]() # uncomment also the following parameter) # If you set "calculate_ha1" parameter to yes (which true in this config), #modparam("auth_db", "calculate_ha1", yes) Modparam("group_radius", "use_domain", 1) Modparam("acc|auth_radius|group_radius|avp_radius", "radius_config", "/usr/local/etc/radiusclient-ng/nf") Modparam("acc", "radius_extra", "Sip-Src-IP=$si Sip-Src-Port=$sp") Modparam("auth_radius", "service_type", 15) # for persistent storage and comment the previous line #loadmodule "/usr/local/lib/openser/modules/auth_db.so" Loadmodule "/usr/local/lib/openser/modules/auth.so" # Uncomment this if you want digest authentication Loadmodule "/usr/local/lib/openser/modules/avp_radius.so" Loadmodule "/usr/local/lib/openser/modules/group_radius.so" Loadmodule "/usr/local/lib/openser/modules/auth_radius.so" Loadmodule "/usr/local/lib/openser/modules/acc.so" Loadmodule "/usr/local/lib/openser/modules/uri.so" Loadmodule "/usr/local/lib/openser/modules/xlog.so" Loadmodule "/usr/local/lib/openser/modules/avpops.so" Loadmodule "/usr/local/lib/openser/modules/textops.so" Loadmodule "/usr/local/lib/openser/modules/registrar.so" Loadmodule "/usr/local/lib/openser/modules/usrloc.so" Loadmodule "/usr/local/lib/openser/modules/maxfwd.so" Loadmodule "/usr/local/lib/openser/modules/rr.so" Loadmodule "/usr/local/lib/openser/modules/tm.so" Loadmodule "/usr/local/lib/openser/modules/sl.so" Loadmodule "/usr/local/lib/openser/modules/mysql.so" # Uncomment this if you want to use SQL database #tls_ca_list = "/usr/local/etc/openser/tls/user/user-calist.pem" #tls_private_key = "/usr/local/etc/openser/tls/user/user-privkey.pem" #tls_certificate = "/usr/local/etc/openser/tls/user/user-cert.pem" # uncomment the following lines for TLS support * Uncomment these lines to enter debugging mode Se que tengo que usar el failure_route pero no se como aplicarlo, # opensips-cli -x mi subscribers_list E_RTPPROXY_STATUS unix:/tmp/event.La razón por la que escribo esta vez es para ver si me pueden ayudar adirigir llamas hacia un voicemail configurado en Asterisk.Įl escenario es el siguiente: hasta este punto tengo usuarios que se encuentran en LDAP, estos se autentican a través de un servidor Radius con OpenSER, una vez que tengo los usuarios en Openser estos pueden hacer llamadas SIP entre usuarios registrados asé como tambien realizar llamadas a la pstn utilizando para ello Asterisk como gateway, por otro lado los usuarios de OpenSER pueden consultar su buzón de voz al presionar *98, el buzón esta vacío porque no se como hacer que OpenSer redireccione la llamada a Asterisk en caso de que el cliente este ocupado o no disponible. # opensips-cli -x mi subscribers_list E_RTPPROXY_STATUS If the socket is also specified, only one subscriber information is returned. If the event is specified, only the external applications subscribed for that event are returned. Output: If no parameter is specified, then the command returns information about all events and their subscribers. socket (optional) - external application socket.pid (optional) - Unix pid (validated by OpenSIPS). ![]() ![]() ![]() level (optional) - logging level (-3.4) (see meaning of the values).If pid is also given, the logging level will change only for that process. If a logging level is given, it will be set for each process. If no argument is passed to the log_level command, it will print a table with the current logging levels of all processes. Get or set the logging level of one or all OpenSIPS processes. Output: an array with one object per connection with the following attributes : ID, type, state, source, destination, lifetime, alias port. The command lists all ongoing TCP/TLS connection from OpenSIPS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |