If a client come through STUN and behind NAT,
SER dont need to do anything to handle NAT.
correct me pls, if I am wrong.
How ser will figure it out that whether a client is coming through STUN or
not?
Thanks,
Mohammad
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
Hi ALl
I have one Cisco AS5300 i wanna use with PSTN Gateway What`s requeriments
Software/Hardware to work with SER using codec G729a into one E1
Thks a lot.
Hello Barry,
I got the same problems I tried to get missed
call,message stored, acounting and more but i think
serweb scripts are not update I ever sent mails to
Karel (serweb) .
For example IM are stored in silo table but r_uri
field is empty.
I think of Serweb need some fixing.
Harry
--- Barry Murphy <barry(a)unix.co.nz> wrote:
> Hey guys,
>
> Ok so I've added the following to my ser.cfg:
>
> modparam("usrloc|acc|auth_db|group|msilo", "db_url",
> "mysql://ser:serpass@localhost/ser")
>
> modparam("acc", "log_level", 2)
> modparam("acc", "log_flag", 1 )
> modparam("acc", "log_missed_flag", 2)
> modparam("acc", "failed_transactions", 1)
> modparam("acc", "report_cancels", 1)
> modparam("acc", "db_flag", 1)
> modparam("acc", "db_missed_flag", 2)
> #modparam("acc", "db_flag", 1 )
> #modparam("acc", "log_level", 1)
> #modparam("acc", "log_missed_flag", 1)
> #modparam("acc", "db_missed_flag", 1)
>
> With the above I seem to get the calls apearing in
> the serweb 'accounting'
> tab, however the calls have :
> Length of call: n/a
> Hangup: n/a
>
> Missing calls seem to appear in the database,
> however not in serweb.
>
> Any ideas would be much appreciated, dinner time!
>
> Thanks
> Barry
>
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
Hi,
I configure SER with Mysql. After I start SER, it don't show "successful" word, and can't end. No UA can register to SER. I found when UA sends Register message, it can't receive any response. But I use serctl command to monitor SER, I can't find any error. After I restart Linux again, Linux'start process is blocked when it is starting ser. My Linux op can't be started. That's horrible.
Furthermore, After I configure SER with Mysql, I configure SER without Mysql again, SER also can't start nomally. The only way is to remove it and restall it.
Can you help me!! Thanks.
My ser.cfg is as following:
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
#debug=3 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
# Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/lib/ser/modules/mysql.so"
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/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{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
#if (!mf_process_maxfwd_header("10")) {
# sl_send_reply("483","Too Many Hops");
# break;
#};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri=~"127.0.0.1") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("127.0.0.1", "subscriber")) {
# www_challenge("127.0.0.1", "0");
# break;
# };
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
jenny
xueyou38(a)163.com
2005-04-01
Hello Paul,
Thank you for responding. I have now read the getting started document. I am confused as to why my config should have supported two private clients on the same subnet communicating via rtpproxy [even though again i acknowledge its not the most efficient way to process the call] but anyhow I have decided to try to modify my script according to the sample rtpproxy/nathelper enabled scripted in the onsip document version 3. I will work from this as it will provide me with a solid basis.
I have a few simple questions though. I am getting an error with the parameter "has_totag()". The /var/log/messages says I am missing the loadmodule. What loadmodule supports the above parameter? Also I was unable to load the module uri_db.so. Is this module usually included with 0.8.14?
Many Thanks,
Vivienne.
Java Rockx <javarockx(a)gmail.com> wrote:
Perhaps our "getting started" document at http://www.onsip.org/ will
help you. It's based on ser-0.9.x, but it does cover both mediaproxy
and rtpproxy.
Regards,
Paul
On Thu, 31 Mar 2005 19:22:23 +0100 (BST), Vivienne Curran
wrote:
>
>
> Hi,
>
>
>
> I am having problems troubleshooting a problem I am experiencing with my SER
> configuration. I have ser 0.8.14 running with rtpproxy and nathelper
> enabled. I have two phones on the same subnet behind nat and I would like to
> make a call between the two. I want to invoke rtpproxy for this as they both
> have private address [I know this isn't the most efficient way as they're
> both on the same subnet but I can worry about that later].
>
>
>
> When I ring from the phone 1 (2092) to phone 2 (2093), 2092 can hear voice
> but 2093 can't. When 2093 ring 2092, there's no audio. These phones are
> Grandstream BT100's. They have been configured to listen on different SIP
> and RTP ports.
>
>
>
> 2092: SIP Port: 5060
>
> 2092: RTP Port: 5004
>
> 2093: SIP Port: 5061
>
> 2093: RTP Port: 5005
>
>
>
> I have tried to include my ser.cfg and SER message dumps but serbouncers
> said the attachment was too big. I can try adding them again if requiredI
> can confirm that my rtpproxy is working (originally I thought it wasn't) by
> using "strace d -f F". I can see a signal being returned.
>
>
>
> Any help would be appreciated or advise as to how I can proceed
> troubleshooting.
>
> Kindest Regards,
>
> Vivienne.
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
Hey guys,
Ok so I've added the following to my ser.cfg:
modparam("usrloc|acc|auth_db|group|msilo", "db_url",
"mysql://ser:serpass@localhost/ser")
modparam("acc", "log_level", 2)
modparam("acc", "log_flag", 1 )
modparam("acc", "log_missed_flag", 2)
modparam("acc", "failed_transactions", 1)
modparam("acc", "report_cancels", 1)
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 2)
#modparam("acc", "db_flag", 1 )
#modparam("acc", "log_level", 1)
#modparam("acc", "log_missed_flag", 1)
#modparam("acc", "db_missed_flag", 1)
With the above I seem to get the calls apearing in the serweb 'accounting'
tab, however the calls have :
Length of call: n/a
Hangup: n/a
Missing calls seem to appear in the database, however not in serweb.
Any ideas would be much appreciated, dinner time!
Thanks
Barry
Hello ,
I have the following error when I am starting ser0.9.0:
WARNING: no fork mode and more than one listen address found (will
use only the first one)
stateless - initializing
0(0) Maxfwd module - initializing
textops - initializing
0(0)submit_query(): Unknown column 'table_version in 'field list'
0(0)submit_query(): Error while submitting query
0(0)table_version(): Error in db_query
0(0)register_udomain(): Error while querying table version
0(0)domain_fixup(): Error while registering domain
ERROR: error -1 while trying to fix configuration
I read in the below link that it is because I am running a mysql
database version which is compatible with 0.8.14 and not 0.9.0
http://mail.iptel.org/pipermail/serusers/2005-February/015915.html
Therefore I went to /usr/local/sbin and ran ser_mysql.sh drop and
ser_mysql.sh create. However the database still hasnt been updated
and the error remains. Any ideas on what I can do?
Thank you,
Aisling.
-------------------Legal Disclaimer---------------------------------------
The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
Hi,
I am just new to SER n the mailin list. I ned to configure my SER but I have
failed to find the SER mysql Module plus all the other modules..
Can anyone plz help me from where can I download these modules?
Thanx
S h o a i b