<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText23182 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Karim,<BR><BR>Thank you
for your advice. Noted your advice.<BR><BR>Yes. My objective here is once the
SER receives a REGISTER message from one of the client, it will auto generate
"INVITE" messages to the clients.<BR><BR>I am using the ser-0.9.6. I have looked
through the coding as such</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial
size=2>/ser-0.9.6/modules/nathelper/nathelper.c</FONT></DIV>
<DIV dir=ltr><FONT face=Arial
size=2>/ser-0.9.6/modules/nathelper/nathelper.cfg</FONT></DIV>
<DIV dir=ltr><FONT face=Arial
size=2>/ser-0.9.6/modules/nathelper/nathelper_rrtpp.cfg</FONT></DIV>
<DIV dir=ltr><FONT face=Arial
size=2>/ser-0.9.6/modules/registrar/save.c</FONT></DIV>
<DIV dir=ltr><FONT face=Arial
size=2>/ser-0.9.6/modules/registrar/reply.c</FONT></DIV>
<DIV dir=ltr><FONT face=Arial
size=2>/ser-0.9.6/modules/registrar/sip_msg.c</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Anyone knows where can i find the portion
where once the SER receives the REGISTER message, it responds with 200 OK to the
client? Can i find them inside nathelper or registrar or paser?<BR><BR>Apologies
if any inconvenience caused.<BR><BR>Thank you.<BR><BR>Regards,<BR>Tee
Yong</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> karim basraoui
[mailto:basraouik@gmail.com]<BR><B>Sent:</B> Sat 3/3/2007 8:36 PM<BR><B>To:</B>
Goh, Tee-Yong<BR><B>Cc:</B> serusers@lists.iptel.org<BR><B>Subject:</B> Re:
[Serusers] SIP SER<BR></FONT><BR></DIV>
<DIV>Well, first of all a SER server does not generate messages it only
interprets the messages it receives. so it can not generate INVITE messages. so
if you want to call several clients from one client, this one has to initiate
the call by sending an INVITE to SER. <BR><BR>When receiving the INVITE message,
SER will forward it to the callees. i did not try this yet, but i think that you
can do this with the method : "forward" as follows: <BR><BR>if(method == INVITE)
{ <BR>
forward("callee1_IP_address","callee1_port");<BR>
forward("callee2_IP_address","callee2_port");<BR>
forward("callee3_IP_address","callee3_port");
<BR> #and so on
...<BR>}<BR><BR>try this for example... and let me know if it works or not.
<BR><BR>ps: (personnally i think it won't work :p)<BR><BR>
<DIV><SPAN class=gmail_quote>2007/3/3, Goh, Tee-Yong < <A
href="mailto:gohty@m1.com.sg">gohty@m1.com.sg</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Hi Karim,</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Yes you are right.<BR>Please
advice.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2><BR>Thank
you.<BR><BR>Regards,<BR>Howard</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV><FONT face="Times New Roman" size=2><SPAN class=q>-----Original
Message-----<BR><B>From:</B> karim basraoui [mailto:<A
href="mailto:basraouik@gmail.com"
target=_blank>basraouik@gmail.com</A>]<BR></SPAN><SPAN class=q><B>Sent:</B>
Saturday, March 03, 2007 8:01 PM<BR><B>To:</B> Goh,
Tee-Yong<BR></SPAN></FONT>
<DIV><SPAN class=e id=q_11117b618dfafb65_3><FONT face="Times New Roman"
size=2><B>Cc:</B> <A href="mailto:serusers@lists.iptel.org"
target=_blank>serusers@lists.iptel.org</A><BR><B>Subject:</B> Re: [Serusers]
SIP SER<BR><BR></FONT></SPAN></DIV></DIV>
<DIV><SPAN class=e id=q_11117b618dfafb65_5>So if i understand, when a clint
registers, SER will automatically send invites to the other clients and make
connections with them?<BR><BR>
<DIV><SPAN class=gmail_quote>2007/3/3, Goh, Tee-Yong <<A
href="mailto:gohty@m1.com.sg" target=_blank> gohty@m1.com.sg</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Dear Karim,<BR><BR>Thank
you for your reply.</FONT></SPAN></DIV><SPAN>
<DIV><BR><FONT face=Arial><FONT color=#0000ff><FONT size=2>Yes you are
right. I have having difficulty searching for this for past 2
months.<BR><BR>Yes. Here is what i want. Once i receive the REGISTER
messages, my SER will send out "INVITE<SPAN>" message to my other clients.
This is what i am intended to do. However, i could not search for the
right coding inside the ser-0.9.6.<BR><BR>Please advice and apologies if
any inconvenience caused for
you.<BR><BR>Thanks.<BR><BR>Regards,<BR>Howard</SPAN></FONT></FONT></FONT></DIV></SPAN></DIV>
<BLOCKQUOTE>
<DIV><FONT face="Times New Roman" size=2>-----Original
Message-----<BR><B>From:</B> karim basraoui [mailto:<A
href="mailto:basraouik@gmail.com"
target=_blank>basraouik@gmail.com</A>]<BR><B>Sent:</B> Saturday, March
03, 2007 7:18 PM<BR><B>To:</B> Goh, Tee-Yong<BR><B>Subject:</B> Re:
[Serusers] SIP SER<BR><BR></FONT></DIV>Hi,<BR><BR>Do you want to make
changes on SER behaviour when it receives REGISTER messages. If it's the
case you can make a condition in the "ser.cfg" file, in the bloc "route{
... }". for example: <BR>route
{<BR> if (method
== "REGISTER")<BR>
{ #what you want to do};<BR>
}<BR><BR><BR>
<DIV><SPAN class=gmail_quote>2007/3/3, Goh, Tee-Yong <<A
href="mailto:gohty@m1.com.sg" target=_blank>gohty@m1.com.sg
</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><FONT face=Verdana size=2>Hi,<BR><BR>May i know from the SER-0.9.6,
where can i look for and make changes for the SER when receiving
"REGISTER" message and responsing " 200 OK" back to the corresponding
node or clients?<BR><BR>Would appreciate your assistance and advice as
soon as possible as i have difficultly locating the coding. Please
advice where i can find the script to edit the above mentioned
messages. </FONT></P>
<P><FONT face=Verdana size=2>Apologies for the inconvenience
caused.<BR><BR>Thank you.<BR><BR>Regards,<BR>Howard</FONT> </P>
<P></P>
<HR>
This email (including any attachment) is subject to the following
disclaimer: <A href="http://m1.com.sg/M1/misc/disclaimer"
target=_blank>http://m1.com.sg/M1/misc/disclaimer </A>
<HR>
</DIV><BR>_______________________________________________<BR>Serusers
mailing list<BR><A href="mailto:Serusers@lists.iptel.org"
target=_blank>Serusers@lists.iptel.org</A><BR><A
href="http://lists.iptel.org/mailman/listinfo/serusers"
target=_blank>http://lists.iptel.org/mailman/listinfo/serusers</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>BASRAOUI Karim<BR><A
href="http://www.basraouik.afrikart.net"
target=_blank>www.basraouik.afrikart.net</A> </BLOCKQUOTE>
<P></P>
<HR>
This email (including any attachment) is subject to the following
disclaimer: <A href="http://m1.com.sg/M1/misc/disclaimer"
target=_blank>http://m1.com.sg/M1/misc/disclaimer </A>
<HR>
</BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>BASRAOUI Karim<BR><A
href="http://www.basraouik.afrikart.net"
target=_blank>www.basraouik.afrikart.net</A> </SPAN></DIV></BLOCKQUOTE>
<P></P>
<HR>
This email (including any attachment) is subject to the following disclaimer:
<A href="http://m1.com.sg/M1/misc/disclaimer"
target=_blank>http://m1.com.sg/M1/misc/disclaimer</A>
<HR>
</DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>BASRAOUI Karim<BR><A
href="http://www.basraouik.afrikart.net">www.basraouik.afrikart.net</A>
</DIV><p></p><hr>This email (including any attachment) is subject to the following disclaimer: http://m1.com.sg/M1/misc/disclaimer<hr></BODY></HTML>