Re: [OpenSIPS-Users] Problem Contact URI

2010-12-31 Thread Bogdan-Andrei Iancu
Could you (offlist if you want) send your entire script and a SIP capture (ngrep) from a REGISTER ? Regards, Bogdan Lionel Sicilia wrote: Check that: 1) you are not receiving (in REGISTER) an already bogus contact (with 2 ports) I see the application of PJSIP just send a single port on

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-31 Thread Bogdan-Andrei Iancu
Hi Lionel, I do no think your fix_nated_register() works ok as I see that in DB the "received" field is still empty :( Have you added : modparam("registrar", "received_avp", "$avp(i:42)") as I indicated in the previous email ? Regards, Bogdan Lionel Sicilia wrote: Use only fix_nated_r

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-29 Thread Lionel Sicilia
> Check that: > > 1) you are not receiving (in REGISTER) an already bogus contact (with 2 > ports) I see the application of PJSIP just send a single port on the contact. not as set opensips to see the messages, debug = 9 is enough? > 2) you are not doing by mistake another fix_nated_contact in oth

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-29 Thread Lionel Sicilia
> Use only fix_nated_register() for REGISTER requests. After the change, > be sure you discard all bogus records from your user location (stop > opensips, purge "location" table, start opensips). > > Regards, > Bogdan > > >> >> Regards, >> Test the setup, but I had no success, although fix_nated_

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-28 Thread Bogdan-Andrei Iancu
Lionel Sicilia wrote: Use only fix_nated_register() for REGISTER requests. After the change, be sure you discard all bogus records from your user location (stop opensips, purge "location" table, start opensips). Regards, Bogdan Regards, Test the setup, but I had no success, al

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-28 Thread Lionel Sicilia
> Use only fix_nated_register() for REGISTER requests. After the change, > be sure you discard all bogus records from your user location (stop > opensips, purge "location" table, start opensips). > > Regards, > Bogdan > > >> >> Regards, >> Test the setup, but I had no success, although fix_nated_

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-28 Thread Bogdan-Andrei Iancu
Lionel Sicilia wrote: The 'Warning' header does not report an error it just provides debugging information from inside opensips - you can turn it on/off with the sip_warning core parameter: http://www.opensips.org/Resources/DocsCoreFcn16#toc68 Now, about the error in the pjsip stack - it rep

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-27 Thread Lionel Sicilia
> The 'Warning' header does not report an error it just provides debugging > information from inside opensips - you can turn it on/off with the > sip_warning core parameter: >    http://www.opensips.org/Resources/DocsCoreFcn16#toc68 > > > Now, about the error in the pjsip stack - it reports line 7

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-27 Thread Bogdan-Andrei Iancu
Lionel Sicilia wrote: Hi Lionel, you show here a completely different issue - this new one has nothing to do with the contact URI, but with the CSEQ number - opensips refuses a new registration for that AOR as the (since the last registration done) the callid was reused without increasing the CS

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-23 Thread Lionel Sicilia
> Hi Lionel, > > you show here a completely different issue - this new one has nothing to > do with the contact URI, but with the CSEQ number - opensips refuses a > new registration for that AOR as the (since the last registration done) > the callid was reused without increasing the CSEQ number...

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-23 Thread Bogdan-Andrei Iancu
Hi Lionel, you show here a completely different issue - this new one has nothing to do with the contact URI, but with the CSEQ number - opensips refuses a new registration for that AOR as the (since the last registration done) the callid was reused without increasing the CSEQ number... Check

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-23 Thread Lionel Sicilia
> Hi Lionel, > > could you post the in and out messages showing the Contact change done > by opensips ? also, what functions are you using in opensips for Contact > manipulation ? > > BTW, what opensips version/revision are you using ? > > Regards, > Bogdan > Thanks for your reply. Opensips'm usi

Re: [OpenSIPS-Users] Problem Contact URI

2010-12-23 Thread Bogdan-Andrei Iancu
Hi Lionel, could you post the in and out messages showing the Contact change done by opensips ? also, what functions are you using in opensips for Contact manipulation ? BTW, what opensips version/revision are you using ? Regards, Bogdan Lionel Sicilia wrote: Hi, I'm trying opensips and pj

[OpenSIPS-Users] Problem Contact URI

2010-12-22 Thread Lionel Sicilia
Hi, I'm trying opensips and pjsua (pjlib) and encounter a problem in the registry when the client is behind a NAT. The client parser throws an exception because of the contact header has sip: host: port1: port2: PortNo Example: Contact: It seems a problem when opensips rewrites the "contact uri"