Thursday, September 14, 2006
Cisco ATA186 SIP & BT Broadband Talk
The ATA186 works OK with Sipgate, given the vagaries of Sipgate. I found the logging utility useful, 'prserv -t' in a command window gives you a diagnostic chatter from the ATA186 :-
060914|22:42:58 >> SIP << 060914
22:42:59 Refresh DNS for sipgate.co.uk d90a4f17 0 0 0 0 060914
22:42:59 Trying 1st IP ADDR d90a4f17 060914
22:42:59 proxy=sipgate.co.uk:5060 060914
22:42:59 Stun Svr[0]=217.10.79.2:10000 060914
22:42:59 [0]REGISTER Retry 0 060914
22:42:59 [0]Reg Resp 401; Unauthorized 060914
22:42:59 [0]REGISTER Retry 0 060914
22:42:59 [0]Reg Resp 200; OK 060914
22:42:59 [0]Reg OK (270) 060914
22:42:59 NextReg in 206 060914
22:43:20 0:30;0,0,0,0,
(note the typical Sipgate registration failures). I changed the audio mode setting to 0x00050005 in order to get in-band DTMF to use with IVR systems, the default did not send tones out onto the PSTN. An ADSLguide poster had been fishing in his Voyager 10V for the settings for BTBBT and posted them on their VoIP forum.
Telnet into the Voyager 10V (admin/admin) and with the command 'sip show reg' you can see what's going on :-
Connection Info:
-----------------------------------------------------
TEL number : 445601484xxx
Expire Time : 3600
Status : Registration OK
Registrar : btsip.bt.com:5060
Proxy : btsip.bt.com:5060
Service Domain : btsip.bt.com
Outbound Proxy : sip.btsip.bt.net:5060
Enable : Yes
TEL number :
Expire Time : 3600
Status : not ready or no need to Send Registration
Registrar : btsip.bt.com:5060
Proxy : btsip.bt.com:5060
Service Domain : btsip.bt.com
Outbound Proxy : sip.btsip.bt.net:5060
Enable : No
-----------------------------------------------------
So the 10V looks to be 2 line capable. More of that another day..
the 44560 number is the incoming phone number of my BTBBT service and this becomes the UserID UID0 on the ATA186. Plug in the password, the Proxy and Outbound Proxy settings from above and try it.....
Got a dial tone, seemed to register, but can't call out (engaged type tone). Tried dialling into the 0560 number from BT line, silence all round :-(
Changed the RTP / Media port from Sipgate's 5004 to the 49152 revealed by the 10V :
[admin]# sip show rtp_port
SIP : RTP Port Number = 49152
Still no good. Mental note that there is no STUN server configured. Tried Sipura default RTP setting of 16384 - same. Twigged that the 10v was still on line, unplugged it.
Still no outgoing calls, but made an incoming succesfully - voice and all !
Time to go to sleep on a high note, meantime here's the failure log :-
060914|23:37:54 Calling 1571
060914|23:37:54 SCC Cmd[0:0]CLIP
060914|23:37:54 SCC Cmd[0:0]CALL
060914|23:37:54 [0:0]Start RTP Rx
060914|23:37:54 RTP Rx Init: 0, 0
060914|23:37:54 [0]INVITE Retry 0
060914|23:37:55 [0]INVITE Retry 1
060914|23:37:56 [0]INVITE Retry 2
060914|23:37:58 [0]INVITE Retry 3
060914|23:38:00 [0]INVITE Retry 4
060914|23:38:02 [0]INVITE Retry 5
060914|23:38:04 change next hop[0]: c = 2
060914|23:38:04 Trying IP ADDR 51906a28
060914|23:38:04 INVITE TO; TryAltProxy
060914|23:38:04 Response=400; Bad Request
060914|23:38:04 INVITE failed
060914|22:42:58 >> SIP << 060914
22:42:59 Refresh DNS for sipgate.co.uk d90a4f17 0 0 0 0 060914
22:42:59 Trying 1st IP ADDR d90a4f17 060914
22:42:59 proxy=sipgate.co.uk:5060 060914
22:42:59 Stun Svr[0]=217.10.79.2:10000 060914
22:42:59 [0]REGISTER Retry 0 060914
22:42:59 [0]Reg Resp 401; Unauthorized 060914
22:42:59 [0]REGISTER Retry 0 060914
22:42:59 [0]Reg Resp 200; OK 060914
22:42:59 [0]Reg OK (270) 060914
22:42:59 NextReg in 206 060914
22:43:20 0:30;0,0,0,0,
(note the typical Sipgate registration failures). I changed the audio mode setting to 0x00050005 in order to get in-band DTMF to use with IVR systems, the default did not send tones out onto the PSTN. An ADSLguide poster had been fishing in his Voyager 10V for the settings for BTBBT and posted them on their VoIP forum.
Telnet into the Voyager 10V (admin/admin) and with the command 'sip show reg' you can see what's going on :-
Connection Info:
-----------------------------------------------------
TEL number : 445601484xxx
Expire Time : 3600
Status : Registration OK
Registrar : btsip.bt.com:5060
Proxy : btsip.bt.com:5060
Service Domain : btsip.bt.com
Outbound Proxy : sip.btsip.bt.net:5060
Enable : Yes
TEL number :
Expire Time : 3600
Status : not ready or no need to Send Registration
Registrar : btsip.bt.com:5060
Proxy : btsip.bt.com:5060
Service Domain : btsip.bt.com
Outbound Proxy : sip.btsip.bt.net:5060
Enable : No
-----------------------------------------------------
So the 10V looks to be 2 line capable. More of that another day..
the 44560 number is the incoming phone number of my BTBBT service and this becomes the UserID UID0 on the ATA186. Plug in the password, the Proxy and Outbound Proxy settings from above and try it.....
Got a dial tone, seemed to register, but can't call out (engaged type tone). Tried dialling into the 0560 number from BT line, silence all round :-(
Changed the RTP / Media port from Sipgate's 5004 to the 49152 revealed by the 10V :
[admin]# sip show rtp_port
SIP : RTP Port Number = 49152
Still no good. Mental note that there is no STUN server configured. Tried Sipura default RTP setting of 16384 - same. Twigged that the 10v was still on line, unplugged it.
Still no outgoing calls, but made an incoming succesfully - voice and all !
Time to go to sleep on a high note, meantime here's the failure log :-
060914|23:37:54 Calling 1571
060914|23:37:54 SCC Cmd[0:0]CLIP
060914|23:37:54 SCC Cmd[0:0]CALL
060914|23:37:54 [0:0]Start RTP Rx
060914|23:37:54 RTP Rx Init: 0, 0
060914|23:37:54 [0]INVITE Retry 0
060914|23:37:55 [0]INVITE Retry 1
060914|23:37:56 [0]INVITE Retry 2
060914|23:37:58 [0]INVITE Retry 3
060914|23:38:00 [0]INVITE Retry 4
060914|23:38:02 [0]INVITE Retry 5
060914|23:38:04 change next hop[0]: c = 2
060914|23:38:04 Trying IP ADDR 51906a28
060914|23:38:04 INVITE TO; TryAltProxy
060914|23:38:04 Response=400; Bad Request
060914|23:38:04 INVITE failed
Sunday, September 10, 2006
Cisco ATA186 SIP image.
BT's Broadband VoIP service BTBBV was originally supplied with Cisco ATA186 ATA hardware using the MGCP profile. In the beginning mine arrived before the service was up and running so I flipped it into a SIP profile and used it with FWD. BT have now moved their rebranded Broadband Talk service onto SIP and sent me a BT Voyager 10V ATA. Time to get the 186 back into service on SIP....
First problem was finding the ATA on the LAN, pressing the red button on the 186 with the connected phone off hook brings up the IVR voice menu and keying 80# has it read out the IP address. I was then able to see the 186 web interface at http://ataip/dev
Next to locate the SIP image and upgrade tool. This is something you can get from your VoIP provider, buy from Cisco or Google for ata186us.exe and use your imagination. ata186us.exe is the loader and the image file is *.zup
Make a note of the current firmware version at the bottom of the web page or use IVR 123# and IVR 123123# - in my case Version: v2.16.1.ms ata18x (Build 030814a)
You then run an upgrade TFTP server on a local PC with a command like :-
sata186us ATA030100SIP040211A.zup -d1 -any2
where any2 means do the upgrade even if its a different version to the old one.
the onscreen instructions tells you to..
"Using dialpad of your telephone (attached to your ATA box),
press ATA button to go to main menu, and enter:
100#10*0*0*23*8000# (to upgrade code)"
there is then a long and agonising pause, followed by the IVR lady announcing "upgrade succesful" - Result !
Back to the web interface to check....
Version: v3.1.0 atasip (Build 040211A)
Off to sipgate to look at the example ATA186 configuration. Loaded up my details then hit a "password change" screen from the ATA. Google reveals the default to be '0' so I change it to a 4 digit PIN (in case at any point I have to put it in the IVR). That works, so now I have to get the settings loaded up and debugged.
First problem was finding the ATA on the LAN, pressing the red button on the 186 with the connected phone off hook brings up the IVR voice menu and keying 80# has it read out the IP address. I was then able to see the 186 web interface at http://ataip/dev
Next to locate the SIP image and upgrade tool. This is something you can get from your VoIP provider, buy from Cisco or Google for ata186us.exe and use your imagination. ata186us.exe is the loader and the image file is *.zup
Make a note of the current firmware version at the bottom of the web page or use IVR 123# and IVR 123123# - in my case Version: v2.16.1.ms ata18x (Build 030814a)
You then run an upgrade TFTP server on a local PC with a command like :-
sata186us ATA030100SIP040211A.zup -d1 -any2
where any2 means do the upgrade even if its a different version to the old one.
the onscreen instructions tells you to..
"Using dialpad of your telephone (attached to your ATA box),
press ATA button to go to main menu, and enter:
100#10*0*0*23*8000# (to upgrade code)"
there is then a long and agonising pause, followed by the IVR lady announcing "upgrade succesful" - Result !
Back to the web interface to check....
Version: v3.1.0 atasip (Build 040211A)
Off to sipgate to look at the example ATA186 configuration. Loaded up my details then hit a "password change" screen from the ATA. Google reveals the default to be '0' so I change it to a 4 digit PIN (in case at any point I have to put it in the IVR). That works, so now I have to get the settings loaded up and debugged.