You just use rewritehostport for the messages you want to forward, then let the message go to t_relay().
g-)

senthil.nachimuthu@bt.com wrote:
Presence
Hi Javier,
             Thanks for your information. I need to make SEP to send/proxy the message to my presence server. SEP and presence server are physically different entities. Would be of greater help if you could let me know how can i specify the IP address of my presence server in SEP so that the presence specific messages reaching SEP gets forwarded to my presence server.
 

Thanks and Regards,
Senthil Kumar,



From: Javier Ramirez [mailto:jvr_78@yahoo.com.ar]
Sent: 25 September 2006 15:03
To: Nachimuthu,SK,Senthil,XSD4C C
Subject: Re: [Serusers] Presence

if (method=="SUBSCRIBE") {

    if (!t_newtran()) {

        sl_reply_error();

    };

    handle_subscription("registrar");

};

if (method=="PUBLISH") {

    if (!t_newtran()) {

        log(1, "newtran error\n");

        sl_reply_error();

    };

    handle_publish("registrar");

    break;

};

 

 

----- Original Message -----
From: senthil.nachimuthu@bt.com
To: serusers@lists.iptel.org
Sent: Monday, September 25, 2006 8:28 AM
Subject: [Serusers] Presence

Hi,
     I want to configure SER 0.9.6  in such a way that It can proxy presence messages(SUBSCRIBE,PUBLISH) to presence server. Can you let me know how can I do that?


Thanks and Regards,
Senthil Kumar,
Presence Capability,
BT-Service Execution Platform,
B62-MH,Orion Building,Adastral Park,Ipswich
Work:+44 (0)1473 605 668
Mobile:+44 (0)7772287447





__________ NOD32 1.1768 (20060922) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers


__________ NOD32 1.1768 (20060922) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


_______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers