Hey guys,
I need to know how I can enforce a call limit for my users.. if they already have x number of calls, I need to be able to block additional calls.
Thanks,
Chris Doyle
Hello list
I'm having serious problems with my "production" SER machine. Since
i installed "SER" program in my linux machine i have been experimenting
"freezing" and "crashing" events without any particular reason. The
freezing events were solved eliminating the call to the exec_dset() function
from the ser.cfg file. Now i'm using avp_radius to acomplish the same
function. But now instead of the "freezing" events i'm having "crashing"
events every 4 or 5 days. I'm really don't know what could possibly be
happening, so i discover that SER leaves a core.dumped files in my "root"
directory from my linux machine. I'm not an expert in C or Linux, but i
discover a basic way to check this core files using "gdb" tool.
I'm not even now if i'm using the tool ok but this is the output :
[root@]# gdb /usr/local/sbin/ser ../core.18662
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Core was generated by `/usr/local/sbin/ser -P /var/run/ser.pid'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local//lib/ser/modules/mysql.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mysql.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/local//lib/ser/modules/sl.so...done.
Loaded symbols for /usr/local//lib/ser/modules/sl.so
Reading symbols from /usr/local//lib/ser/modules/tm.so...done.
Loaded symbols for /usr/local//lib/ser/modules/tm.so
Reading symbols from /usr/local//lib/ser/modules/rr.so...done.
Loaded symbols for /usr/local//lib/ser/modules/rr.so
Reading symbols from /usr/local//lib/ser/modules/maxfwd.so...done.
Loaded symbols for /usr/local//lib/ser/modules/maxfwd.so
Reading symbols from /usr/local//lib/ser/modules/usrloc.so...done.
Loaded symbols for /usr/local//lib/ser/modules/usrloc.so
Reading symbols from /usr/local//lib/ser/modules/registrar.so...done.
Loaded symbols for /usr/local//lib/ser/modules/registrar.so
Reading symbols from /usr/local//lib/ser/modules/textops.so...done.
Loaded symbols for /usr/local//lib/ser/modules/textops.so
Reading symbols from /usr/local//lib/ser/modules/exec.so...done.
Loaded symbols for /usr/local//lib/ser/modules/exec.so
Reading symbols from /usr/local//lib/ser/modules/mediaproxy.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mediaproxy.so
Reading symbols from /usr/local//lib/ser/modules/domain.so...done.
Loaded symbols for /usr/local//lib/ser/modules/domain.so
Reading symbols from /usr/local//lib/ser/modules/dbtext.so...done.
Loaded symbols for /usr/local//lib/ser/modules/dbtext.so
Reading symbols from /usr/local//lib/ser/modules/nathelper.so...done.
Loaded symbols for /usr/local//lib/ser/modules/nathelper.so
Reading symbols from /usr/local/lib/ser/modules/auth.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth.so
Reading symbols from /usr/local/lib/ser/modules/auth_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth_radius.so
Reading symbols from /usr/local/lib/libradiusclient-ng.so.2...done.
Loaded symbols for /usr/local/lib/libradiusclient-ng.so.2
Reading symbols from /usr/local/lib/ser/modules/group_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/group_radius.so
Reading symbols from /usr/local/lib/ser/modules/acc.so...done.
Loaded symbols for /usr/local/lib/ser/modules/acc.so
Reading symbols from /usr/local/lib/ser/modules/avp_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avp_radius.so
Reading symbols from /usr/local/lib/ser/modules/avpops.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avpops.so
Reading symbols from /usr/local/lib/ser/modules/xlog.so...done.
Loaded symbols for /usr/local/lib/ser/modules/xlog.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
(gdb) bt
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
#1 0x4206fb28 in _IO_default_xsputn_internal () from /lib/tls/libc.so.6
#2 0x4204528a in vfprintf () from /lib/tls/libc.so.6
#3 0x4206432c in vsprintf () from /lib/tls/libc.so.6
#4 0x4204f18d in sprintf () from /lib/tls/libc.so.6
#5 0x4016f889 in UseMediaProxy (msg=0x8106a28, str1=0x0, str2=0x0) at
mediaproxy.c:1454
#6 0x0804efe2 in do_action (a=0x8105238, msg=0x8106a28) at action.c:610
#7 0x0805079c in run_actions (a=0x8105238, msg=0x8105238) at action.c:718
#8 0x0804ef01 in do_action (a=0x8105268, msg=0x8106a28) at action.c:600
#9 0x0805079c in run_actions (a=0x8105238, msg=0x8105268) at action.c:718
#10 0x0804ef01 in do_action (a=0x8105298, msg=0x8106a28) at action.c:600
#11 0x0805079c in run_actions (a=0x8105238, msg=0x8105298) at action.c:718
#12 0x0804ed9f in do_action (a=0x8104188, msg=0x8106a28) at action.c:375
#13 0x0805079c in run_actions (a=0x8105238, msg=0x8106a28) at action.c:718
#14 0x0804ef01 in do_action (a=0x81041e8, msg=0x8106a28) at action.c:600
#15 0x0805079c in run_actions (a=0x8105238, msg=0x81041e8) at action.c:718
#16 0x0804ef01 in do_action (a=0x8104b48, msg=0x8106a28) at action.c:600
#17 0x0805079c in run_actions (a=0x8105238, msg=0x8104b48) at action.c:718
#18 0x08069449 in receive_msg (
buf=0x80c48a0 "INVITE sip:0056085603736@sipproxy.mydomain.com
SIP/2.0\r\nVia: SIP/2.0/UDP
192.168.1.2:5061;branch=z9hG4bK-a10b77eb;rport\r\nFrom: 5555847148
<sip:5555847148@sipproxy.mydomain.com>;tag=802df038f5b36902o1\r"...,
len=1119, rcv_info=0xbfffe350)
at receive.c:165
#19 0x08079e8f in udp_rcv_loop () at udp_server.c:458
#20 0x0805b480 in main_loop () at main.c:1032
#21 0x0805c7ac in main (argc=0, argv=0x4213ad38) at main.c:1568
#22 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
>From another crash (five days ago).
[root@sipvoiss root]# gdb /usr/local/sbin/ser ../core.3694
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Core was generated by `/usr/local/sbin/ser -P /var/run/ser.pid'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local//lib/ser/modules/mysql.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mysql.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/local//lib/ser/modules/permissions.so...done.
Loaded symbols for /usr/local//lib/ser/modules/permissions.so
Reading symbols from /usr/local//lib/ser/modules/sl.so...done.
Loaded symbols for /usr/local//lib/ser/modules/sl.so
Reading symbols from /usr/local//lib/ser/modules/tm.so...done.
Loaded symbols for /usr/local//lib/ser/modules/tm.so
Reading symbols from /usr/local//lib/ser/modules/rr.so...done.
Loaded symbols for /usr/local//lib/ser/modules/rr.so
Reading symbols from /usr/local//lib/ser/modules/maxfwd.so...done.
Loaded symbols for /usr/local//lib/ser/modules/maxfwd.so
Reading symbols from /usr/local//lib/ser/modules/usrloc.so...done.
Loaded symbols for /usr/local//lib/ser/modules/usrloc.so
Reading symbols from /usr/local//lib/ser/modules/registrar.so...done.
Loaded symbols for /usr/local//lib/ser/modules/registrar.so
Reading symbols from /usr/local//lib/ser/modules/textops.so...done.
Loaded symbols for /usr/local//lib/ser/modules/textops.so
Reading symbols from /usr/local//lib/ser/modules/exec.so...done.
Loaded symbols for /usr/local//lib/ser/modules/exec.so
Reading symbols from /usr/local//lib/ser/modules/mediaproxy.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mediaproxy.so
Reading symbols from /usr/local//lib/ser/modules/domain.so...done.
Loaded symbols for /usr/local//lib/ser/modules/domain.so
Reading symbols from /usr/local//lib/ser/modules/dbtext.so...done.
Loaded symbols for /usr/local//lib/ser/modules/dbtext.so
Reading symbols from /usr/local//lib/ser/modules/nathelper.so...done.
Loaded symbols for /usr/local//lib/ser/modules/nathelper.so
Reading symbols from /usr/local/lib/ser/modules/auth.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth.so
Reading symbols from /usr/local/lib/ser/modules/auth_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth_radius.so
Reading symbols from /usr/local/lib/libradiusclient-ng.so.2...done.
Loaded symbols for /usr/local/lib/libradiusclient-ng.so.2
Reading symbols from /usr/local/lib/ser/modules/group_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/group_radius.so
Reading symbols from /usr/local/lib/ser/modules/acc.so...done.
Loaded symbols for /usr/local/lib/ser/modules/acc.so
Reading symbols from /usr/local/lib/ser/modules/avp_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avp_radius.so
Reading symbols from /usr/local/lib/ser/modules/avpops.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avpops.so
Reading symbols from /usr/local/lib/ser/modules/xlog.so...done.
Loaded symbols for /usr/local/lib/ser/modules/xlog.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
(gdb)
(gdb) bt
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
#1 0x4206fb28 in _IO_default_xsputn_internal () from /lib/tls/libc.so.6
#2 0x4204528a in vfprintf () from /lib/tls/libc.so.6
#3 0x4206432c in vsprintf () from /lib/tls/libc.so.6
#4 0x4204f18d in sprintf () from /lib/tls/libc.so.6
#5 0x4017b889 in UseMediaProxy (msg=0x8107178, str1=0x0, str2=0x0) at
mediaproxy.c:1454
#6 0x0804efe2 in do_action (a=0x8105568, msg=0x8107178) at action.c:610
#7 0x0805079c in run_actions (a=0x8105568, msg=0x8105568) at action.c:718
#8 0x0804ef01 in do_action (a=0x8105598, msg=0x8107178) at action.c:600
#9 0x0805079c in run_actions (a=0x8105568, msg=0x8105598) at action.c:718
#10 0x0804ef01 in do_action (a=0x81055c8, msg=0x8107178) at action.c:600
#11 0x0805079c in run_actions (a=0x8105568, msg=0x81055c8) at action.c:718
#12 0x0804ed9f in do_action (a=0x81044b8, msg=0x8107178) at action.c:375
#13 0x0805079c in run_actions (a=0x8105568, msg=0x8107178) at action.c:718
#14 0x0804ef01 in do_action (a=0x8104518, msg=0x8107178) at action.c:600
#15 0x0805079c in run_actions (a=0x8105568, msg=0x8104518) at action.c:718
#16 0x0804ef01 in do_action (a=0x8104e78, msg=0x8107178) at action.c:600
#17 0x0805079c in run_actions (a=0x8105568, msg=0x8104e78) at action.c:718
#18 0x08069449 in receive_msg (
buf=0x80c48a0 "INVITE sip:5503100@sipproxy.mydomain.com SIP/2.0\r\nVia:
SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK-4cd3c2cf;rport\r\nFrom:
5555848177
<sip:5555848177@sipproxy.mydomain.com>;tag=e9d67edee86d16dbo0\r\nTo: <"...,
len=1139, rcv_info=0xbfffe650)
at receive.c:165
#19 0x08079e8f in udp_rcv_loop () at udp_server.c:458
#20 0x0805b480 in main_loop () at main.c:1032
#21 0x0805c7ac in main (argc=0, argv=0x4213ad38) at main.c:1568
#22 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
Does this make sense to somone?. Can i obtain more information from the
core.dumped file?
For the record i'm using :
[root@sipvoiss root]# uname -a
Linux sipvoiss 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux
[root@sipvoiss root]# more /etc/issue
Red Hat Linux release 9 (Shrike)
Kernel \r on an \m
[root@sipvoiss root]# ser -V
version: ser 0.9.3 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.197 2004/12/03 19:09:31 andrei Exp $
main.c compiled on 09:52:20 Jul 7 2005 with gcc 3.2
[root@sipvoiss root]# /usr/local/mediaproxy/mediaproxy.py --version
mediaproxy.py 1.3.1
I hope that someone could help me on this one.
Thanks in advance
Regards,
Ricardo Martinez.-
Hi,
I am newbie in SER and SIP.
I just want to make video conference session which contains more than two participants.
Is it server related issue or client one?
Can anybody help me?
Regards,
Keyvan
Made some progresses, using ethereal,it says Status: 483 Too Many
Hops (0 bindings)
Hopefully i'm making some good progress here..
Thanks,
Zaihan
On 13 Jul 2005, at 7:11 PM, harry gaillac wrote:
> Use nathelper rtpproxy/mediaproxy in nat context
>
> --- Muhammad Nuzaihan Kamalluddin
> <nuzaihan(a)unrealasia.net> a écrit :
>
>
>> Hi,
>>
>> I have ser 0.9.3 installed on freebsd 4.10,
>> everything else seems to
>> work fine, except that it says host is down in the
>> logs. It happens only
>> after i run the softphone to test. I have port
>> forwarded (the client's
>> behind a NAT) but to no avail.
>>
>> Jul 13 14:46:05 flamejob ser[38889]: msg_send:
>> ERROR: udp_send failed
>> Jul 13 14:47:24 flamejob ser[38889]: ERROR:
>> udp_send:
>> sendto(sock,0x28411478,551,0,0x28408870,16): Host is
>> down(64)
>>
>> and here's my ser.cfg
>>
>> debug=3 # debug level (cmd line:
>> -dddddddddd)
>> #fork=yes
>> #log_stderror=no # (cmd line: -E)
>>
>> /* Uncomment these lines to enter debugging mode
>> 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"
>> fifo="/tmp/ser_fifo"
>> fifo_db_url="mysql://root:password@localhost/ser"
>> # ------------------ module loading
>> ----------------------------------
>>
>> # Uncomment this if you want to use SQL database
>> 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"
>>
>> # Uncomment this if you want digest authentication
>> # mysql.so must be loaded !
>> 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
>>
>>
>>
>> Thanks,
>> Zaihan
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>
>
>
>
>
>
>
> ______________________________________________________________________
> _____
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo!
> Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
>
Hello list
I'm having serious problems with my "production" SER machine. Since
i installed "SER" program in my linux machine i have been experimenting
"freezing" and "crashing" events without any particular reason. The
freezing events were solved eliminating the call to the exec_dset() function
from the ser.cfg file. Now i'm using avp_radius to acomplish the same
function. But now instead of the "freezing" events i'm having "crashing"
events every 4 or 5 days. I'm really don't know what could possibly be
happening, so i discover that SER leaves a core.dumped files in my "root"
directory from my linux machine. I'm not an expert in C or Linux, but i
discover a basic way to check this core files using "gdb" tool.
I'm not even now if i'm using the tool ok but this is the output :
[root@]# gdb /usr/local/sbin/ser ../core.18662
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Core was generated by `/usr/local/sbin/ser -P /var/run/ser.pid'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local//lib/ser/modules/mysql.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mysql.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/local//lib/ser/modules/sl.so...done.
Loaded symbols for /usr/local//lib/ser/modules/sl.so
Reading symbols from /usr/local//lib/ser/modules/tm.so...done.
Loaded symbols for /usr/local//lib/ser/modules/tm.so
Reading symbols from /usr/local//lib/ser/modules/rr.so...done.
Loaded symbols for /usr/local//lib/ser/modules/rr.so
Reading symbols from /usr/local//lib/ser/modules/maxfwd.so...done.
Loaded symbols for /usr/local//lib/ser/modules/maxfwd.so
Reading symbols from /usr/local//lib/ser/modules/usrloc.so...done.
Loaded symbols for /usr/local//lib/ser/modules/usrloc.so
Reading symbols from /usr/local//lib/ser/modules/registrar.so...done.
Loaded symbols for /usr/local//lib/ser/modules/registrar.so
Reading symbols from /usr/local//lib/ser/modules/textops.so...done.
Loaded symbols for /usr/local//lib/ser/modules/textops.so
Reading symbols from /usr/local//lib/ser/modules/exec.so...done.
Loaded symbols for /usr/local//lib/ser/modules/exec.so
Reading symbols from /usr/local//lib/ser/modules/mediaproxy.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mediaproxy.so
Reading symbols from /usr/local//lib/ser/modules/domain.so...done.
Loaded symbols for /usr/local//lib/ser/modules/domain.so
Reading symbols from /usr/local//lib/ser/modules/dbtext.so...done.
Loaded symbols for /usr/local//lib/ser/modules/dbtext.so
Reading symbols from /usr/local//lib/ser/modules/nathelper.so...done.
Loaded symbols for /usr/local//lib/ser/modules/nathelper.so
Reading symbols from /usr/local/lib/ser/modules/auth.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth.so
Reading symbols from /usr/local/lib/ser/modules/auth_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth_radius.so
Reading symbols from /usr/local/lib/libradiusclient-ng.so.2...done.
Loaded symbols for /usr/local/lib/libradiusclient-ng.so.2
Reading symbols from /usr/local/lib/ser/modules/group_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/group_radius.so
Reading symbols from /usr/local/lib/ser/modules/acc.so...done.
Loaded symbols for /usr/local/lib/ser/modules/acc.so
Reading symbols from /usr/local/lib/ser/modules/avp_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avp_radius.so
Reading symbols from /usr/local/lib/ser/modules/avpops.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avpops.so
Reading symbols from /usr/local/lib/ser/modules/xlog.so...done.
Loaded symbols for /usr/local/lib/ser/modules/xlog.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
(gdb) bt
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
#1 0x4206fb28 in _IO_default_xsputn_internal () from /lib/tls/libc.so.6
#2 0x4204528a in vfprintf () from /lib/tls/libc.so.6
#3 0x4206432c in vsprintf () from /lib/tls/libc.so.6
#4 0x4204f18d in sprintf () from /lib/tls/libc.so.6
#5 0x4016f889 in UseMediaProxy (msg=0x8106a28, str1=0x0, str2=0x0) at
mediaproxy.c:1454
#6 0x0804efe2 in do_action (a=0x8105238, msg=0x8106a28) at action.c:610
#7 0x0805079c in run_actions (a=0x8105238, msg=0x8105238) at action.c:718
#8 0x0804ef01 in do_action (a=0x8105268, msg=0x8106a28) at action.c:600
#9 0x0805079c in run_actions (a=0x8105238, msg=0x8105268) at action.c:718
#10 0x0804ef01 in do_action (a=0x8105298, msg=0x8106a28) at action.c:600
#11 0x0805079c in run_actions (a=0x8105238, msg=0x8105298) at action.c:718
#12 0x0804ed9f in do_action (a=0x8104188, msg=0x8106a28) at action.c:375
#13 0x0805079c in run_actions (a=0x8105238, msg=0x8106a28) at action.c:718
#14 0x0804ef01 in do_action (a=0x81041e8, msg=0x8106a28) at action.c:600
#15 0x0805079c in run_actions (a=0x8105238, msg=0x81041e8) at action.c:718
#16 0x0804ef01 in do_action (a=0x8104b48, msg=0x8106a28) at action.c:600
#17 0x0805079c in run_actions (a=0x8105238, msg=0x8104b48) at action.c:718
#18 0x08069449 in receive_msg (
buf=0x80c48a0 "INVITE sip:0056085603736@sipproxy.mydomain.com
SIP/2.0\r\nVia: SIP/2.0/UDP
192.168.1.2:5061;branch=z9hG4bK-a10b77eb;rport\r\nFrom: 5555847148
<sip:5555847148@sipproxy.mydomain.com>;tag=802df038f5b36902o1\r"...,
len=1119, rcv_info=0xbfffe350)
at receive.c:165
#19 0x08079e8f in udp_rcv_loop () at udp_server.c:458
#20 0x0805b480 in main_loop () at main.c:1032
#21 0x0805c7ac in main (argc=0, argv=0x4213ad38) at main.c:1568
#22 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
>From another crash (five days ago).
[root@sipvoiss root]# gdb /usr/local/sbin/ser ../core.3694
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Core was generated by `/usr/local/sbin/ser -P /var/run/ser.pid'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local//lib/ser/modules/mysql.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mysql.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/local//lib/ser/modules/permissions.so...done.
Loaded symbols for /usr/local//lib/ser/modules/permissions.so
Reading symbols from /usr/local//lib/ser/modules/sl.so...done.
Loaded symbols for /usr/local//lib/ser/modules/sl.so
Reading symbols from /usr/local//lib/ser/modules/tm.so...done.
Loaded symbols for /usr/local//lib/ser/modules/tm.so
Reading symbols from /usr/local//lib/ser/modules/rr.so...done.
Loaded symbols for /usr/local//lib/ser/modules/rr.so
Reading symbols from /usr/local//lib/ser/modules/maxfwd.so...done.
Loaded symbols for /usr/local//lib/ser/modules/maxfwd.so
Reading symbols from /usr/local//lib/ser/modules/usrloc.so...done.
Loaded symbols for /usr/local//lib/ser/modules/usrloc.so
Reading symbols from /usr/local//lib/ser/modules/registrar.so...done.
Loaded symbols for /usr/local//lib/ser/modules/registrar.so
Reading symbols from /usr/local//lib/ser/modules/textops.so...done.
Loaded symbols for /usr/local//lib/ser/modules/textops.so
Reading symbols from /usr/local//lib/ser/modules/exec.so...done.
Loaded symbols for /usr/local//lib/ser/modules/exec.so
Reading symbols from /usr/local//lib/ser/modules/mediaproxy.so...done.
Loaded symbols for /usr/local//lib/ser/modules/mediaproxy.so
Reading symbols from /usr/local//lib/ser/modules/domain.so...done.
Loaded symbols for /usr/local//lib/ser/modules/domain.so
Reading symbols from /usr/local//lib/ser/modules/dbtext.so...done.
Loaded symbols for /usr/local//lib/ser/modules/dbtext.so
Reading symbols from /usr/local//lib/ser/modules/nathelper.so...done.
Loaded symbols for /usr/local//lib/ser/modules/nathelper.so
Reading symbols from /usr/local/lib/ser/modules/auth.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth.so
Reading symbols from /usr/local/lib/ser/modules/auth_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/auth_radius.so
Reading symbols from /usr/local/lib/libradiusclient-ng.so.2...done.
Loaded symbols for /usr/local/lib/libradiusclient-ng.so.2
Reading symbols from /usr/local/lib/ser/modules/group_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/group_radius.so
Reading symbols from /usr/local/lib/ser/modules/acc.so...done.
Loaded symbols for /usr/local/lib/ser/modules/acc.so
Reading symbols from /usr/local/lib/ser/modules/avp_radius.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avp_radius.so
Reading symbols from /usr/local/lib/ser/modules/avpops.so...done.
Loaded symbols for /usr/local/lib/ser/modules/avpops.so
Reading symbols from /usr/local/lib/ser/modules/xlog.so...done.
Loaded symbols for /usr/local/lib/ser/modules/xlog.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
(gdb)
(gdb) bt
#0 0x42070fa4 in _IO_str_overflow_internal () from /lib/tls/libc.so.6
#1 0x4206fb28 in _IO_default_xsputn_internal () from /lib/tls/libc.so.6
#2 0x4204528a in vfprintf () from /lib/tls/libc.so.6
#3 0x4206432c in vsprintf () from /lib/tls/libc.so.6
#4 0x4204f18d in sprintf () from /lib/tls/libc.so.6
#5 0x4017b889 in UseMediaProxy (msg=0x8107178, str1=0x0, str2=0x0) at
mediaproxy.c:1454
#6 0x0804efe2 in do_action (a=0x8105568, msg=0x8107178) at action.c:610
#7 0x0805079c in run_actions (a=0x8105568, msg=0x8105568) at action.c:718
#8 0x0804ef01 in do_action (a=0x8105598, msg=0x8107178) at action.c:600
#9 0x0805079c in run_actions (a=0x8105568, msg=0x8105598) at action.c:718
#10 0x0804ef01 in do_action (a=0x81055c8, msg=0x8107178) at action.c:600
#11 0x0805079c in run_actions (a=0x8105568, msg=0x81055c8) at action.c:718
#12 0x0804ed9f in do_action (a=0x81044b8, msg=0x8107178) at action.c:375
#13 0x0805079c in run_actions (a=0x8105568, msg=0x8107178) at action.c:718
#14 0x0804ef01 in do_action (a=0x8104518, msg=0x8107178) at action.c:600
#15 0x0805079c in run_actions (a=0x8105568, msg=0x8104518) at action.c:718
#16 0x0804ef01 in do_action (a=0x8104e78, msg=0x8107178) at action.c:600
#17 0x0805079c in run_actions (a=0x8105568, msg=0x8104e78) at action.c:718
#18 0x08069449 in receive_msg (
buf=0x80c48a0 "INVITE sip:5503100@sipproxy.mydomain.com SIP/2.0\r\nVia:
SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK-4cd3c2cf;rport\r\nFrom:
5555848177
<sip:5555848177@sipproxy.mydomain.com>;tag=e9d67edee86d16dbo0\r\nTo: <"...,
len=1139, rcv_info=0xbfffe650)
at receive.c:165
#19 0x08079e8f in udp_rcv_loop () at udp_server.c:458
#20 0x0805b480 in main_loop () at main.c:1032
#21 0x0805c7ac in main (argc=0, argv=0x4213ad38) at main.c:1568
#22 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
Does this make sense to somone?. Can i obtain more information from the
core.dumped file?
For the record i'm using :
[root@sipvoiss root]# uname -a
Linux sipvoiss 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux
[root@sipvoiss root]# more /etc/issue
Red Hat Linux release 9 (Shrike)
Kernel \r on an \m
[root@sipvoiss root]# ser -V
version: ser 0.9.3 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.197 2004/12/03 19:09:31 andrei Exp $
main.c compiled on 09:52:20 Jul 7 2005 with gcc 3.2
[root@sipvoiss root]# /usr/local/mediaproxy/mediaproxy.py --version
mediaproxy.py 1.3.1
I hope that someone could help me on this one.
Thanks in advance
Regards,
Ricardo Martinez.-
No : I have no more the error but nothing can not see any pid.
Geo
>It's ok ?
>Does sems start?
>
>Harry
>
>--- geotelcom <geotelcom(a)yahoo.fr> a écrit :
>
>> hello
>>
>> Thanks for the hint
>> >
>> >Try in your start script to set sems -d ppp0 or
>> eth0
>> >
>> >--- geotelcom <geotelcom(a)yahoo.fr> a écrit :
>> >
>> >> Hi team,
>> >> Trying to load sems, I get the error "getLocalIP
>> ...
>> >> Could not determine proper local address for
>> media
>> >> advertising !"
>> >> Might be something stupid but I can not figure
>> out
>> >> why. Was checking sems and ser config sems.cpp
>> and
>> >> the archives.
>> >> Anyone have an idea or a suggestion, whatever ?
>> >> Thanks
>> >>
>> >>
>> >>
>> >> (720) ERROR: getLocalIP (sems.cpp:547): Could not
>> >> determine proper local address for media
>> advertising
>> >> !
>> >> (720) ERROR: getLocalIP (sems.cpp:548): Try using
>> >> 'ifconfig -a' to find a proper interface and
>> >> configure
>> >>
>> >> Quite sure, it has already happened
>> >> Debugging cpp now ! Any hint ?
>> >> Thanks, G
>> >> > _______________________________________________
>> >> Serusers mailing list
>> >> serusers(a)lists.iptel.org
>> >> http://lists.iptel.org/mailman/listinfo/serusers
>> >>
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>___________________________________________________________________________
>> >Appel audio GRATUIT partout dans le monde avec le
>> nouveau Yahoo! Messenger
>> >Téléchargez cette version sur
>> http://fr.messenger.yahoo.com
>>
>>
>>
>>
>>
>>
>>
>___________________________________________________________________________
>> Appel audio GRATUIT partout dans le monde avec le
>> nouveau Yahoo! Messenger
>> Téléchargez cette version sur
>> http://fr.messenger.yahoo.com
>>
>
>
>
>
>
>
>___________________________________________________________________________
>Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
>Téléchargez cette version sur http://fr.messenger.yahoo.com
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
hi,
i know this might be the wrong list for that question, but i know
there are many good people in here using ser and sipura atas. i am
trying to send a NOTIFY message to a sipura ata, containing a resync
request. i do this via sipsak and a textfile containing the NOTIFY
message with an event of resync;tftp ... blah.
i then get, as mentioned on sipura website a 401 unauthorized
challenge back from the box. now i am supposed to send account
password computed with md5.
questions: which account password? the one for the account
configured on the box? or the admin password of the box? and how do
i send that to the box after the challenge arrived? don't i have to
set the correct message-ids and stuff?
does someone have a working example of messages and commands to get a
sipura nbox to resync its profile?
any help would be appreciated.
Brgds,
Gerd