<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
                                                                <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16">
<META HTTP-EQUIV="EXPIRES" CONTENT="0">
<META HTTP-EQUIV="EXPIRESABSOLUTE" CONTENT="Tue, 01 Jun 1999 12:00:00 GMT">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PRIVATE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<TITLE></TITLE>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
                                                        <BODY >
                                                                <DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Hi,<BR><BR>Thanks.<BR>I see now in the log:<BR><BR>Mar 17
15:18:30 asterisk1 /root/ser/sbin/ser[25947]: Unknown domain - message should be
forwarded?<BR>Mar 17 15:18:30 asterisk1 /root/ser/sbin/ser[25946]: to:
sip:3229%40test-domain.com@10.100.100.15 from:
sip:3229%40test-domain.com@10.100.100.15<BR><BR>I guess I shouldn't add
@test-domain.com to the user on client. It adds the server IP as domain already
?<BR><BR>So, maybe I should add "test-domain.com" to my hosts file (on client)
?<BR><BR><BR>-----Original Message-----<BR>From: Vaclav Kubart [<A
href="mailto:vaclav.kubart@iptel.org">mailto:vaclav.kubart@iptel.org</A>]<BR>Sent:
Friday, March 17, 2006 3:14 PM<BR>To: İlker Aktuna (Koç.net)<BR>Cc:
serusers@lists.iptel.org<BR>Subject: Re: [Serusers] Problem starting SER with Presence
support<BR><BR>You can use xlog - something like:<BR>xlog("L_ERR", "to: %tu
from: %fu\n");<BR><BR>And you can catch messages using ngrep or
ethereal...<BR><BR>
Vaclav<BR> <BR>On Fri, Mar 17, 2006 at
12:02:19PM +0200, ?lker Aktuna (Koç.net) wrote:<BR>> As you'll see below, I
tried 3 different ways to connect and they all get the same result.<BR>> Btw,
now I changed the cfg file mysql urls to 127.0.0.1 again and ser starts.<BR>>
But I see the same "unknown domain" messages in the log.<BR>><BR>>
How can I write the incoming user and domain names to the log files
?<BR>><BR>><BR>> [root@asterisk1 serctl]# mysql -h localhost -user
-pheslo ser Reading<BR>> table information for completion of table and column
names You can<BR>> turn off this feature to get a quicker startup with
-A<BR>><BR>> Welcome to the MySQL monitor. Commands end with ; or
\g.<BR>> Your MySQL connection id is 185 to server version:
3.23.58<BR>><BR>> Type 'help;' or '\h' for help. Type '\c' to clear the
buffer.<BR>><BR>> mysql> use ser;<BR>> Database changed<BR>>
mysql> select * from domain;<BR>>
+------+-----------------+----------------+-------+<BR>> | did |
domain |
last_modified | flags |<BR>>
+------+-----------------+----------------+-------+<BR>> | test |
test-domain.com | 20060316152632 | 37 |<BR>>
+------+-----------------+----------------+-------+<BR>> 1 row in set (0.00
sec)<BR>><BR>> mysql> exit<BR>> Bye<BR>> [root@asterisk1 serctl]#
mysql -h 127.0.0.1 -user -pheslo ser Reading<BR>> table information for
completion of table and column names You can<BR>> turn off this feature to
get a quicker startup with -A<BR>><BR>> Welcome to the MySQL
monitor. Commands end with ; or \g.<BR>> Your MySQL connection id is
186 to server version: 3.23.58<BR>><BR>> Type 'help;' or '\h' for help.
Type '\c' to clear the buffer.<BR>><BR>> mysql> use ser;<BR>>
Database changed<BR>> mysql> select * from domain;<BR>>
+------+-----------------+----------------+-------+<BR>> | did |
domain |
last_modified | flags |<BR>>
+------+-----------------+----------------+-------+<BR>> | test |
test-domain.com | 20060316152632 | 37 |<BR>>
+------+-----------------+----------------+-------+<BR>> 1 row in set (0.00
sec)<BR>><BR>> mysql> exit<BR>> Bye<BR>> [root@asterisk1 serctl]#
mysql -user -pheslo ser Reading table<BR>> information for completion
of table and column names You can turn off<BR>> this feature to get a quicker
startup with -A<BR>><BR>> Welcome to the MySQL monitor. Commands end
with ; or \g.<BR>> Your MySQL connection id is 187 to server version:
3.23.58<BR>><BR>> Type 'help;' or '\h' for help. Type '\c' to clear the
buffer.<BR>><BR>> mysql> use ser;<BR>> Database changed<BR>>
mysql> select * from domain;<BR>>
+------+-----------------+----------------+-------+<BR>> | did |
domain |
last_modified | flags |<BR>>
+------+-----------------+----------------+-------+<BR>> | test |
test-domain.com | 20060316152632 | 37 |<BR>>
+------+-----------------+----------------+-------+<BR>> 1 row in set (0.00
sec)<BR>><BR>> mysql><BR>><BR>> -----Original
Message-----<BR>> From: Vaclav Kubart [<A
href="mailto:vaclav.kubart@iptel.org">mailto:vaclav.kubart@iptel.org</A>]<BR>>
Sent: Friday, March 17, 2006 11:51 AM<BR>> To: ?lker Aktuna (Koç.net)<BR>>
Cc: serusers@lists.iptel.org<BR>> Subject: Re: [Serusers] Problem starting SER with
Presence support<BR>><BR>> It looks like that SER is using another
database than serctl and mysql.<BR>> Try to run "mysql -h localhost -user
-pheslo ser" and try to list the domain table again. Is it the
same?<BR>><BR>> I have no other
ideas...<BR>><BR>>
Vaclav<BR>><BR>> On Fri, Mar 17, 2006 at 11:39:34AM +0200, ?lker Aktuna
(Koç.net) wrote:<BR>> > Hi,<BR>> ><BR>> > as you know, I had
to change mysql urls in the cfg to "mysql://ser:heslo@localhost:3306/ser" from
"mysql://ser:heslo@127.0.0.1:3306/ser"<BR>> > (because ser daemon were
dying with error "Mar 16 13:26:33 asterisk1<BR>> > ./ser[19374]:
new_connection: Access denied for user:<BR>> > 'ser@asterisk1.local'
(Using password: YES)" )<BR>> ><BR>> > could it be that, now ser
can't query the db ?<BR>> ><BR></FONT></P>
<!--455254417B59-->
<br><br><a href="http://271570.sigclick.mailinfo.com/sigclick/0A06000C/05014509/0A044D0B/18119219.jpg"><img src="http://271570.signature1.mailinfo.com/confirm2.6/0A06000C/05014509/0A044D0B/18119219.jpg" border="0" nosend="1"></a><!--455254417B59//--></DIV>
                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                        <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez. </DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana" ALIGN="justify">
</DIV>
</DIV>
</DIV></BODY></HTML>