Hello... 2010/11/18 Daniel-Constantin Mierla <mico...@gmail.com>: > never write private emails. They will be simply discarded.
Sorry Daniel i did not realize that i was sending the email to you > > ngrep gets the traffic before the firewall. Do you have a firewall? No i do not have a firewall. This is so weird! > > start kamailio with log_stderror=yes and debug=5. if you don't see any sip > message processing, then sip traffic does not reach the application layer. I do have log_stderror=yes and debug=5 and i do not see any message and no any answer to my REGISTER, am i missing something in my script? (in the initial message of this thread you can see the kamailio.cfg) > > Cheers, > Daniel > > On 11/18/10 10:39 AM, Danny Dias wrote: >> >> Thanks for the answer Daniel, >> >> 2010/11/17 Daniel-Constantin Mierla<mico...@gmail.com> >>> >>> Hello, >>> >>> On 11/17/10 6:58 PM, Danny Dias wrote: >>> >>> Hello, >>> I'm having problems with my kamailio, my phones are unable to register >>> into the Proxy. I have been checking with ngrep-sip and all i'm receiving is >>> many REGISTER from the phones but never getting some response from the Proxy >>> The Proxy has a public IP and the phones are behind NAT. The weir thing >>> is that my logs are not showing any output...and as you can see on the >>> script, i have a section to receive REGISTER requests.... >>> if (is_method("REGISTER")) { >>> if (!save("location")) { >>> sl_reply_error(); >>> } >>> exit; >>> } >>> >>> If everything is fine, then no log message should be printed if debug >>> parameter is low. >> >> But i should see in the Kamailio logs the answers, right? or i have to >> configure this on the scripts? >> >> My debug is on "3" >> >>> But if you run in debug mode with a high value and nothing is printed, >>> then the SIP traffic does not reach the>application. A reason for that might >>> be a firewall, do you run one? >> >> The SIP traffic is arriving the machine (at least), i have checked >> this with the ngrep on the server running kamailio: >> >> # >> U 2010/11/18 10:26:03.331925 212.230.253.164:43686 -> 212.230.19.191:5060 >> REGISTER sip:212.230.19.191 SIP/2.0' >> Via: SIP/2.0/UDP 10.134.16.164:43686;branch=z9hG4bK247264420;rport' >> From:<sip:1...@212.230.19.191>;tag=1251867918' >> To:<sip:1...@212.230.19.191>' >> Call-ID: 2022066534-1646...@ba.bde.bg.bge' >> CSeq: 4647 REGISTER' >> >> Contact:<sip:1...@10.134.16.164:43686>;reg-id=2;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B821FA066>"' >> Max-Forwards: 70' >> User-Agent: Grandstream GXV3140 1.0.1.1' >> Supported: path' >> Expires: 3600' >> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, >> REFER, UPDATE, MESSAGE' >> Content-Length: 0' >> ' >> >> # >> U 2010/11/18 10:26:05.339925 212.230.253.164:43686 -> 212.230.19.191:5060 >> REGISTER sip:212.230.19.191 SIP/2.0' >> Via: SIP/2.0/UDP 10.134.16.164:43686;branch=z9hG4bK247264420;rport' >> From:<sip:1...@212.230.19.191>;tag=1251867918' >> To:<sip:1...@212.230.19.191>' >> Call-ID: 2022066534-1646...@ba.bde.bg.bge' >> CSeq: 4647 REGISTER' >> >> Contact:<sip:1...@10.134.16.164:43686>;reg-id=2;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B821FA066>"' >> Max-Forwards: 70' >> User-Agent: Grandstream GXV3140 1.0.1.1' >> Supported: path' >> Expires: 3600' >> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, >> REFER, UPDATE, MESSAGE' >> Content-Length: 0' >> >> And i never gets a response from Kamailio, for example, a 200 OK, or a >> 407 unauthorized... >> >> What can i do? >> >>> Cheers, >>> Daniel >>> >>> -- >>> Daniel-Constantin Mierla >>> http://www.asipto.com >> >> -- >> Ing. Danny Dias >> www.DannTEL.net > > -- > Daniel-Constantin Mierla > Kamailio (OpenSER) Advanced Trainings > Nov 22-25, 2010, Berlin, Germany > Jan 24-26, 2011, Irvine, CA, USA > http://www.asipto.com > > -- Ing. Danny Dias www.DannTEL.net _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users