Hi all;
I'm trying to integrate asteris and OpenSER and I don't get any result,
I get communication well with asterisk but I install OpenSER for avoid the
problem with NAT.
In my extension.conf I write this
SERADDRESS=1.2.3.4:5062
exten => 88884,1,Dial(SIP/88884@${SERADDRESS},20,r)
exten => 88885,1,Dial(SIP/88885@${SERADDRESS},20,r)
in sip.conf
[general]
context=openser
bindaddr=192.168.0.10
bindport=5060
realm=mydomain.com
....
[Openser]
type=peer
context=openser
host=1.2.3.4
port=5062
insecure=very
in openser.cfg I use one of the examples:
#
# $Id: flag_reply.cfg,v 1.2 2005/07/25 16:27:33 miconda Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
children=4
fifo="/tmp/ser_fifo"
listen=1.2.3.4
port=5062
# ------------------ module loading ----------------------------------
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
#modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
setflag(1);
t_relay_to_udp("1.2.3.4", "5060");
return;
}
my softphone is eyeBean.
Now the situation is this.
my softphones get registered, but when one phone call the other this don't
receive the call.
in the database od openser the two client are registered.
Please I need a help, excuse me with my english, is't not my mother tongue.
Thanks in advance,
Ernesto.