Lafras Henning wrote: > Hi Benny, > To get pjsua to work with this registrar I implemented the following: > > Add command line options to: > --auto-update-nat=N where N=0 for disabled > Disabling the nat update allows the registration to work on this > registrar. > > --use-compact-form - Ticket 342 > The INVITE messages were being fragmented > > --dis-codec name - similar to --add-codec > Disables codecs > GSM codec was being used and giving an error. Thanks! I've applied it in http://www.pjsip.org/trac/ticket/430 I modified how --dis-codec works a bit to make it slightly clearer, otherwise everything should be equal to yours (except you can't --add-codec after --dis-codec for the same codec, since --dis-codec will take precedence). cheers, -benny > Now it works. > > Attached patch applied against rev 1621 > > Regards > Lafras > > > Benny Prijono wrote: >> Lafras Henning wrote: >> >>> Hi Benny, >>> >>> The first server response is with my local lan IP 10.0.0.10 (in the >>> via), but how does it know this as the register request contain only >>> my public IP not my local IP. >>> >>> Checking the packet with wire shark shows the local IP only in the IP >>> header (which should be translated by the router)? >>> >>> I even changed the local port to 5061 (to see if the server is >>> caching some info), and the via changed to >>> Via: SIP/2.0/UDP 10.0.0.10:5061;.. >>> >>> I am sure if the first server reponce was with my correct IP the rest >>> of the registartion would be OK. >>> >>> >>> Any Ideas? >>> >> >> Maybe some issue with routing? I tried with registering to the server >> yesterday, and it didn't change the Via address on my case. >> >> cheers, >> -benny >> >> >>> Regards >>> Lafras >>> >> >> >> >> _______________________________________________ >> 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 >> >> >> >> > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Benny Prijono http://www.pjsip.org