Hi , It seems that the OCS server sends a "302 Moved Temporarily" to th first SIP INVITE. Then the first INVITE session is terminated and the pjsua should be able to send another INVITE to a different port address which is in the 302. This is not happening with pjsua and it understands that the connection is terminated. To resolve this issue, I placed a Cisco SIP gateway in between the OCS and the client pjsua. The IT guys configured the cisco gateway so that the cisco will send a re INVITE to the OCS. Everything is woking as I expected and the calls go through OCS without the pjsua. Now, I like to know how to configure the pjsua fully so that only the sip calls go through from my client via the Cisco.I tried using the --proxy 192.168.10.252 and it seems that it doesn't work. my laptop is at 192.168.10.108 nad I make the call as follows; --id sip:<Tel number>@192.168.10.108;transport=tcp --add buddy sip:<number>@192.168.10.192:5060;transport=tcp where 192.168.10.192 is my OCS server. can nybody tell me how to route the above sip call through the cisco router? Thanks, Jay On Dec 4, 2007 6:38 PM, Benny Prijono <bennylp at pjsip.org> wrote: > jay kumar wrote: > > Hi Olle, > > > > Thanks for your response. > > > > It seems that it is not an authentication problem , since it makes a > > connection to the server today, wehn I tried using exclusively tcp > > packets and specifying the tcp port explicitley. > > > FYI, after the call gets established, the closure of TCP connection > will not cause the call to be disconnected, so even if you restart > OCS the call will still be connected. > > I'm not sure about the 302 status below though, maybe others can help. > > -benny > > > But after the SDP packets being send with a > > SIP Request:ACK sip 3701 at 192.168.10.192;transport=tcp > > > <mailto: 3701 at 192.168.10.192;transport=tcp> > > > > I am getting a resposnse 302 Moved Temporarily and the connection drops > > and the pjsua at this moment shows > > > > pjsua.c Call 0 is Disconnected [reason=302 {Moved Temporarily)] > > > > Do u have any idea why this is happening? > > > > Thanks, > > > > Jay > > > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071208/88899a72/attachment-0001.html