Has anyone successfully got this to work, or is anyone working on this,
asterisk on its own seems to be a no brainer, but with the phones in
registered in ser, and the calls be routed...well thats a different story.
Iqbal
I have SER 0.9.3 and SERWEB 0.9.3 installed and when I log into SERWEB as a
user and go to "Missed Calls" or "Accounting" I get the error: "DB Error:
syntax error". I looked in apache log and I have a bunch of PEAR errors. I
followed the instructions (I hope) and I have the Pear package LOG
installed. These are probably two seperate issues, but if I could get either
one fixed I would be a happy camper.
/var/log/messages
------------------
[client 192.168.10.130] PHP Notice: Use of undefined constant
PEAR_LOG_INFO - assumed 'PEAR_LOG_INFO' in
/home/serweb/serweb/html/functions.php on line 513, referer:
http://192.168.0.155/serweb/user/missed_calls.php?kvrk=42d588fe936fd
[client 192.168.10.130] PHP Notice: Use of undefined constant
PEAR_LOG_INFO - assumed 'PEAR_LOG_INFO' in
/home/serweb/serweb/html/functions.php on line 513, referer:
http://192.168.0.155/serweb/user/accounting.php?kvrk=42d5890017dab
PEAR Packages
----------------
Package Version State
Archive_Tar 1.3.1 stable
Console_Getopt 1.2 stable
DB 1.7.6 stable
HTTP 1.3.5 stable
Log 1.8.7 stable
Mail 1.1.6 stable
Net_SMTP 1.2.6 stable
Net_Socket 1.0.6 stable
PEAR 1.3.5 stable
PHPUnit 1.2.3 stable
XML_Parser 1.2.6 stable
XML_RPC 1.3.2 stable
Hello,
I'm sending BYE messages to two users ans they hang up correctly, but from
sipsak I get the error:
** give up retransmissioning....
Does anybody know why?
Thanks!
Sebastian
Ricardo,
On Mon, 18 Jul 2005, Ricardo Martinez wrote:
> Thanks for your answer. I am so lost with this problem that it is
> worth the try. A couple of silly question.
> - By "vanilla" you mean the RedHat 9 without any updates?
Exactly.
> - Is safe just to install the fix-update for glibc without any other
> pre-installation?
RPM will ask you to install any dependent packages if necessary.
I would recommend to install kernel update as well, but this is not
required.
> > -----Mensaje original-----
> > De: Dmitry Semyonov [mailto:dsemyonov@dins.ru]
> > Enviado el: S?bado, 16 de Julio de 2005 3:05
> > Para: Ricardo Martinez
> > CC: serusers(a)lists.iptel.org
> > Asunto: Re: [Serusers] Serious problems with SER : crash. Need Help
> >
> >
> > Ricardo,
> >
> > On Fri, 15 Jul 2005, Ricardo Martinez wrote:
> >
> > > 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
> >
> > While this could be hardly related to this particular issue, you have
> > to know that vanilla RedHat-9 is shipped with buggy glibc. I have at
> > least one proprietary program that doesn't work with it correctly.
> > Replacing 2.3.2-11.9 glibc rpms with 2.3.2-27.9.7 from RedHat-9
> > updates fixed a startup crash of that program for me.
--
...Bye..Dmitry.
I can not find the mysql.so module, where can I get it
DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message by
anyone else is unauthorized.If receiving in error please accept our apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is prohibited
and maybe
unlawful.
Hello Dmitry
Thanks for your answer. I am so lost with this problem that it is
worth the try. A couple of silly question.
- By "vanilla" you mean the RedHat 9 without any updates? or what?.
- Is safe just to install the fix-update for glibc without any other
pre-installation?
Thanks again
Regards,
Ricardo Martinez.-
> -----Mensaje original-----
> De: Dmitry Semyonov [mailto:dsemyonov@dins.ru]
> Enviado el: Sábado, 16 de Julio de 2005 3:05
> Para: Ricardo Martinez
> CC: serusers(a)lists.iptel.org
> Asunto: Re: [Serusers] Serious problems with SER : crash. Need Help
>
>
> Ricardo,
>
> On Fri, 15 Jul 2005, Ricardo Martinez wrote:
>
> > 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
>
> While this could be hardly related to this particular issue, you have
> to know that vanilla RedHat-9 is shipped with buggy glibc. I have at
> least one proprietary program that doesn't work with it correctly.
> Replacing 2.3.2-11.9 glibc rpms with 2.3.2-27.9.7 from RedHat-9
> updates fixed a startup crash of that program for me.
>
> --
>
> ...Bye..Dmitry.
>
Hello Dan.
Here is the information.
For the first core file :
(gdb) frame 5
#5 0x4016f889 in UseMediaProxy (msg=0x8106a28, str1=0x0, str2=0x0) at
mediaproxy.c:1454
1454 sprintf(info, "from:%.*s,to:%.*s,fromtag:%.*s,totag:%.*s",
(gdb) list
1449 }
1450
1451 agent = encodeQuopri(userAgent);
1452
1453 info = pkg_malloc(infolen);
1454 sprintf(info, "from:%.*s,to:%.*s,fromtag:%.*s,totag:%.*s",
1455 fromAddr.len, fromAddr.s, toAddr.len, toAddr.s,
1456 fromTag.len, fromTag.s, toTag.len, toTag.s);
1457 if (isRTPAsymmetric(userAgent)) {
1458 strcat(info, ",asymmetric");
(gdb) print infolen
$1 = 149
(gdb) print &info
Can't take address of "info" which isn't an lvalue.
(gdb) print info
$2 = 0x5 <Address 0x5 out of bounds>
(gdb) print fromAddr
$3 = {
s = 0x80c492f
"5555847148(a)sipproxy.redvoiss.net>;tag=802df038f5b36902o1\r\nTo:
<sip:0056085603736@sipproxy.redvoiss.net>\r\nCall-ID:
adebb0f0-3065dfaa(a)192.168.1.2\r\nCSeq: 102 INVITE\r\nMax-Forwards:
16\r\nProxy-Authorization"..., len = 32}
(gdb) print *fromAddr
Structure has no component named operator*.
(gdb) print toAddr
$4 = {
s = 0x80c4972 "0056085603736(a)sipproxy.redvoiss.net>\r\nCall-ID:
adebb0f0-3065dfaa(a)192.168.1.2\r\nCSeq: 102 INVITE\r\nMax-Forwards:
16\r\nProxy-Authorization: Digest
username=\"ID_12481\",realm=\"sipproxy.redvoiss.net\",nonce=\"4"..., len =
35}
(gdb) print *toAddr
Structure has no component named operator*.
(gdb) print fromTag
$5 = {
s = 0x80c4955 "802df038f5b36902o1\r\nTo:
<sip:0056085603736@sipproxy.redvoiss.net>\r\nCall-ID:
adebb0f0-3065dfaa(a)192.168.1.2\r\nCSeq: 102 INVITE\r\nMax-Forwards:
16\r\nProxy-Authorization: Digest username=\"ID_12481\",realm=\"si"..., len
= 18}
(gdb) print *fromTag
Structure has no component named operator*.
(gdb) print toTag
$6 = {s = 0x401773d0 "", len = 0}
(gdb) print *toTag
Structure has no component named operator*.
(gdb)
And here for the second :
(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.redvoiss.net SIP/2.0\r\nVia:
SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK-4cd3c2cf;rport\r\nFrom:
5555848177
<sip:5555848177@sipproxy.redvoiss.net>;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
(gdb) frame 5
#5 0x4017b889 in UseMediaProxy (msg=0x8107178, str1=0x0, str2=0x0) at
mediaproxy.c:1454
1454 sprintf(info, "from:%.*s,to:%.*s,fromtag:%.*s,totag:%.*s",
(gdb) list
1449 }
1450
1451 agent = encodeQuopri(userAgent);
1452
1453 info = pkg_malloc(infolen);
1454 sprintf(info, "from:%.*s,to:%.*s,fromtag:%.*s,totag:%.*s",
1455 fromAddr.len, fromAddr.s, toAddr.len, toAddr.s,
1456 fromTag.len, fromTag.s, toTag.len, toTag.s);
1457 if (isRTPAsymmetric(userAgent)) {
1458 strcat(info, ",asymmetric");
(gdb) print infolen
$1 = 143
(gdb) print &info
Can't take address of "info" which isn't an lvalue.
(gdb) print fromAddr
$2 = {
s = 0x80c4929
"5555848177(a)sipproxy.redvoiss.net>;tag=e9d67edee86d16dbo0\r\nTo:
<sip:5503100@sipproxy.redvoiss.net>\r\nCall-ID:
e453655a-c1c3028f(a)192.168.0.2\r\nCSeq: 102 INVITE\r\nMax-Forwards:
16\r\nProxy-Authorization: Dige"...,
len = 32}
(gdb) print *fromAddr
Structure has no component named operator*.
(gdb) print toAddr
$3 = {
s = 0x80c496c "5503100(a)sipproxy.redvoiss.net>\r\nCall-ID:
e453655a-c1c3028f(a)192.168.0.2\r\nCSeq: 102 INVITE\r\nMax-Forwards:
16\r\nProxy-Authorization: Digest
username=\"ID_12375\",realm=\"sipproxy.redvoiss.net\",nonce=\"42d2d2f"...,
len = 29}
(gdb) print *toAddr
Structure has no component named operator*.
(gdb) print fromTag
$4 = {
s = 0x80c494f "e9d67edee86d16dbo0\r\nTo:
<sip:5503100@sipproxy.redvoiss.net>\r\nCall-ID:
e453655a-c1c3028f(a)192.168.0.2\r\nCSeq: 102 INVITE\r\nMax-Forwards:
16\r\nProxy-Authorization: Digest
username=\"ID_12375\",realm=\"sipproxy"...,
len = 18}
(gdb) print *fromTag
Structure has no component named operator*.
(gdb) print toTag
$5 = {s = 0x401833d0 "", len = 0}
(gdb) print *toTag
Structure has no component named operator*.
(gdb)
Hope it helps.
If you need more information about the core just email me.
Thanks
Ricardo Martinez
> -----Mensaje original-----
> De: Dan Pascu [mailto:dan@ag-projects.com]
> Enviado el: Viernes, 15 de Julio de 2005 20:54
> Para: serdev(a)lists.iptel.org
> CC: Ricardo Martinez; 'serusers(a)lists.iptel.org'; 'serdev(a)lists.iptel.org'
> Asunto: Re: [Serdev] Help needed with core.dumps from SER
>
>
> On Saturday 16 July 2005 01:03, Ricardo Martinez wrote:
> > [root@]# gdb /usr/local/sbin/ser ../core.18662
>
> I need a bit more info to trace this. after you run the
> command above, type
> the following commands:
>
> bt
>
> watch for the frame numbers, and look for UseMediaProxy (in
> the trace you
> posted it was at frame #5, but it may be at a different
> position for another
> core file):
>
> (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
> ...
>
> then type these:
>
> frame 5
> list
> print infolen
> print &info
> print info
> print fromAddr
> print *fromAddr
> print toAddr
> print *toAddr
> print fromTag
> print *fromTag
> print toTag
> print *toTag
>
> if the frame for UseMediaProxy is different than 5, use that
> number in the
> frame command above. Then send me the output.
>
> --
>
> Dan
>
hi,
Thanks a lot for the inputs..
i have few more queries:
The NOTIFY for my Message SUBSCRIBE message is like the below:
NOTIFY sip:2411234567@10.100.12.243 SIP/2.0
Via: SIP/2.0/UDP 10.100.12.201:5060;branch=z9hG4bK3265182e;rport
From: sip:2411234567@10.100.12.201;tag=as4c9b430d
To: sip:2411234567@10.100.12.243;tag=5f12665a9832ee3ded87f1b2346a96d7
Contact: <sip:2411234567@10.100.12.201>
Call-ID: 5ec3933956b9e8affef44df8051b0236(a)10.100.12.243
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: presence
Content-Type: application/xpidf+xml
Content-Length: 364
<?xml version="1.0"?>
<!DOCTYPE presence PUBLIC "-//IETF//DTD RFCxxxx XPIDF 1.0//EN" "xpidf.dtd">
<presence>
<presentity uri="sip:2411234567@10.100.12.243;method=SUBSCRIBE" />
<atom id="2411234567">
<address uri="sip:2411234567@10.100.12.201;user=ip" priority="0,800000">
<status status="open" />
<msnsubstatus substatus="online" />
</address>
</atom>
</presence>
Queries:
The Event header is set to "presence", even though the SUBSCRIBE event
header has the type as "message-summary".
And the content-type is "application/xpidf+xml" and the content is in xml,
even though i send the content type as
"application/simple-message-summary" in the SUBSCRIBE message.
It seems, for any of the SUBSCRIBE message, Asterisk is sending a NOTIFY in
this format only... am i right..?
So, As of now i have changed the source code of the Asterisk to give the
"message-summary" event.
Is there any way to achieve these by configuration..?
( But i dont find any sources to give the text format instead of the xml
formatted message. )
It will be helpful if i have your ideas...!
Thanks in advance,
Subashini
-----Original Message-----
From: Olle E. Johansson [mailto:oej@edvina.net]
Sent: Monday, July 18, 2005 4:28 PM
To: Subashini C V - CTD, Chennai
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] unsolicited NOTIFY messages from Asterisk
Subashini C V - CTD, Chennai wrote:
> hi,
> i am getting unsolicited NOTIFY messages from Asterisk after the
> subscription.
If you get them after a subscription they should be fine.
However, Asterisk sends them out as soon as you configure a mailbox in
sip.conf with or without a subscription which is in violation of
RFCs - however, supported by most of the phones.
> Is this type of NOTIFY messages is supported in any of the RFCs..?
No. I don't think so.
> Because, the SIP stack with 3265 compliance, does not support any such
> NOTIFY messages and discarding those.
Correct.
> I need the justification for this kind of NOTIFY messages sent by
Asterisk.
Asterisk behaves wrong here, however, it gives user's the needed
functionality.
Regards,
/Olle
Asterisk SIP developer
DISCLAIMER
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies
and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the
individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error,
please notify the sender immediately by return e-mail and delete it from your computer
Dear SER Users,
What is the best document to use to help me install SERWEB? Where might I
find these documents? I already have SER running with MySQL.
Leo Papadopoulos
E-mail: leo(a)telecomCTO.com
Web site: www.telecomCTO.com <http://www.telecomcto.com/>