<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: &#304;lker Aktuna (Ko&#231;.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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Vaclav<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>On Fri, Mar 17, 2006 at 
12:02:19PM +0200, ?lker Aktuna (Ko&#231;.net) wrote:<BR>&gt; As you'll see below, I 
tried 3 different ways to connect and they all get the same result.<BR>&gt; Btw, 
now I changed the cfg file mysql urls to 127.0.0.1 again and ser starts.<BR>&gt; 
But I see the same "unknown domain"&nbsp; messages in the log.<BR>&gt;<BR>&gt; 
How can I write the incoming user and domain names to the log files 
?<BR>&gt;<BR>&gt;<BR>&gt; [root@asterisk1 serctl]# mysql -h localhost -user 
-pheslo ser Reading<BR>&gt; table information for completion of table and column 
names You can<BR>&gt; turn off this feature to get a quicker startup with 
-A<BR>&gt;<BR>&gt; Welcome to the MySQL monitor.&nbsp; Commands end with ; or 
\g.<BR>&gt; Your MySQL connection id is 185 to server version: 
3.23.58<BR>&gt;<BR>&gt; Type 'help;' or '\h' for help. Type '\c' to clear the 
buffer.<BR>&gt;<BR>&gt; mysql&gt; use ser;<BR>&gt; Database changed<BR>&gt; 
mysql&gt; select * from domain;<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; | did&nbsp; | 
domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
last_modified&nbsp; | flags |<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; | test | 
test-domain.com | 20060316152632 |&nbsp;&nbsp;&nbsp; 37 |<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; 1 row in set (0.00 
sec)<BR>&gt;<BR>&gt; mysql&gt; exit<BR>&gt; Bye<BR>&gt; [root@asterisk1 serctl]# 
mysql -h 127.0.0.1 -user -pheslo ser Reading<BR>&gt; table information for 
completion of table and column names You can<BR>&gt; turn off this feature to 
get a quicker startup with -A<BR>&gt;<BR>&gt; Welcome to the MySQL 
monitor.&nbsp; Commands end with ; or \g.<BR>&gt; Your MySQL connection id is 
186 to server version: 3.23.58<BR>&gt;<BR>&gt; Type 'help;' or '\h' for help. 
Type '\c' to clear the buffer.<BR>&gt;<BR>&gt; mysql&gt; use ser;<BR>&gt; 
Database changed<BR>&gt; mysql&gt; select * from domain;<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; | did&nbsp; | 
domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
last_modified&nbsp; | flags |<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; | test | 
test-domain.com | 20060316152632 |&nbsp;&nbsp;&nbsp; 37 |<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; 1 row in set (0.00 
sec)<BR>&gt;<BR>&gt; mysql&gt; exit<BR>&gt; Bye<BR>&gt; [root@asterisk1 serctl]# 
mysql&nbsp; -user -pheslo ser Reading table<BR>&gt; information for completion 
of table and column names You can turn off<BR>&gt; this feature to get a quicker 
startup with -A<BR>&gt;<BR>&gt; Welcome to the MySQL monitor.&nbsp; Commands end 
with ; or \g.<BR>&gt; Your MySQL connection id is 187 to server version: 
3.23.58<BR>&gt;<BR>&gt; Type 'help;' or '\h' for help. Type '\c' to clear the 
buffer.<BR>&gt;<BR>&gt; mysql&gt; use ser;<BR>&gt; Database changed<BR>&gt; 
mysql&gt; select * from domain;<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; | did&nbsp; | 
domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
last_modified&nbsp; | flags |<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; | test | 
test-domain.com | 20060316152632 |&nbsp;&nbsp;&nbsp; 37 |<BR>&gt; 
+------+-----------------+----------------+-------+<BR>&gt; 1 row in set (0.00 
sec)<BR>&gt;<BR>&gt; mysql&gt;<BR>&gt;<BR>&gt; -----Original 
Message-----<BR>&gt; From: Vaclav Kubart [<A 
href="mailto:vaclav.kubart@iptel.org">mailto:vaclav.kubart@iptel.org</A>]<BR>&gt; 
Sent: Friday, March 17, 2006 11:51 AM<BR>&gt; To: ?lker Aktuna (Ko&#231;.net)<BR>&gt; 
Cc: serusers@lists.iptel.org<BR>&gt; Subject: Re: [Serusers] Problem starting SER with 
Presence support<BR>&gt;<BR>&gt; It looks like that SER is using another 
database than serctl and mysql.<BR>&gt; Try to run "mysql -h localhost -user 
-pheslo ser" and try to list the domain table again. Is it the 
same?<BR>&gt;<BR>&gt; I have no other 
ideas...<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Vaclav<BR>&gt;<BR>&gt; On Fri, Mar 17, 2006 at 11:39:34AM +0200, ?lker Aktuna 
(Ko&#231;.net) wrote:<BR>&gt; &gt; Hi,<BR>&gt; &gt;<BR>&gt; &gt; 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>&gt; &gt; (because ser daemon were 
dying with error "Mar 16 13:26:33 asterisk1<BR>&gt; &gt; ./ser[19374]: 
new_connection: Access denied for user:<BR>&gt; &gt; 'ser@asterisk1.local' 
(Using password: YES)" )<BR>&gt; &gt;<BR>&gt; &gt; could it be that, now ser 
can't query the db ?<BR>&gt; &gt;<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,&nbsp; icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz&nbsp; ve&nbsp; tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.&nbsp; 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&nbsp; 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,&nbsp; sender&nbsp; 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>