Cisco SPA8800 Configuring

Cisco SPA8800 Configuring

Ip telephony gateway
Hide thumbs Also See for SPA8800:

Advertisement

Application Note
th
Revised June 10
2009
Configuring the Cisco SPA8800 IP Telephony Gateway in
®
an Asterisk
Environment
© 2009 Cisco Systems, Inc. All rights reserved. Page 1 of 69

Advertisement

Table of Contents
loading

Summary of Contents for Cisco SPA8800

  • Page 1 Application Note Revised June 10 2009 Configuring the Cisco SPA8800 IP Telephony Gateway in ® an Asterisk Environment © 2009 Cisco Systems, Inc. All rights reserved. Page 1 of 69...
  • Page 2: Table Of Contents

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Table of Contents    Introduction   Audience   Scope   Related Documents   Overview   Summary of Tasks in this Document   Requirements   Configuring Asterisk for a SPA8800   Summary:  ...
  • Page 3 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment   Upgrading the SPA8800's Firmware   Configuring Phone Extensions on the SPA8800 FXS Phone Ports   Configuring FXO Line Ports on the SPA8800   Configuring FXO Line Dial Plans for inbound PSTN call Routing  ...
  • Page 4 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment   Trace of Call between SPA8800 FXS1 and FXS2   Trace of SPA8800 FXS Port Calling SPA922 IP Phone   Trace of SPA8800 FXS 1 Making Outbound Call  ...
  • Page 5: Introduction

    Many interesting call routing options are possible using Asterisk to control the SPA8800 gateway. Asterisk can be configured to trunk the SPA8800's four FXO ports together into a trunk group. A trunk group allows the PSTN lines connected to the FXO ports to be over-subscribed and shared among all configured analog and IP phones, effectively lowering telephony costs by not requiring a dedicated line per phone.
  • Page 6: Overview

    Small Business Community ATA Support Overview Configuring the SPA8800 is a relatively trivial task and is similar to configuring any of the Sipura / Linksys / Cisco ATA and SPA9000 Voice System devices. Troubleshooting configuration problems due to incorrectly typed information in configuration fields requires advanced network and Asterisk troubleshooting skills.
  • Page 7: Requirements

    Before you configure your Asterisk server for the SPA8000, you need to gather some basic information: Static IP address for the SPA8800. By default, this device is a DHCP client, but will be of no use to you if it is assigned a new dynamic IP address periodically. In this document, I use 192.168.2.237/24...
  • Page 8: Configuring The Asterisk Server

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Configuring the Asterisk Server Once you have gathered all of the basic information, you can begin configuring the Asterisk server. Editing the /etc/asterisk/sip.conf file # vim /etc/asterisk/sip.conf [general] …...
  • Page 9 ;define SPA8800 pstn2 user [pstn2] type=friend host=192.168.2.237 ;IP address of the SPA8800 port=5161 ;5161 is the default SIP port for line 2 on the SPA8800 dtmfmode=rfc2833 context=pstn2 insecure=very ;define SPA8800 pstn3 user [pstn3] type=friend host=192.168.2.237 ;IP address of the SPA8800 port=5261 ;5261 is the default SIP port for line 2 on the SPA8800...
  • Page 10: Editing The /Etc/Asterisk/Extensions.conf File

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment nat=yes context=itsp1 ;eof Editing the /etc/asterisk/extensions.conf file # vim /etc/asterisk/extensions.conf … … ; SPA8800 Changes ;outbound dialing [fxsgroup] ; dial 7 to explicitly use FXS3 exten => _7.,1,Dial(SIP/${EXTEN:1}@pstn3,60,r)  ...
  • Page 11 *CLI> Use the reload command to load the changed configuration: *CLI> module reload This completes the Asterisk server configuration. You must now configure the SPA8800 to register to the Asterisk server. © 2009 Cisco Systems, Inc. All rights reserved. Page 11 of 69...
  • Page 12: Configuring The Spa8800

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Configuring the SPA8800 SPA8800 Ports and Connections Figure 1The photograph shows the rear of the SPA8800 and its connections Connect the SPA8800 Connect the ETHERNET port of the SPA8800 to the LAN switch.
  • Page 13: Factory Resetting The Spa8800

    Press 1 to confirm reset Hang up when prompted Configuring Static IP Address Addressing You must configure the SPA8800 with a static IP address because this address is defined in the Asterisk Server's /etc/asterisk/sip.conf file. Determine the SPA8800's Dynamically Assigned IP Address i.
  • Page 14 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment m. Direct your browser to the SPA8800's web user interface (web-ui) http://<IP_address_of_SPA8800>/admin/advanced Change the following parameters: Network tab > Wan Status tab: Internet Connection Settings > Connection Type: Static IP ii.
  • Page 15: Upgrading The Spa8800'S Firmware

    Verify that Compare Network tab > Status tab > Product Information > Software Version: is up to date with SPA8800 firmware available at the Cisco.com site. If newer firmware is available, save it to disk and upgrade the SPA8800 as follows:...
  • Page 16: Configuring Phone Extensions On The Spa8800 Fxs Phone Ports

    Configuring Phone Extensions on the SPA8800 FXS Phone Ports In this section, you will point the SPA8800 to the Asterisk Server as the SIP proxy and the provide user credentials that you defined earlier in the sip.conf and extensions.conf Asterisk files.
  • Page 17: Configuring Fxo Line Ports On The Spa8800

    Configuring FXO Line Ports on the SPA8800 In this section, you will point the SPA8800 to the Asterisk Server as the SIP proxy for the FXO ports and the provide user credentials that you defined earlier in the sip.conf and extensions.conf Asterisk files.
  • Page 18 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment © 2009 Cisco Systems, Inc. All rights reserved. Page 18 of 69...
  • Page 19: Configuring Fxo Line Dial Plans For Inbound Pstn Call Routing

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Configuring FXO Line Dial Plans for inbound PSTN call Routing In this section, you will configure FXO port dial plans. These dial plans affect inbound PSTN call routing and work in conjunction with definitions made in the /etc/asterisk/sip.conf and /etc/asterisk/extensions.conf files.
  • Page 20: Testing The Phone System

    Optional: Verify that analog phones can call IP phones internally. For example, call from 101 to 200 [if configured] Test inbound calls: From the PSTN, call a phone line attached to the SPA8800's FXO line. Verify that the appropriate phone rings, analog phone 101 in this document's example.
  • Page 21: T.38 Faxing

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment T.38 Faxing The SPA8800 supports fax with G.711 pass-through or real-time fax over IP via T.38 fax relay. The only change from default setting for fax pass-through is to change from the default named signaling event (NSE) to ReINVITE: Web-ui >...
  • Page 22 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Trace of FAX Line Toggle Code #99 section showing the difference in the SDP in the INVITE. © 2009 Cisco Systems, Inc. All rights reserved. Page 22 of 69...
  • Page 23: Codecs

    3 active SIP channels *CLI> Change the SPA8800 web-ui > Voice tab > Line 2 tab > Audio Configuration > Preferred Codec: to G729a and toggle Use Pref Codec Only: yes, save settings, and make a new call. The Asterisk server's /etc/asterisk/sip.conf must have the relevant codecs defined in the [general] section.
  • Page 24: Troubleshooting

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Troubleshooting Verify that the SPA8800's analog phones attached to the PHONE ports are registered. Direct your browser to the SPA8800's web user interface (web-ui) http://<IP_address_of_SPA8800>/admin/advanced Voice tab > Info tab > Phone N Status > Registration State Voice tab >...
  • Page 25: Troubleshooting Rejected Because Extension Not Found

    Looking through extensions.conf and sip.conf, all is normal, yet the inbound call does not ring on extension 101. The problem in this scenario is that the SPA8800 Line N's dialplan has been incorrectly configured and is routing the call to extension 101 while extensions.conf is routing the call elsewhere.
  • Page 26: Spa8800 Debug And Syslog

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment SPA8800 Debug and syslog The SPA8800 supports writing debug and syslog messages to syslog servers. One server can be used, or separate servers can be used to receive messages. Four levels of verbosity are supported, 0 for no messages, 1 for terse, through 3 for verbose message output: Following is an example of syslog information produced at Debug Level 3 [numbers changed].
  • Page 27: Spa8800 Sip Debugging

    SPA8800 SIP Debugging The SPA8800 can also supply SIP debug information to assist with troubleshooting. Enable SIP debugging as follows: SPA8800 web-ui > Voice tab > Line N tab > SIP Settings > SIP Debug Option: Following is an example of syslog information produced at Debug Level 3 with SIP Debug Option set to full [numbers changed].
  • Page 28 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment a=ptime:20 a=sendrecv M0: CC:Ringback M0: [0:0]RTP Rx Dn M1: [1]->192.168.2.20:5060(305) M1: [1]->192.168.2.20:5060(305) SIP/2.0 100 Trying To: <sip:5551212@192.168.2.237:5161> From: "SPA8k8Phone1" <sip:101@192.168.2.20>;tag=as16cfeb3c Call-ID: 4a713b136335955e38e0dd821f5c50dc@192.168.2.20 CSeq: 102 INVITE Via: SIP/2.0/UDP 192.168.2.20:5060;branch=z9hG4bK58d12649 Server: Cisco/SPA8800-6.1.7(GW)
  • Page 29: Troubleshooting With Asterisk Cli Commands

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Content-Length: 0 Troubleshooting with Asterisk CLI Commands The following Asterisk CLI commands are useful for troubleshooting the environment: • core show version • sip show peers • sip show peer itsp1 •...
  • Page 30 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment CallingPres : Presentation Allowed, Not Screened FromUser : 3615551212 FromDomain : sip.broadvoice.com Callgroup Pickupgroup Mailbox VM Extension : asterisk LastMsgsSent : 32767/65535 Call limit Dynamic : No Callerid : "" <>...
  • Page 31: Sip Show Users

    *CLI> Sample Traces Sometimes, the best way to troubleshoot Asterisk and SPA8800 interaction issues is to capture a trace and compare it against a similar transaction. Following are three traces showing in order: A successful registration between the SPA8800 and the Asterisk server and a successful registration between the Asterisk server and the broadvoice.com SIP proxy.
  • Page 32: Trace Of Asterisk Server Registering To Itsp

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Trace of Asterisk Server Registering to ITSP Frame 11 (453 bytes on wire, 453 bytes captured) Ethernet II, Src: Internet_1c:33:a1 (00:e0:4d:1c:33:a1), Dst: Cisco-Li_9c:e3:2c (00:1d:7e:9c:e3:2c) Internet Protocol, Src: 192.168.2.20 (192.168.2.20), Dst: 147.135.32.221 (147.135.32.221)
  • Page 33: Trace Of Spa922 Registering To An Asterisk Server

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Trace of SPA922 Registering to an Asterisk Server Frame 13 (683 bytes on wire, 683 bytes captured) Ethernet II, Src: CiscoLin_db:51:d2 (00:0e:08:db:51:d2), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.13 (192.168.2.13), Dst: 192.168.2.20 (192.168.2.20)
  • Page 34 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Frame 15 (548 bytes on wire, 548 bytes captured) Ethernet II, Src: Internet_1c:33:a1 (00:e0:4d:1c:33:a1), Dst: CiscoLin_db:51:d2 (00:0e:08:db:51:d2) Internet Protocol, Src: 192.168.2.20 (192.168.2.20), Dst: 192.168.2.13 (192.168.2.13) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 401 Unauthorized...
  • Page 35 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Frame 17 (485 bytes on wire, 485 bytes captured) Ethernet II, Src: Internet_1c:33:a1 (00:e0:4d:1c:33:a1), Dst: CiscoLin_db:51:d2 (00:0e:08:db:51:d2) Internet Protocol, Src: 192.168.2.20 (192.168.2.20), Dst: 192.168.2.13 (192.168.2.13) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 100 Trying...
  • Page 36: Trace Of Spa8800 Phone Ports Registering

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Trace of SPA8800 Phone Ports Registering Each enabled FXS port on the SPA8800 registers to the Asterisk server. The following trace shows phone ports 1 and 2 registering to the Asterisk server:...
  • Page 37 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Session Initiation Protocol Status-Line: SIP/2.0 401 Unauthorized Status-Code: 401 [Resent Packet: False] Message Header Via: SIP/2.0/UDP 192.168.2.237:5060;branch=z9hG4bK-fa604ed5;received=192.168.2.237 Transport: UDP Sent-by Address: 192.168.2.237 Sent-by port: 5060 Branch: z9hG4bK-fa604ed5 Received: 192.168.2.237 From: "SPA8k8Phone1"...
  • Page 38 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Session Initiation Protocol Status-Line: SIP/2.0 100 Trying Status-Code: 100 [Resent Packet: False] Message Header Via: SIP/2.0/UDP 192.168.2.237:5060;branch=z9hG4bK-1da4459;received=192.168.2.237 Transport: UDP Sent-by Address: 192.168.2.237 Sent-by port: 5060 Branch: z9hG4bK-1da4459 Received: 192.168.2.237 From: "SPA8k8Phone1"...
  • Page 39 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment From: "SPA8k8Phone2" <sip:102@192.168.2.20>;tag=a29b792271423dfeo0 SIP Display info: "SPA8k8Phone2" SIP from address: sip:102@192.168.2.20 SIP tag: a29b792271423dfeo0 To: "SPA8k8Phone2" <sip:102@192.168.2.20> SIP Display info: "SPA8k8Phone2" SIP to address: sip:102@192.168.2.20 Call-ID: b628f5b9-f2e991a6@127.0.0.1 CSeq: 24222 REGISTER...
  • Page 40 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Method: REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1fc67977" Authentication Scheme: Digest Algorithm: MD5 Realm: "asterisk" Nonce Value: "1fc67977"...
  • Page 41 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:102@192.168.2.20> Contact Binding: <sip:102@192.168.2.20> URI: <sip:102@192.168.2.20> SIP contact address: sip:102@192.168.2.20 Content-Length: 0 Frame 68 (568 bytes on wire, 568 bytes captured)
  • Page 42: Trace Of Call Between Spa8800 Fxs1 And Fxs2

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Trace of Call between SPA8800 FXS1 and FXS2 Frame 77 (1087 bytes on wire, 1087 bytes captured) Ethernet II, Src: 00:24:97:f0:50:3c (00:24:97:f0:50:3c), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.237 (192.168.2.237), Dst: 192.168.2.20 (192.168.2.20)
  • Page 43 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Request-Line: ACK sip:102@192.168.2.20 SIP/2.0 Method: ACK [Resent Packet: False] Message Header Via: SIP/2.0/UDP 192.168.2.237:5060;branch=z9hG4bK-d558dcd5 Transport: UDP Sent-by Address: 192.168.2.237 Sent-by port: 5060 Branch: z9hG4bK-d558dcd5 From: "SPA8k8Phone1" <sip:101@192.168.2.20>;tag=377ea678f1613b1o0 SIP Display info: "SPA8k8Phone1"...
  • Page 44 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Status-Line: SIP/2.0 100 Trying Status-Code: 100 [Resent Packet: False] Message Header Via: SIP/2.0/UDP 192.168.2.237:5060;branch=z9hG4bK-e5988af5;received=192.168.2.237 Transport: UDP Sent-by Address: 192.168.2.237 Sent-by port: 5060 Branch: z9hG4bK-e5988af5 Received: 192.168.2.237 From: "SPA8k8Phone1" <sip:101@192.168.2.20>;tag=377ea678f1613b1o0 SIP Display info: "SPA8k8Phone1"...
  • Page 45 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment SIP Display info: "SPA8k8Phone1" SIP from address: sip:101@192.168.2.20 SIP tag: 377ea678f1613b1o0 To: <sip:102@192.168.2.20>;tag=as4fc6eca0 SIP to address: sip:102@192.168.2.20 SIP tag: as4fc6eca0 Call-ID: c677a744-912e2955@192.168.2.237 CSeq: 102 INVITE Sequence Number: 102 Method: INVITE...
  • Page 46 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Internet Protocol, Src: 192.168.2.237 (192.168.2.237), Dst: 192.168.2.20 (192.168.2.20) User Datagram Protocol, Src Port: 5160 (5160), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 200 OK Status-Code: 200 [Resent Packet: False] Message Header To: <sip:102@192.168.2.237:5160>;tag=cf247750d7f2b62ei0...
  • Page 47 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Branch: z9hG4bK-e5988af5 Received: 192.168.2.237 From: "SPA8k8Phone1" <sip:101@192.168.2.20>;tag=377ea678f1613b1o0 SIP Display info: "SPA8k8Phone1" SIP from address: sip:101@192.168.2.20 SIP tag: 377ea678f1613b1o0 To: <sip:102@192.168.2.20>;tag=as4fc6eca0 SIP to address: sip:102@192.168.2.20 SIP tag: as4fc6eca0 Call-ID: c677a744-912e2955@192.168.2.237...
  • Page 48 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment SIP from address: sip:102@192.168.2.237 SIP tag: cf247750d7f2b62ei0 To: "SPA8k8Phone1" <sip:101@192.168.2.20>;tag=as57eae9e2 SIP Display info: "SPA8k8Phone1" SIP to address: sip:101@192.168.2.20 SIP tag: as57eae9e2 Call-ID: 3512588b465552ee7ec40bea27c3f72d@192.168.2.20 CSeq: 101 BYE Sequence Number: 101...
  • Page 49: Trace Of Spa8800 Fxs Port Calling Spa922 Ip Phone

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 200 OK Status-Code: 200 [Resent Packet: False] Message Header To: "SPA8k8Phone1" <sip:101@192.168.2.20>;tag=377ea678f1613b1o0 SIP Display info: "SPA8k8Phone1"...
  • Page 50 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Ethernet II, Src: 00:24:97:f0:50:3c (00:24:97:f0:50:3c), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.237 (192.168.2.237), Dst: 192.168.2.20 (192.168.2.20) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: INVITE sip:201@192.168.2.20 SIP/2.0...
  • Page 51 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Message Header Frame 8 (342 bytes on wire, 342 bytes captured) Ethernet II, Src: CiscoLin_db:51:d2 (00:0e:08:db:51:d2), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.13 (192.168.2.13), Dst: 192.168.2.20 (192.168.2.20) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 100 Trying...
  • Page 52: Trace Of Spa8800 Fxs 1 Making Outbound Call

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Frame 13 (595 bytes on wire, 595 bytes captured) Ethernet II, Src: 00:24:97:f0:50:3c (00:24:97:f0:50:3c), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.237 (192.168.2.237), Dst: 192.168.2.20 (192.168.2.20) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: ACK sip:201@192.168.2.20 SIP/2.0...
  • Page 53 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Session Name (s): - Connection Information (c): IN IP4 192.168.2.237 Time Description, active time (t): 0 0 Media Description, name and address (m): audio 16420 RTP/AVP 0 2 4 8 18 96 97 98...
  • Page 54 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: INVITE sip:85551313@192.168.2.20 SIP/2.0 Message Header Via: SIP/2.0/UDP 192.168.2.237:5060;branch=z9hG4bK-2bd81ced Transport: UDP Sent-by Address: 192.168.2.237 Sent-by port: 5060 Branch: z9hG4bK-2bd81ced From: "SPA8k8Phone1"...
  • Page 55 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Supported: replaces Contact: <sip:85551313@192.168.2.20> Contact Binding: <sip:85551313@192.168.2.20> Content-Length: 0 Frame 6 (1036 bytes on wire, 1036 bytes captured) Ethernet II, Src: Internet_1c:33:a1 (00:e0:4d:1c:33:a1), Dst: 00:24:97:f0:50:3c (00:24:97:f0:50:3c) Internet Protocol, Src: 192.168.2.20 (192.168.2.20), Dst: 192.168.2.237 (192.168.2.237)
  • Page 56 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Supported: replaces Contact: <sip:85551313@192.168.2.20> Contact Binding: <sip:85551313@192.168.2.20> Content-Length: 0 Frame 8 (347 bytes on wire, 347 bytes captured) Ethernet II, Src: 00:24:97:f0:50:3c (00:24:97:f0:50:3c), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.237 (192.168.2.237), Dst: 192.168.2.20 (192.168.2.20)
  • Page 57 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Sent-by Address: 192.168.2.20 Sent-by port: 5060 Branch: z9hG4bK538bb7bc RPort: rport From: "SPA8k8Phone1" <sip:101@192.168.2.20>;tag=as7b52add2 SIP Display info: "SPA8k8Phone1" SIP from address: sip:101@192.168.2.20 SIP tag: as7b52add2 To: <sip:5551313@192.168.2.237:5161>;tag=e7777c28b5e7542i1 SIP to address: sip:5551313@192.168.2.237:5161 SIP tag: e7777c28b5e7542i1 Contact: <sip:101@192.168.2.20>...
  • Page 58 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment SIP from address: sip:101@192.168.2.20 SIP tag: 432331171f77868do0 To: <sip:85551313@192.168.2.20>;tag=as62288bf1 SIP to address: sip:85551313@192.168.2.20 SIP tag: as62288bf1 Call-ID: c6e3a35f-e0a478e5@192.168.2.237 CSeq: 102 ACK Max-Forwards: 70 Proxy-Authorization: Digest username="101",realm="asterisk",nonce="05ce1ccc",uri="sip:85551313@192.168.2.20",algorithm=MD5 ,response="18deca64e8376d23f2d9a70790b1eda9" Authentication Scheme: Digest Username: "101"...
  • Page 59 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Contact: <sip:85551313@192.168.2.20> Contact Binding: <sip:85551313@192.168.2.20> Content-Length: 0 Frame 15 (407 bytes on wire, 407 bytes captured) Ethernet II, Src: Internet_1c:33:a1 (00:e0:4d:1c:33:a1), Dst: 00:24:97:f0:50:3c (00:24:97:f0:50:3c) Internet Protocol, Src: 192.168.2.20 (192.168.2.20), Dst: 192.168.2.237 (192.168.2.237)
  • Page 60: Trace Of Spa8800 Fxs Receiving Inbound Call

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Trace of SPA8800 FXS Receiving Inbound Call Frame 1 (1093 bytes on wire, 1093 bytes captured) Ethernet II, Src: 00:24:97:f0:50:3c (00:24:97:f0:50:3c), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.237 (192.168.2.237), Dst: 192.168.2.20 (192.168.2.20)
  • Page 61 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Branch: z9hG4bK6dbb2197 RPort: rport From: "SPA8k8Line2" <sip:pstn2@192.168.2.20>;tag=as7100bdb6 SIP Display info: "SPA8k8Line2" SIP from address: sip:pstn2@192.168.2.20 SIP tag: as7100bdb6 To: <sip:101@192.168.2.237:5060> SIP to address: sip:101@192.168.2.237:5060 Contact: <sip:pstn2@192.168.2.20> Contact Binding: <sip:pstn2@192.168.2.20>...
  • Page 62 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Frame 6 (502 bytes on wire, 502 bytes captured) Ethernet II, Src: 00:24:97:f0:50:3c (00:24:97:f0:50:3c), Dst: Internet_1c:33:a1 (00:e0:4d:1c:33:a1) Internet Protocol, Src: 192.168.2.237 (192.168.2.237), Dst: 192.168.2.20 (192.168.2.20) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 180 Ringing...
  • Page 63 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment SIP Display info: "SPA8k8Line2" SIP from address: sip:pstn2@192.168.2.20 SIP tag: as7100bdb6 To: <sip:101@192.168.2.237:5060>;tag=ecf57f6c3013369ei0 SIP to address: sip:101@192.168.2.237:5060 SIP tag: ecf57f6c3013369ei0 Contact: <sip:pstn2@192.168.2.20> Contact Binding: <sip:pstn2@192.168.2.20> URI: <sip:pstn2@192.168.2.20> SIP contact address: sip:pstn2@192.168.2.20 Call-ID: 1b7c71b81593c9cf71d3add640f41e61@192.168.2.20...
  • Page 64 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Content-Length: 0 Frame 11 (550 bytes on wire, 550 bytes captured) Ethernet II, Src: Internet_1c:33:a1 (00:e0:4d:1c:33:a1), Dst: 00:24:97:f0:50:3c (00:24:97:f0:50:3c) Internet Protocol, Src: 192.168.2.20 (192.168.2.20), Dst: 192.168.2.237 (192.168.2.237) User Datagram Protocol, Src Port: sip (5060), Dst Port: 5160 (5160) Session Initiation Protocol Request-Line: OPTIONS sip:102@192.168.2.237:5160 SIP/2.0...
  • Page 65 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment SIP to address: sip:101@192.168.2.237:5060 Contact: <sip:asterisk@192.168.2.20> Contact Binding: <sip:asterisk@192.168.2.20> URI: <sip:asterisk@192.168.2.20> SIP contact address: sip:asterisk@192.168.2.20 Call-ID: 7614b5463341f49f69ef923c247589ef@192.168.2.20 CSeq: 102 OPTIONS Sequence Number: 102 Method: OPTIONS User-Agent: Asterisk PBX Max-Forwards: 70...
  • Page 66 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Session Initiation Protocol Status-Line: SIP/2.0 200 OK Message Header Call-ID: 65f7d74a435b5be15c73d1341625c0c5@192.168.2.20 CSeq: 102 OPTIONS Sequence Number: 102 Method: OPTIONS From: "asterisk" <sip:asterisk@192.168.2.20>;tag=as584485d8 SIP Display info: "asterisk" SIP from address: sip:asterisk@192.168.2.20 SIP tag: as584485d8 To: <sip:sip.broadvoice.com>...
  • Page 67 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Contact Binding: <sip:101@192.168.2.20> URI: <sip:101@192.168.2.20> SIP contact address: sip:101@192.168.2.20 Content-Length: 0 Frame 19 (401 bytes on wire, 401 bytes captured) Ethernet II, Src: Internet_1c:33:a1 (00:e0:4d:1c:33:a1), Dst: 00:24:97:f0:50:3c (00:24:97:f0:50:3c) Internet Protocol, Src: 192.168.2.20 (192.168.2.20), Dst: 192.168.2.237 (192.168.2.237)
  • Page 68: Trace Of Fax Line Toggle Code #99

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Trace of FAX Line Toggle Code #99 Following are two trace segments of a SIP INVITE showing the difference in the INVITE when #99 is dialed. This trace shows the SDP information from a call made where 85551212 was dialed where 8 is a steering digit.
  • Page 69: Gathering Information For Support

    Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment Gathering Information for Support In the event that you need to reach out for support, collect the following information first: SPA8800's configuration Web-UI > Admin Login > Advanced >...

Table of Contents