Hi Bogdan, I tried to capture packets using ngrep. when I try to be authentificated with my soft-phone like x-lite, I got no packet but when I tray whith my ip phone (linksys), I have this capture (with username = user 1):
U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-9528bec1. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 1 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-9528bec1. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 1 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-9528bec1. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 1 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-9528bec1. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 1 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-9528bec1. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 1 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-9528bec1. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 1 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-9528bec1. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 1 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-dfa12e29. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 2 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-dfa12e29. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 2 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-dfa12e29. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 2 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-dfa12e29. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 2 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-dfa12e29. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 2 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-dfa12e29. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 2 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. . U 192.168.0.47:5060 -> 192.168.0.190:5060 REGISTER sip:192.168.0.190 SIP/2.0. Via: SIP/2.0/UDP 192.168.0.47:5060;branch=z9hG4bK-dfa12e29. From: "user 1" <sip:user [email protected]>;tag=a71b38209dd65a5do0. To: "user 1" <sip:user [email protected]>. Call-ID: [email protected]. CSeq: 2 REGISTER. Max-Forwards: 70. Contact: "user 1" <sip:user [email protected]:5060>;expires=3600. User-Agent: Sipura/SPA841-3.1.4(a). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. do I have some mistakes in my config or that's the same for everybody ??? Best regards Sam. -- View this message in context: http://n2.nabble.com/if-subscriber-username-contain-2-words-the-authentification-doesn-t-work-tp4926026p4930698.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
