SIP registration problems - please help!
Stewart:
Try this script:
Code:
#!/usr/bin/perl -w
use IO::Socket;
$obiip = '192.168.0.3'; # OBi IP
$obiport = 5060; # X_UserAgentPort on OBi
$server = '210.227.109.205'; # ASAHI proxy
$sport = 5060; # server port
$lport = 5060; # port to listen on
$dgs = new IO::Socket::INET(LocalPort => $lport, Proto => 'udp') or die "Socket: $!\n";
while (1) {
$rcv = $dgs->recv($ibuf, 2000, 0);
next unless $rcv && length($rcv) >= 8; # ignore errors
$raddr = inet_ntoa((sockaddr_in($rcv))[1]); # get source addr
print "pkt from $raddr\n";
if ($raddr eq $obiip) { # packet from OBi
# $ibuf =~ s/;\+sip\.instance=[\"\-<>:\w]+//; # remove sip.instance parameter
$dpaddr = sockaddr_in($sport, inet_aton($server));
$dgs->send($ibuf, 0, $dpaddr); # send to server
}
elsif ($raddr eq $server) { # packet from server
$ibuf =~ s/received=[\d\.]+;//; # remove received= parameter
$dpaddr = sockaddr_in($obiport, inet_aton($obiip));
$dgs->send($ibuf, 0, $dpaddr); # send to OBi
}
}
If needed, edit the value of $obiip to the private IP address of the OBi. Start the script (it binds to port 5060 so make sure that X-Lite or other VoIP app is shut down). If you needed to forward port 5060 to the OBi, forward it to the Mac instead. On the OBi, set OutboundProxy to 192.168.0.4 (the private IP address of the Mac).
Wireshark should show each SIP request packet three times: OBi to script, script to server, and SIP Debug output. Likewise for the response: server to script, script to OBi and SIP Debug output.
Initially, the script just strips the received= parameter from the Via response, which I hope will cause the OBi to keep the private address in the Contact header. If that doesn't help, uncomment the statement to remove +sip.instance. (When you edit the script, stop and restart its execution, then restart the OBi.)
I'm hoping that this will allow the OBi to register -- it will probably need more tweaks to actually make or receive calls.
If no luck, please shut down the script and retest X-Lite with Callcentric. I'm curious whether your new router is preserving the source port number -- if it is, you should see rport=5060 in the incoming Via headers. Some routers that don't normally preserve the source port number will do so when the port is forwarded.
Stewart:
Did you ever get this working? If so, please report what problem you found and how you fixed it. If not, are you using asahinet by some other means? Using a different VoIP service?
ichigo:
Sorry for the delay in posting the update.
I tried out all your suggestions, but I simply couldn't get the OBi to register with ASAHI. I have attached the logs for you to have a look (there are 3 sections, one for each setup/configuration). I think we should let it be - unless you can think of a way to get the OBI to register directly without going via my Mac: I do not want to keep it switched on all the time, just so that the OBi is able to register!
I had sent a support request to OBi, but they weren't very helpful - almost seemed they didn't understand the problem. So I gave up :(
I think I will just use X-lite on the Mac for making/receiving calls via Asahinet and keep google voice on the OBi. Till OBi comes up with an update that might get this to work :(
Code:
###########ASAHI via script
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15017 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-24606642
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15017 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-24606642
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15017 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-24606642
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**server to script
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15017 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;received=118.xx.xx.xx;branch=z9hG4bK-24606642
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:38 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**script to OBI
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15017 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-24606642
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:38 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15017 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-24606642
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:38 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15018 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-51b1fa50
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15018 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-51b1fa50
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15018 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-51b1fa50
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**server to script
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15018 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;received=118.xx.xx.xx;branch=z9hG4bK-51b1fa50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:40 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**script to OBI
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15018 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-51b1fa50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:40 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15018 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-51b1fa50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:40 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15019 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-275ef617
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15019 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-275ef617
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 20a63dda@192.168.0.3
Content-Length: 0
CSeq: 15019 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-275ef617
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**server to script
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15019 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;received=118.xx.xx.xx;branch=z9hG4bK-275ef617
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:40 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**script to OBI
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15019 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-275ef617
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:40 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
SIP/2.0 401 Unauthorized
Call-ID: 20a63dda@192.168.0.3
l: 0
CSeq: 15019 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-275ef617
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:46:40 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 4c582191@192.168.0.3
Content-Length: 0
CSeq: 38104 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-209e1db6
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 4c582191@192.168.0.3
Content-Length: 0
CSeq: 38104 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-209e1db6
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 4c582191@192.168.0.3
Content-Length: 0
CSeq: 38104 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP15685caf615c986df
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-209e1db6
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
ichigo:
The rest of the logs - it didn't allow me to post everything in one post.
Code:
#######ASAHI with the script uncommented (to remove +sip.instance)
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20454 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-504eeb50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20454 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-504eeb50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20454 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-504eeb50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**server to script
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20454 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;received=118.xx.xx.xx;branch=z9hG4bK-504eeb50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:35 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**script to OBI
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20454 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-504eeb50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:35 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20454 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-504eeb50
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:35 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20455 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-194fa1b5
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20455 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-194fa1b5
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20455 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-194fa1b5
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**server to script
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20455 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;received=118.xx.xx.xx;branch=z9hG4bK-194fa1b5
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:37 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**script to OBI
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20455 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-194fa1b5
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:37 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20455 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-194fa1b5
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:37 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20456 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-753d8a6b
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20456 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-753d8a6b
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 3cde8ee1@192.168.0.3
Content-Length: 0
CSeq: 20456 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-753d8a6b
Authorization: DIGEST algorithm=MD5,nonce="1333635109",opaque="",realm="ocn.ne.jp",response="54e1ab3ca2aefb864606e2b3be7b9680",uri="sip:asahi-net.or.jp:5060",username="ABCDEFGH"
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**server to script
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20456 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;received=118.xx.xx.xx;branch=z9hG4bK-753d8a6b
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:37 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**script to OBI
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20456 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-753d8a6b
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:37 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
SIP/2.0 401 Unauthorized
Call-ID: 3cde8ee1@192.168.0.3
l: 0
CSeq: 20456 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
To: <sip:050xxxxxxxx@asahi-net.or.jp>
v: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-753d8a6b
User-Agent: OBIHAI/OBi100-1.3.0.2690
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
Date: Thu, 05 Apr 2012 14:55:37 GMT
WWW-Authenticate: Digest realm="ocn.ne.jp", domain="sip:210.227.109.205", nonce="1333635109", opaque="", stale=FALSE, algorithm=MD5
**syslog
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 043ab5f8@192.168.0.3
Content-Length: 0
CSeq: 37498 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-7addc0e8
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**OBI to script
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 043ab5f8@192.168.0.3
Content-Length: 0
CSeq: 37498 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-7addc0e8
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600;+sip.instance="<urn:uuid:00000000-0000-0000-0000-9cadef1035b2>"
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
**script to server
REGISTER sip:asahi-net.or.jp:5060 SIP/2.0
Call-ID: 043ab5f8@192.168.0.3
Content-Length: 0
CSeq: 37498 REGISTER
From: <sip:050xxxxxxxx@asahi-net.or.jp>;tag=SP142ba1c06728a71a5
Max-Forwards: 70
To: <sip:050xxxxxxxx@asahi-net.or.jp>
Via: SIP/2.0/UDP 192.168.0.3:5060;branch=z9hG4bK-7addc0e8
User-Agent: OBIHAI/OBi100-1.3.0.2690
Contact: <sip:050xxxxxxxx@192.168.0.3:5060>;expires=3600
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER
Supported: replaces
############callcentric & X-lite
**mac to callcentric
REGISTER sip:callcentric.com SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:18304;branch=z9hG4bK-d8754z-6c02e15ef2f14723-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:17xxxxxxxxx@192.168.0.11:18304;rinstance=c589050c263e2343;transport=udp>
To: "17xxxxxxxxx"<sip:17xxxxxxxxx@callcentric.com>
From: "17xxxxxxxxx"<sip:17xxxxxxxxx@callcentric.com>;tag=1da5972c
Call-ID: ZmYwODgzM2ZjYjFhM2Q5NGY0MmYyNzA0MjJjNzdkNmQ.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite 4 release 4.1 stamp 63215
Content-Length: 0
**callcentric to mac
SIP/2.0 407 Proxy Authentication Required
v: SIP/2.0/UDP 192.168.0.11:18304;branch=z9hG4bK-d8754z-6c02e15ef2f14723-1---d8754z-;rport=18304;received=118.xx.xx.xx
f: "17xxxxxxxxx" <sip:17xxxxxxxxx@callcentric.com>;tag=1da5972c
t: "17xxxxxxxxx" <sip:17xxxxxxxxx@callcentric.com>
i: ZmYwODgzM2ZjYjFhM2Q5NGY0MmYyNzA0MjJjNzdkNmQ.
CSeq: 1 REGISTER
Proxy-Authenticate: Digest realm="callcentric.com", domain="sip:callcentric.com", nonce="333bfa75900b48cd93bc4aa951eab21f", opaque="", stale=TRUE, algorithm=MD5
l: 0
**mac to callcentric
REGISTER sip:callcentric.com SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:18304;branch=z9hG4bK-d8754z-f90c3d6654fc6a32-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:17xxxxxxxxx@192.168.0.11:18304;rinstance=c589050c263e2343;transport=udp>
To: "17xxxxxxxxx"<sip:17xxxxxxxxx@callcentric.com>
From: "17xxxxxxxxx"<sip:17xxxxxxxxx@callcentric.com>;tag=1da5972c
Call-ID: ZmYwODgzM2ZjYjFhM2Q5NGY0MmYyNzA0MjJjNzdkNmQ.
CSeq: 2 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Proxy-Authorization: Digest username="17xxxxxxxxx",realm="callcentric.com",nonce="333bfa75900b48cd93bc4aa951eab21f",uri="sip:callcentric.com",response="181f084fb8d9dcaaf7d5071b602ae3b2",algorithm=MD5
User-Agent: X-Lite 4 release 4.1 stamp 63215
Content-Length: 0
**callcentric to mac
NOTIFY sip:17xxxxxxxxx@192.168.0.11:18304;rinstance=c589050c263e2343;transport=udp SIP/2.0
v: SIP/2.0/UDP 204.11.192.22:5080;branch=z9hG4bK-c81ea1d1e3aca691df72891d90251052
f: <sip:17xxxxxxxxx@callcentric.com:5062>
t: <sip:17xxxxxxxxx@callcentric.com>
i: 44394ea86e66f937c8a3650f0b310489-5a83b63c66455064c7cfb3b9daf88915@callcentric.com
CSeq: 1 NOTIFY
Max-Forwards: 15
m: <sip:09878dbf69756e8993fcb21f6d19f530@204.11.192.22:5080;transport=udp>
Event: message-summary
c: application/simple-message-summary
l: 40
Messages-Waiting: no
Voicemail: 0/0
**mac to callcentric
SIP/2.0 200 OK
Via: SIP/2.0/UDP 204.11.192.22:5080;branch=z9hG4bK-c81ea1d1e3aca691df72891d90251052
Contact: <sip:192.168.0.11:18304>
To: <sip:17xxxxxxxxx@callcentric.com>;tag=50cd5313
From: <sip:17xxxxxxxxx@callcentric.com:5062>
Call-ID: 44394ea86e66f937c8a3650f0b310489-5a83b63c66455064c7cfb3b9daf88915@callcentric.com
CSeq: 1 NOTIFY
User-Agent: X-Lite 4 release 4.1 stamp 63215
Content-Length: 0
**callcentric to mac
SIP/2.0 200 Ok
v: SIP/2.0/UDP 192.168.0.11:18304;branch=z9hG4bK-d8754z-f90c3d6654fc6a32-1---d8754z-;rport=18304;received=118.xx.xx.xx
f: "17xxxxxxxxx" <sip:17xxxxxxxxx@callcentric.com>;tag=1da5972c
t: "17xxxxxxxxx" <sip:17xxxxxxxxx@callcentric.com>
i: ZmYwODgzM2ZjYjFhM2Q5NGY0MmYyNzA0MjJjNzdkNmQ.
CSeq: 2 REGISTER
m: <sip:17xxxxxxxxx@192.168.0.11:18304;rinstance=c589050c263e2343;transport=udp>;expires=60
l: 0
Navigation
[0] Message Index
[*] Previous page