On Sun, Sep 14, 2008 at 10:39 PM, Samuel Vinson <samuelv at laposte.net> wrote: > Hi, > > I have a subtle problem, with videotron sip provider. > If I use ip address of server, I can connect and authenticate. > But when I use full name, I receive message "403 Forbidden", I join > messages below. > > Videotron uses outbound proxy, but when I define this parameter, I get > the same message. > > Do you have an idea to resolve or localize this problem ? > > There are probably many reasons that caused this (e.g. it could be as silly as they're expecting the request to have come from a particular User-Agent). Best way is to see a sample request from a successful registration session, perhaps using their client, and then craft pjsua registration to match that. Cheers Benny > Thanks > > Samuel > > 22:52:12.834 sip_resolve.c Target 'sip20.videotron.com:0' > type=Unspecified resolved to '70.82.254.4:5060' type=UDP (UDP transport) > 22:52:12.834 pjsua_core.c TX 466 bytes Request msg > REGISTER/cseq=52810 (tdta00CC4298) to UDP 70.82.254.4:5060: > REGISTER sip:sip20.videotron.com SIP/2.0 > Via: SIP/2.0/UDP > 192.168.0.13:5060;rport;branch=z9hG4bKPj99de41556abb4bca8e61a89e645c7478 > Max-Forwards: 70 > From: <sip:vl450@xxxxxxxxxxxxxxxxxxx <sip%3Avl450 at sip20.videotron.com> > >;tag=202d63da12ba4549a9dd2193e4e7345d > To: <sip:vl450 at sip20.videotron.com <sip%3Avl450 at sip20.videotron.com>> > Call-ID: 961f1d2894734d9b93846377cc12dc99 > CSeq: 52810 REGISTER > User-Agent: PJSUA v1.0-rc2-trunk/win32 > Contact: <sip:vl450 at 192.168.0.13:5060> > Expires: 300 > Content-Length: 0 > --end msg-- > > 22:52:12.990 sip_endpoint.c Processing incoming message: Response msg > 100/REGISTER/cseq=52810 (rdata00CC1C1C) > 22:52:12.990 pjsua_core.c RX 352 bytes Response msg > 100/REGISTER/cseq=52810 (rdata00CC1C1C) from UDP 70.82.254.4:5060: > SIP/2.0 100 Trying > From: <sip:vl450@xxxxxxxxxxxxxxxxxxx <sip%3Avl450 at sip20.videotron.com> > >;tag=202d63da12ba4549a9dd2193e4e7345d > To: <sip:vl450 at sip20.videotron.com <sip%3Avl450 at sip20.videotron.com>> > Call-ID: 961f1d2894734d9b93846377cc12dc99 > CSeq: 52810 REGISTER > Via: SIP/2.0/UDP > 192.168.0.13:5060 > ;received=XX.XX.XX.XX;rport=61479;branch=z9hG4bKPj99de41556abb4bca8e61a89e645c7478 > Content-Length: 0 > --end msg-- > > 22:52:12.990 pjsua_core.c RX 472 bytes Response msg > 403/REGISTER/cseq=52810 (rdata00CC1C1C) from UDP 70.82.254.4:5060: > SIP/2.0 403 Forbidden > From: <sip:vl450@xxxxxxxxxxxxxxxxxxx <sip%3Avl450 at sip20.videotron.com> > >;tag=202d63da12ba4549a9dd2193e4e7345d > To: <sip:vl450 at sip20.videotron.com <sip%3Avl450 at sip20.videotron.com> > >;tag=1326263617 > Call-ID: 961f1d2894734d9b93846377cc12dc99 > CSeq: 52810 REGISTER > Via: SIP/2.0/UDP > 192.168.0.13:5060 > ;received=XX.XX.XX.XX;rport=61479;branch=z9hG4bKPj99de41556abb4bca8e61a89e645c7478 > Supported: > > com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join,com.nortelnetworks.im.encryption > Content-Length: 0 > --end msg-- > > > _______________________________________________ > 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/20080915/57696800/attachment.html