manualshive.com logo in svg
background image

 

 

Application Note 

Revised June 10

th

 2009

© 2009 Cisco Systems, Inc. All rights reserved. Page 1 of 69 

Configuring the Cisco SPA8800 IP Telephony Gateway in 
an Asterisk

®

 Environment 

 

 

 

Содержание Small Business SPA8800

Страница 1: ...Application Note Revised June 10th 2009 2009 Cisco Systems Inc All rights reserved Page 1 of 69 Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment ...

Страница 2: ...Summary of Tasks in this Document 6 Requirements 7 Configuring Asterisk for a SPA8800 7 Summary 7 Configuring the Asterisk Server 8 Editing the etc asterisk sip conf file 8 Editing the etc asterisk extensions conf file 10 Loading the Modified Configuration 10 Configuring the SPA8800 12 SPA8800 Ports and Connections 12 Connect the SPA8800 12 Factory Resetting the SPA8800 13 Configuring Static IP Ad...

Страница 3: ...g 19 Testing the Phone System 20 T 38 Faxing 21 Codecs 23 Troubleshooting 24 Troubleshooting Rejected Because Extension not Found 25 Failing Inbound from ITSP 25 Failing Inbound from PSTN 25 SPA8800 Debug and syslog 26 SPA8800 SIP Debugging 27 Troubleshooting with Asterisk CLI Commands 29 sip show peers 29 sip show peer PeerName 29 sip show users 31 sip show user UserName 31 Sample Traces 31 Trace...

Страница 4: ...c All rights reserved Page 4 of 69 Trace of Call between SPA8800 FXS1 and FXS2 42 Trace of SPA8800 FXS Port Calling SPA922 IP Phone 49 Trace of SPA8800 FXS 1 Making Outbound Call 52 Trace of SPA8800 FXS Receiving Inbound Call 60 Trace of FAX Line Toggle Code 99 68 Gathering Information for Support 69 ...

Страница 5: ...ephony costs by not requiring a dedicated line per phone For example you can have 4 connected PSTN lines and share them with any number of phones When all 4 lines are busy the 5th user will hear a congestion tone Additionally the SPA8800 s FXS ports can be used in other ways including connecting analog phones door phones and fax machines The SPA8800 supports fax with G 711 pass through or real tim...

Страница 6: ...you when you are troubleshooting your SPA8800 in an Asterisk environment By the end of this document an Asterisk phone user analog or IP will be able to pick up a phone and dial out via the PSTN or ITSP depending on the steering digit they use Summary of Tasks in this Document You must complete the following tasks in order to use the SPA8800 in an Asterisk environment 1 Gather Basic Information 2 ...

Страница 7: ...ter DNS and NTP server IP addresses 3 Extension numbers for up to four analog phones to be connected to the SPA8800 s PHONE FXS ports 1 4 In this document I use 101 102 103 and 104 4 Decide how many PSTN lines will be connected to the SPA8800 s LINE FXO ports 1 4 In this document I use two PSTN lines connected to FXO LINE ports 2 and 3 UDP 5161 and 5261 respectively 5 Decide what steering digits t...

Страница 8: ... password DID ITSP 101 register 3615551212 sip broadvoice com mypassword 3615551212 sip broadvoice com 101 SPA8800 Changes define SPA8800 analog phone 1 extension 101 101 type friend username 101 secret 101 qualify yes nat no host dynamic canreinvite no context fxsgroup regext 101 define SPA8800 analog phone 2 extension 102 102 type friend username 102 secret 102 qualify yes nat no host dynamic ca...

Страница 9: ...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 dtmfmode rfc2833 context pstn3 insecure very itsp1 type peer user phone host sip broadvoice...

Страница 10: ... explicitly use ITSP exten _9 1 Dial SIP EXTEN 1 itsp1 30 r r causes ringing for calling party but audio is not passed until called party answers call T allows caller to transfer with exten 101 1 Dial SIP 101 60 rT exten 102 1 Dial SIP 102 60 rT exten 103 1 Dial SIP 103 60 rT exten 104 1 Dial SIP 104 60 rT exten 200 1 Dial SIP 200 60 rT exten 201 1 Dial SIP 201 60 rT inbound from PSTN pstn2 t allo...

Страница 11: ...ent 2009 Cisco Systems Inc All rights reserved Page 11 of 69 sudo asterisk r CLI 2 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 ...

Страница 12: ...PA8800 and its connections Connect the SPA8800 a Connect the ETHERNET port of the SPA8800 to the LAN switch b Connect analog phones to the PHONE 1 4 FXS ports or use the multiport RJ 21 50 pin connector c Connect PSTN lines to the LINE 1 2 FXO ports or use the multiport RJ 21 50 pin connector d Connect the power adapter e Going off hook with the analog phones will result in a fast busy because the...

Страница 13: ... hook ignore the fast busy or silence h Dial four asterisks or stars i Dial 73738 when prompted j Press 1 to confirm reset k 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 l Determine the SPA8800 s Dynamically Assigned IP Address i Connect an a...

Страница 14: ... to the SPA8800 s web user interface web ui http IP_address_of_SPA8800 admin advanced n Change the following parameters Network tab Wan Status tab i Internet Connection Settings Connection Type Static IP ii Static IP Settings 1 Static IP 2 Netmask 3 Gateway iii Optional Settings 1 Primary DNS 2 Secondary DNS 3 Primary NTP Server o Click Submit All Changes ...

Страница 15: ...te with SPA8800 firmware available at the Cisco com site If newer firmware is available save it to disk and upgrade the SPA8800 as follows 3 Copy the downloaded firmware image to your TFTP server s root directory 4 Cause the SPA8800 to retrieve the firmware by TFTP and install the new image http IPADDRESSofSPA upgrade tftp TFTPADDRESS SPAFILE bin Where IPADDRESSofSPA is the SPA8800 IP address TFTP...

Страница 16: ...log phone connected to the SPA8800 FXS PHONE port 1 Direct your browser to the SPA8800 s web user interface web ui http IP_address_of_SPA8800 admin advanced 2 Voice tab Phone 1 tab Line Enable yes 3 Voice tab Phone 1 tab Proxy and Registration Proxy 192 168 2 20 Where this is the IP address of the Asterisk Server 4 Voice tab Phone 1 tab Subscriber Information 5 Display Name SPA8k8Phone1 Where this...

Страница 17: ...wser to the SPA8800 s web user interface web ui http IP_address_of_SPA8800 admin advanced 2 Voice tab Line 2 tab Line Enable yes 3 Voice tab Line N tab Proxy and Registration a Proxy 192 168 2 20 This field does not need to be completed but is a good reminder of which device is being used b Make Call Without Reg yes c Ans Call Without Reg yes 4 Voice tab Line N tab Subscriber Information d Display...

Страница 18: ...Configuring the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment 2009 Cisco Systems Inc All rights reserved Page 18 of 69 ...

Страница 19: ... pstn3 contexts of the extensions conf file describes how inbound calls must be routed pstn2 exten 101 1 Dial SIP 101 60 rt pstn3 exten 101 1 Dial SIP 201 60 rt 1 Direct your browser to the SPA8800 s web user interface web ui http IP_address_of_SPA8800 admin advanced 2 Voice tab Line 2 tab Dial Plans Edit any dial plan to route inbound calls from the PSTN line connected to this FXO line In this ex...

Страница 20: ...rom 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 b From the PSTN call a DID associated with the Asterisk server Verify that the appropriate phone rings analog phone 101 in this document s example 3 Test outbound calls a From an analog phone make an outbound call using the PSTN by using the appropri...

Страница 21: ...e from the default named signaling event NSE to ReINVITE Web ui Voice tab Line N tab Audio Configuration FAX Passthru Method ReINVITE Optionally you can change the FAX Line Toggle code from the default of 99 Predialing 99 as a prefix forces the call to be a fax call This will case the INVITE to indicate T 38 in the SDP without relying on a reINVITE to switch to T 38 The default can be changed from...

Страница 22: ... the Cisco SPA8800 IP Telephony Gateway in an Asterisk Environment 2009 Cisco Systems Inc All rights reserved Page 22 of 69 Trace of FAX Line Toggle Code 99 section showing the difference in the SDP in the INVITE ...

Страница 23: ...t Hold Last Message 192 168 2 237 8138293 6e776c7438a 00102 00000 0x80004 ulaw h No Tx ACK 192 168 2 237 101 5aed6b9b 9f 00101 00102 0x4 ulaw No Rx ACK 111 222 111 222 3615551234 1e7c1653326 00110 00000 0x0 nothing No 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 ...

Страница 24: ... ports are registered 1 Direct your browser to the SPA8800 s web user interface web ui http IP_address_of_SPA8800 admin advanced 2 Voice tab Info tab Phone N Status Registration State 3 Voice tab Info tab PSTN Line N Status Line Voltage Verify that line voltage is present A voltage of 0 indicates that the PSTN line is not properly connected Registration state of Failed is normal for a properly con...

Страница 25: ... context exten 101 1 Dial SIP 101 25 Ttr Change to exten 3615551212 1 Dial SIP 101 25 Ttr Failing Inbound from PSTN Jun 3 17 34 37 NOTICE 31613 chan_sip c 14035 handle_request_invite Call from pstn3 to extension 101 rejected because extension not found This indicates that an inbound call to the port named pstn3 is being routed to extension 101 Looking through extensions conf and sip conf all is no...

Страница 26: ...it 5 1 40 ms M0 2 Report digit 5 1 40 ms M0 2 Report digit 5 1 40 ms M0 2 Report digit 1 1 40 ms M0 2 Report digit 2 1 40 ms M0 2 Report digit 1 1 40 ms M0 2 Report digit 2 1 40 ms M0 Calling 85551212 192 168 2 20 0 M0 0 0 AUD ALLOC CALL port 16404 M0 0 0 RTP Rx Up M0 CC Ringback M0 0 0 RTP Rx Dn M1 CC pc 0 18 not in codec list M1 AUD Stop PSTN Tone M0 CC Ringback M2 1 0 AUD ALLOC CALL port 18457 ...

Страница 27: ... 100 trying a report that an unlisted codec type is being requested and the BYE M1 1 192 168 2 20 5060 826 INVITE sip 5551212 192 168 2 237 5161 SIP 2 0 Via SIP 2 0 UDP 192 168 2 20 5060 branch z9hG4bK58d12649 rport From SPA8k8Phone1 sip 101 192 168 2 20 tag as16cfeb3c To sip 5551212 192 168 2 237 5161 Contact sip 101 192 168 2 20 Call ID 4a713b136335955e38e0dd821f5c50dc 192 168 2 20 CSeq 102 INVI...

Страница 28: ...M0 CC Ringback M1 1 192 168 2 20 5060 398 M1 1 192 168 2 20 5060 398 ACK sip 5551212 192 168 2 237 5161 SIP 2 0 Via SIP 2 0 UDP 192 168 2 20 5060 branch z9hG4bK58d12649 rport From SPA8k8Phone1 sip 101 192 168 2 20 tag as16cfeb3c To sip 5551212 192 168 2 237 5161 tag e967475542dc2b0i1 Contact sip 101 192 168 2 20 Call ID 4a713b136335955e38e0dd821f5c50dc 192 168 2 20 CSeq 102 ACK User Agent Asterisk...

Страница 29: ...Name username Host Dyn Nat ACL Port Status itsp1 3615551212 ITSP IP Addr N 5060 OK 110 ms pstn2 pstn2 192 168 2 237 N 5161 Unmonitored 104 104 Unspecified D N 0 UNKNOWN 103 103 Unspecified D N 0 UNKNOWN 102 102 192 168 2 237 D N 5160 OK 10 ms 101 101 192 168 2 237 D N 5060 OK 9 ms 201 201 192 168 2 19 D N 5060 Unmonitored 200 200 192 168 2 15 D N 5060 Unmonitored 8 sip peers Monitored 3 online 2 o...

Страница 30: ...65535 Call limit 0 Dynamic No Callerid MaxCallBR 384 kbps Expire 1 Insecure port invite Nat Always ACL No T38 pt UDPTL No CanReinvite No PromiscRedir No User Phone No Video Support No Trust RPID No Send RPID No Subscriptions Yes Overlap dial Yes DTMFmode inband LastMsg 0 ToHost sip broadvoice com Addr IP ITSP IP Addr Port 5060 Defaddr IP 0 0 0 0 Port 0 Def Username 3615551212 SIP Options 100rel Co...

Страница 31: ...le CLI Name 101 Secret Set MD5Secret Not set Context fxsgroup Language AMA flags Unknown Transfer mode open MaxCallBR 384 kbps CallingPres Presentation Allowed Not Screened Call limit 0 Callgroup Pickupgroup Callerid ACL No Codec Order none Auto Framing No CLI Sample Traces Sometimes the best way to troubleshoot Asterisk and SPA8800 interaction issues is to capture a trace and compare it against a...

Страница 32: ...X Max Forwards 70 Expires 120 Contact sip 101 192 168 2 20 Contact Binding sip 101 192 168 2 20 URI sip 101 192 168 2 20 SIP contact address sip 101 192 168 2 20 Event registration Content Length 0 Frame 12 416 bytes on wire 416 bytes captured Ethernet II Src Cisco Li_9c e3 2c 00 1d 7e 9c e3 2c Dst Internet_1c 33 a1 00 e0 4d 1c 33 a1 Internet Protocol Src 147 135 32 221 147 135 32 221 Dst 192 168 ...

Страница 33: ...ation Response 728a48d3a084a509dfe29d3686e63317 Contact Asterisk201 sip 201 192 168 2 13 5060 expires 0 Contact Binding Asterisk201 sip 201 192 168 2 13 5060 expires 0 URI Asterisk201 sip 201 192 168 2 13 5060 SIP Display info Asterisk201 SIP contact address sip 201 192 168 2 13 5060 User Agent Linksys SPA922 6 1 3 a Content Length 0 Allow ACK BYE CANCEL INFO INVITE NOTIFY OPTIONS REFER Supported ...

Страница 34: ...n wire 684 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 Request Line REGISTER sip 192 168 2 20 SIP 2 0 Method REGISTER Resent Packet False Message Header Via SIP 2 0 UDP 192...

Страница 35: ...NS BYE REFER SUBSCRIBE NOTIFY Supported replaces Contact sip 201 192 168 2 20 Contact Binding sip 201 192 168 2 20 URI sip 201 192 168 2 20 SIP contact address sip 201 192 168 2 20 Content Length 0 Frame 18 512 bytes on wire 512 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...

Страница 36: ...hone1 SIP contact address sip 101 192 168 2 237 5060 User Agent Cisco SPA8800 6 1 7 GW Content Length 0 Allow ACK BYE CANCEL INFO INVITE NOTIFY OPTIONS REFER Supported x sipura replaces Frame 56 485 bytes on wire 485 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 ...

Страница 37: ...equest Line REGISTER sip 192 168 2 20 SIP 2 0 Method REGISTER Resent Packet False Message Header Via SIP 2 0 UDP 192 168 2 237 5060 branch z9hG4bK 1da4459 Transport UDP Sent by Address 192 168 2 237 Sent by port 5060 Branch z9hG4bK 1da4459 From SPA8k8Phone1 sip 101 192 168 2 20 tag cfee310ad138a6beo0 SIP Display info SPA8k8Phone1 SIP from address sip 101 192 168 2 20 SIP tag cfee310ad138a6beo0 To ...

Страница 38: ...tus Line SIP 2 0 200 OK Status Code 200 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 sip 101 192 168 2 20 tag cfee310ad138a6beo0 SIP Display info SPA8k8Phone1 SIP from address sip 101 192 168 2 20 SIP ta...

Страница 39: ...t 5160 Branch z9hG4bK 53ffec42 Received 192 168 2 237 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 Sequence Number 24222 Method R...

Страница 40: ...fc67977 uri sip 192 168 2 20 algorithm MD5 response 1cbd8f1d81e70d514f0e494681eea440 Authentication Scheme Digest Username 102 Realm asterisk Nonce Value 1fc67977 Authentication URI sip 192 168 2 20 Algorithm MD5 Digest Authentication Response 1cbd8f1d81e70d514f0e494681eea440 Contact SPA8k8Phone2 sip 102 192 168 2 237 5160 expires 3600 Contact Binding SPA8k8Phone2 sip 102 192 168 2 237 5160 expire...

Страница 41: ...t False Message Header Via SIP 2 0 UDP 192 168 2 237 5160 branch z9hG4bK edebcc26 received 192 168 2 237 Transport UDP Sent by Address 192 168 2 237 Sent by port 5160 Branch z9hG4bK edebcc26 Received 192 168 2 237 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 1...

Страница 42: ...BYE CANCEL INFO INVITE NOTIFY OPTIONS REFER Supported x sipura replaces Content Type application sdp Message Body Frame 78 553 bytes on wire 553 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 sip 5060 Session I...

Страница 43: ...a SIP 2 0 UDP 192 168 2 237 5060 branch z9hG4bK e5988af5 Transport UDP Sent by Address 192 168 2 237 Sent by port 5060 Branch z9hG4bK e5988af5 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 SIP to address sip 102 192 168 2 20 Remote Party ID SPA8k8Phone1 sip 101 192 1...

Страница 44: ...0 SIP 2 0 Method INVITE Resent Packet False Message Header Via SIP 2 0 UDP 192 168 2 20 5060 branch z9hG4bK05ac3a4e rport Transport UDP Sent by Address 192 168 2 20 Sent by port 5060 Branch z9hG4bK05ac3a4e RPort rport From SPA8k8Phone1 sip 101 192 168 2 20 tag as57eae9e2 SIP Display info SPA8k8Phone1 SIP from address sip 101 192 168 2 20 SIP tag as57eae9e2 To sip 102 192 168 2 237 5160 SIP to addr...

Страница 45: ... Via SIP 2 0 UDP 192 168 2 20 5060 branch z9hG4bK05ac3a4e Transport UDP Sent by Address 192 168 2 20 Sent by port 5060 Branch z9hG4bK05ac3a4e Server Cisco SPA8800 6 1 7 GW Content Length 0 Frame 85 501 bytes on wire 501 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 16...

Страница 46: ...aptured 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 ACK sip 102 192 168 2 237 5160 SIP 2 0 Method ACK Resent Packet False Message Header Via SIP 2 0 UDP 192 168 2 20 5060 ...

Страница 47: ...m 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 CSeq 102 ACK Sequence Number 102 Method ACK Max Forwards 70 Proxy Authorization Digest username 101 realm asterisk...

Страница 48: ...eae9e2 Call ID 3512588b465552ee7ec40bea27c3f72d 192 168 2 20 CSeq 101 BYE Sequence Number 101 Method BYE User Agent Asterisk PBX Allow INVITE ACK CANCEL OPTIONS BYE REFER SUBSCRIBE NOTIFY Supported replaces Contact sip 101 192 168 2 20 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 92 379 bytes on wire 379 bytes capture...

Страница 49: ...237 Session Name s Connection Information c IN IP4 192 168 2 237 Connection Network Type IN Connection Address Type IP4 Connection Address 192 168 2 237 Time Description active time t 0 0 Media Description name and address m audio 16416 RTP AVP 0 2 4 8 18 96 97 98 100 101 Media Attribute a rtpmap 0 PCMU 8000 Media Attribute a rtpmap 2 G726 32 8000 Media Attribute a rtpmap 4 G723 8000 Media Attribu...

Страница 50: ...192 168 2 237 User Datagram Protocol Src Port sip 5060 Dst Port sip 5060 Session Initiation Protocol Status Line SIP 2 0 100 Trying Message Header Frame 6 1026 bytes on wire 1026 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 ...

Страница 51: ...m audio 16436 RTP AVP 0 101 Media Attribute a rtpmap 0 PCMU 8000 Media Attribute a rtpmap 101 telephone event 8000 Media Attribute a fmtp 101 0 15 Media Attribute a ptime 30 Media Attribute a sendrecv Frame 11 431 bytes on wire 431 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...

Страница 52: ... 168 2 13 5060 SIP 2 0 Message Header Frame 17 358 bytes on wire 358 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 200 OK Message Header Trace of SPA8800 ...

Страница 53: ... address sip 101 192 168 2 20 SIP tag 432331171f77868do0 To sip 85551313 192 168 2 20 tag as0f213285 SIP to address sip 85551313 192 168 2 20 SIP tag as0f213285 Call ID c6e3a35f e0a478e5 192 168 2 237 CSeq 101 INVITE User Agent Asterisk PBX Allow INVITE ACK CANCEL OPTIONS BYE REFER SUBSCRIBE NOTIFY Supported replaces Proxy Authenticate Digest algorithm MD5 realm asterisk nonce 05ce1ccc Authenticat...

Страница 54: ...ription Protocol Version v 0 Owner Creator Session Id o 3746361 3746361 IN IP4 192 168 2 237 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 100 101 Media Attribute a rtpmap 0 PCMU 8000 Media Attribute a rtpmap 2 G726 32 8000 Media Attribute a rtpmap 4 G723 8000 Media Attrib...

Страница 55: ... IN IP4 192 168 2 20 Session Name s session Connection Information c IN IP4 192 168 2 20 Time Description active time t 0 0 Media Description name and address m audio 13440 RTP AVP 0 3 8 112 5 10 7 110 111 101 Media Attribute a rtpmap 0 PCMU 8000 Media Attribute a rtpmap 3 GSM 8000 Media Attribute a rtpmap 8 PCMA 8000 Media Attribute a rtpmap 112 AAL2 G726 32 8000 Media Attribute a rtpmap 5 DVI4 8...

Страница 56: ...P tag e7777c28b5e7542i1 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 Call ID 3db967441067a5b61785c0606e95f7a0 192 168 2 20 CSeq 102 INVITE Via SIP 2 0 UDP 192 168 2 20 5060 branch z9hG4bK18bc3f3d Transport UDP Sent by Address 192 168 2 20 Sent by port 5060 Branch z9hG4bK18bc3f3d Contact SPA8k8Line2 sip ...

Страница 57: ...SIP tag as62288bf1 Call ID c6e3a35f e0a478e5 192 168 2 237 CSeq 102 INVITE User Agent Asterisk PBX Allow INVITE ACK CANCEL OPTIONS BYE REFER SUBSCRIBE NOTIFY Supported replaces Contact sip 85551313 192 168 2 20 Contact Binding sip 85551313 192 168 2 20 Content Type application sdp Content Length 380 Message Body Session Description Protocol Session Description Protocol Version v 0 Owner Creator Se...

Страница 58: ...32331171f77868do0 SIP Display info SPA8k8Phone1 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 103 BYE Max Forwards 70 Proxy Authorization Digest username 101 realm asterisk nonce 05ce1ccc uri sip 85551313 192 168 2 20 algorithm MD5 ...

Страница 59: ...551313 192 168 2 237 5161 tag e7777c28b5e7542i1 SIP to address sip 5551313 192 168 2 237 5161 SIP tag e7777c28b5e7542i1 Call ID 3db967441067a5b61785c0606e95f7a0 192 168 2 20 CSeq 103 BYE User Agent Asterisk PBX Max Forwards 70 Content Length 0 Frame 16 362 bytes on wire 362 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 ...

Страница 60: ...ipura replaces Content Type application sdp Message Body Frame 2 469 bytes on wire 469 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 5161 5161 Session Initiation Protocol Status Line SIP 2 0 100 Trying Message...

Страница 61: ... 237 Sent by port 5161 Branch z9hG4bK ac9b45ce Received 192 168 2 237 From SPA8k8Line2 sip pstn2 192 168 3 2 tag 26caa2f219d9f62eo1 SIP Display info SPA8k8Line2 SIP from address sip pstn2 192 168 3 2 SIP tag 26caa2f219d9f62eo1 To sip 101 192 168 2 20 tag as7788891d SIP to address sip 101 192 168 2 20 SIP tag as7788891d Call ID ab1e6542 d868981e 192 168 3 2 CSeq 101 INVITE Sequence Number 101 Metho...

Страница 62: ...37 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 200 OK Message Header To sip 101 192 168 2 237 5060 tag ecf57f6c3013369ei0 SIP to address sip 101 192 168 2 237 5060 SIP tag ecf57f6c3013369ei0 From SPA8k8Line2 sip pstn2 192 168 2 20 tag as7100bdb6 SIP Display info SPA8k8Line2 SIP from address sip pstn2 192 1...

Страница 63: ...88891d SIP to address sip 101 192 168 2 20 SIP tag as7788891d Call ID ab1e6542 d868981e 192 168 3 2 CSeq 101 INVITE Sequence Number 101 Method INVITE User Agent Asterisk PBX Allow INVITE ACK CANCEL OPTIONS BYE REFER SUBSCRIBE NOTIFY Supported replaces Contact sip 101 192 168 2 20 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 Type app...

Страница 64: ... 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 5160 5160 Dst Port sip 5060 Session Initiation Protocol Status Line SIP 2 0 200 OK Message Header To sip 102 192 168 2 237 5160 tag 3ac5a2f21de19e6ei0 SIP to address sip 102 192 168 2 237 5160 SIP tag 3ac5a2f21de19e6ei0 From asteris...

Страница 65: ... 20 Sent by port 5060 Branch z9hG4bK143a03f0 Server Cisco SPA8800 6 1 7 GW Content Length 0 Allow ACK BYE CANCEL INFO INVITE NOTIFY OPTIONS REFER Supported x sipura replaces Frame 15 542 bytes on wire 542 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 User D...

Страница 66: ...2 Transport UDP Sent by Address 192 168 2 237 Sent by port 5161 Branch z9hG4bK cdeab552 From SPA8k8Line2 sip pstn2 192 168 3 2 tag 26caa2f219d9f62eo1 SIP Display info SPA8k8Line2 SIP from address sip pstn2 192 168 3 2 SIP tag 26caa2f219d9f62eo1 To sip 101 192 168 2 20 tag as7788891d SIP to address sip 101 192 168 2 20 SIP tag as7788891d Call ID ab1e6542 d868981e 192 168 3 2 CSeq 102 BYE Sequence N...

Страница 67: ...37 5060 tag ecf57f6c3013369ei0 SIP to address sip 101 192 168 2 237 5060 SIP tag ecf57f6c3013369ei0 Call ID 1b7c71b81593c9cf71d3add640f41e61 192 168 2 20 CSeq 103 BYE Sequence Number 103 Method BYE User Agent Asterisk PBX Max Forwards 70 Content Length 0 Frame 20 360 bytes on wire 360 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 Interne...

Страница 68: ...000 Media Attribute Fieldname rtpmap Media Format 0 MIME Type PCMU This second trace shows the SDP information from a call made where 9985551212 was dialed where 8 is a steering digit Notice that the media type is image and the media format is t38 etc Session Initiation Protocol Request Line INVITE sip 85551212 192 168 2 236 SIP 2 0 Message Header Message Body Session Description Protocol Session ...

Страница 69: ...guration Web UI Admin Login Advanced Voice tab Browser File Save As save entire page as SPA8800Voice html Network tab Browser File Save As save entire page as SPA8800Network html B SPA8800 syslog log from debug output Web UI Admin Login Advanced System tab Syslog Debug Server and Debug Level 3 Line N SIP Debug Option Configuring this is described fully at https www myciscocommunity com docs DOC 54...

Отзывы: