Roy Sigurd Karlsbakk
2003-May-16 03:07 UTC
[Asterisk-Users] kphone fails to register with asterisk (sip)
hi all when starting kphone, it tries to register with asterisk but fails after a while. The SIP entry in * for this user is below. This is identical to the other SIP entries. The other SIP clients are MSN messenger plus one snom. these work fine. See SIP debug output attached as 'screen-exchange' thanks roy [roy] type=friend ;insecure=yes username=roy ;secret=password host=dynamic callerid=22545070 maxexpire=10 accountcode=roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows. -------------- next part -------------- SIP Debugging Enabled Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as6a2aefdb Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as6a2aefdb Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:53:42 GMT Content-Length: 0 to 192.168.144.247:5060 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as64bd3ecb Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as64bd3ecb Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:53:46 GMT Content-Length: 0 to 192.168.144.247:5060 Sip read: REGISTER sip:pbx.pronto.tv SIP/2.0 Via: SIP/2.0/UDP 192.168.32.1:5060;branch=z9hG4bK-ludr3d84pxmp Max-Forwards: 70 From: "Ola Sæverås" <sip:ola@pbx.pronto.tv> To: "Ola Sæverås" <sip:ola@pbx.pronto.tv> Call-ID: 0000000d26d7-zbd2qq9z1svm@192.168.32.1 User-Agent: snom100-1.15e CSeq: 28832 REGISTER Contact: <sip:ola@192.168.32.1:5060;line=1>;q=1.0;description="Available" Expires: 60 Content-Length: 0 11 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.32.1 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.32.1:5060;branch=z9hG4bK-ludr3d84pxmp From: "Ola Sæverås" <sip:ola@pbx.pronto.tv> To: "Ola Sæverås" <sip:ola@pbx.pronto.tv>;tag=as72d16316 Call-ID: 0000000d26d7-zbd2qq9z1svm@192.168.32.1 CSeq: 28832 REGISTER User-Agent: Asterisk PBX Contact: <sip:ola@192.168.0.10> Content-Length: 0 to 192.168.32.1:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.32.1:5060;branch=z9hG4bK-ludr3d84pxmp From: "Ola Sæverås" <sip:ola@pbx.pronto.tv> To: "Ola Sæverås" <sip:ola@pbx.pronto.tv>;tag=as72d16316 Call-ID: 0000000d26d7-zbd2qq9z1svm@192.168.32.1 CSeq: 28832 REGISTER User-Agent: Asterisk PBX Expires: 60 Contact: <sip:ola@192.168.0.10>;expires=60 Date: Fri, 16 May 2003 09:53:47 GMT Content-Length: 0 to 192.168.32.1:5060 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as71711e27 Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as71711e27 Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:53:50 GMT Content-Length: 0 to 192.168.144.247:5060 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as642b9bae Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as642b9bae Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:53:54 GMT Content-Length: 0 to 192.168.144.247:5060 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as1636465c Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as1636465c Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:53:58 GMT Content-Length: 0 to 192.168.144.247:5060 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as381b86cc Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as381b86cc Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:54:02 GMT Content-Length: 0 to 192.168.144.247:5060 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.16.38:11430 From: <sip:tore@pbx>;tag=a40edf0e-4aa8-4d30-b24e-9db25efe660c To: <sip:tore@pbx> Call-ID: ff8c9ba3-35d6-437a-89bb-f9b711d9a530@192.168.16.38 CSeq: 11 REGISTER Contact: <sip:192.168.16.38:11430>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" User-Agent: Windows RTC/1.0 Expires: 900 Event: registration Allow-Events: presence Content-Length: 0 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.16.38 : 11430 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.16.38:11430 From: <sip:tore@pbx>;tag=a40edf0e-4aa8-4d30-b24e-9db25efe660c To: <sip:tore@pbx>;tag=as7990cc44 Call-ID: ff8c9ba3-35d6-437a-89bb-f9b711d9a530@192.168.16.38 CSeq: 11 REGISTER User-Agent: Asterisk PBX Contact: <sip:tore@192.168.0.10> Content-Length: 0 to 192.168.16.38:11430 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.16.38:11430 From: <sip:tore@pbx>;tag=a40edf0e-4aa8-4d30-b24e-9db25efe660c To: <sip:tore@pbx>;tag=as7990cc44 Call-ID: ff8c9ba3-35d6-437a-89bb-f9b711d9a530@192.168.16.38 CSeq: 11 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:tore@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:54:05 GMT Content-Length: 0 to 192.168.16.38:11430 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as116bda33 Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as116bda33 Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:54:06 GMT Content-Length: 0 to 192.168.144.247:5060 Sip read: REGISTER sip:pbx SIP/2.0 Via: SIP/2.0/UDP 192.168.144.247 CSeq: 299 REGISTER To: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Expires: 900 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> Call-ID: 1793030308@192.168.144.247 Content-Length: 0 User-Agent: KPhone/3.1 Event: registration Allow-Events: presence Contact: "Roy Sigurd Karlsbakk" <sip:roy@192.168.144.247;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK" 12 headers, 0 lines Interface is eth0 IP Address is 192.168.0.10 Using latest request as basis request Sending to 192.168.144.247 : 5060 (non-NAT) Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as4d4cda38 Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Contact: <sip:roy@192.168.0.10> Content-Length: 0 to 192.168.144.247:5060 Transmitting (no NAT): SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.144.247 From: "Roy Sigurd Karlsbakk" <sip:roy@pbx> To: "Roy Sigurd Karlsbakk" <sip:roy@pbx>;tag=as4d4cda38 Call-ID: 1793030308@192.168.144.247 CSeq: 299 REGISTER User-Agent: Asterisk PBX Expires: 900 Contact: <sip:roy@192.168.0.10>;expires=900 Date: Fri, 16 May 2003 09:54:10 GMT Content-Length: 0 to 192.168.144.247:5060 sip no debug SIP Debugging Disabled *
Roy Sigurd Karlsbakk
2003-May-16 04:00 UTC
[Asterisk-Users] kphone fails to register with asterisk (sip) (updated)
update: kphone seems to register. the client shows up in asterisk 'sip show peers' but somehow kphone rejects the fact that it receives SIP/2.0 200 OK On Friday 16 May 2003 12:07, Roy Sigurd Karlsbakk wrote:> hi all > > when starting kphone, it tries to register with asterisk but fails after a > while. The SIP entry in * for this user is below. This is identical to the > other SIP entries. The other SIP clients are MSN messenger plus one snom. > these work fine. See SIP debug output attached as 'screen-exchange' > > thanks > > roy > > [roy] > type=friend > ;insecure=yes > username=roy > ;secret=password > host=dynamic > callerid=22545070 > maxexpire=10 > accountcode=roy-- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows.