Hi Benny, You're right. I don't want to have strict-routing. The problem was the missing ";lr" parameter. Now it works fine. Thank you for your help! I have another problem: I have an application based on stateful_proxy. I need that my application is informed about network events. The importantly thing I need is when a TCP connection is closed. I couldn't found anything to do this like registering a module or a callback function. I am thinking about to copy and modify pjsip_tpmgr_dump_transports() and poll this function to get informations about the existing transports but I think that is a very bad idea... Best regards and have a nice evening, Helmut -----Urspr?ngliche Nachricht----- Von: pjsip-bounces at lists.pjsip.org [mailto:pjsip-bounces at lists.pjsip.org] Im Auftrag von Benny Prijono Gesendet: Dienstag, 16. Oktober 2007 17:14 An: pjsip embedded/DSP SIP discussion Betreff: Re: [pjsip] Problems using outbound proxy in pjsua Helmut Wolf wrote: > Hi Benny, > > I have tested pjsua sample using outbound proxy. With some other SIP Clients like X-Lite it works fine, but with PJSIP, the first > REGISTER is routed over the outbound proxy but the second one (with authentication data) is sended directly to the SIP router. In > attachment you can see the SIP flow and the configuration file. It looks like there is a bug with re-sending the request for retrying the authentication when strict route is used, thanks for reporting this. But the route URI was missing ";lr" parameter in it, was it really your intention to use strict-route (which was deprecated by RFC 3261) rather than loose route? The loose route processing should work fine. -benny _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org