< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
After a quick look, I see nothing obviously wrong with the request. Check the system logs on the system you are registering to and see if they provide any hints about why they are rejecting the request.Perhaps try a higher expiration time - 70 seconds is very low.ScottOn Tue, Feb 4, 2014 at 12:47 PM, Siva Kumar <siva.kumar663@xxxxxxxxx> wrote:
_______________________________________________hi,I modified basicRegister.cxx in the following way:NameAddr default_from("sip:9910000900@vz.mavenir.lab");clientDum.getMasterProfile()->setDefaultFrom(default_from);profile->setDigestCredential(default_from.uri().host(),default_from.uri().user(),"pasword");
SharedPtr<SipMessage> regMessage = clientDum.makeRegistration(default_from);NameAddr contact;regMessage->header(h_To).uri() = Uri("sip:9910000900@vz.mavenir.lab");clientDum.send( regMessage );I executed the test program and captured the pcap found 400 bad request:REGISTER sip:vz.mavenir.lab SIP/2.0Via: SIP/2.0/UDP 10.1.62.104:44746;branch=z9hG4bK-524287-1---16243f5a3d6aec7d;rportMax-Forwards: 70Contact: <sip:9910000900@10.1.62.104:44746;rinstance=1d69d0cbd64f4a87>To: <sip:9910000900@vz.mavenir.lab>From: <sip:9910000900@vz.mavenir.lab>;tag=af23ca04Call-ID: b4XCu4BGCM1ek7EZWW4wcA..CSeq: 1 REGISTERExpires: 70Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATEContent-Length: 0sigcomp id=DEBUG | 20140204-173025.052 | test | RESIP:TRANSPORT | 140575132805088 | Transport.cxx:382 | incoming from: [ V4 10.1.62.109:5060 UDP target domain=unspecified mFlowKey=10 ]STACK | 20140204-173025.052 | test | RESIP:TRANSPORT | 140575132805088 | Transport.cxx:383 |SIP/2.0 400 Bad RequestVia: SIP/2.0/UDP 10.1.62.104:44746;received=10.1.62.104;branch=z9hG4bK-524287-1---16243f5a3d6aec7d;rport=44746To: <sip:9910000900@vz.mavenir.lab>;tag=0050568E6FF9-e85-e1ffe700-236-52f17808-77ee6From: <sip:9910000900@vz.mavenir.lab>;tag=af23ca04Call-ID: b4XCu4BGCM1ek7EZWW4wcA..CSeq: 1 REGISTERContent-Length: 0Please help in finding what is the wrong with my registration?Thanks,Siva Kumar
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/