Choose any of these login options:

The configuration of the Cisco Voip

The basic principle of VoIP is: the speech air-ap1262n-e-k9 data codes are compressed by voice compress algorithm, then the voice data according to TCP/IP standards for packaging, through IP network packets sent to the receiving, and then string these voice packets, after decompression treatment, restorethe original speech signal, thus achieve from the Internet to send voiceobjective.
The experimental environment: Cisco 3600 Router, 12.3 IOS.
The configuration of the Cisco Voip:
1: pre configuration
R2#
Interface Ethernet0/0
IP address 12.0.0.1 255.255.255.0
R5#
Interface Ethernet0/0
IP address 12.0.0.2 255.255.255.0
2: configure dial peer
R2 (config) #dial-peer voice 1 pots
/ / physical speech only and POTS dial peer association, of which 1 is a digital dial peer labels, the label must be unique in a router, and are valid only locally.
R2 (config-dial-peer) #port 1/1/1
/ / assign physical voice port to a POTS dial peer
R2 (config-dial-peer) #destination-pattern 111
/ / the phone number with the specified POTS port connected speech
R5 (config) #dial-peer voice 1 pots
R5 (config-dial-peer) #port 1/1/1
R5 (config-dial-peer) #destination-pattern 222
R5 (config-dial-peer) #exit
The 3:Voip dial peer
R2 (config) #dial-peer voice 2 VoIP
R2 (config-dial-peer) #destination-pattern 222
/ / is used to identify the remote telephone number
R2 (config-dial-peer) #session target ipv4:12.0.0.2
2 / when the router receives a number 22 from voice port, will add these numbers matched to peer 2, and instructs the router 1 of the calls are forwarded to the VOIP peer 12.0.0.2.
R5 (config) #dial-peer voice 2 VoIP
R5 (config-dial-peer) #session target ipv4:12.0.0.1
R5 (config-dial-peer) #destination-pattern 111
R5 (config-dial-peer) #exit
 
R2#debug voice rtcp
VOIP RTCP Debug - ALL debugging is on
R2#
*Mar 1 00:49:04.015: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:49:04.019: voip_rtcp_stats_req: rtcp_interval=4603
*Mar 1 00:49:04.019: voip_rtcp_stats_req:delay=60 rtt=2 
*Mar 1 00:49:04.019: voip_rtcp_stats_req: rtp_member ptr=0x63130850, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
R2#
*Mar 1 00:49:07.535: voip_rtcp_send_event: event=EV_CONTROL
*Mar 1 00:49:07.535: voip_rtcp_remove_ccb
*Mar 1 00:49:07.535: voip_rtcp_send_event: event=EV_DESTROY
*Mar 1 00:49:07.539: voip_rtcp_control
*Mar 1 00:49:07.543: voip_rtcp_destroy_idle
*Mar 1 00:49:07.543: voip_rtcp_close_session
*Mar 1 00:49:07.543: voip_rtcp_stop_session:
*Mar 1 00:49:07.543: voip_rtcp_stop_session: stop session
*Mar 1 00:49:07.543: voip_rtcp_stop_session: ERROR - Dest IP Addr=0, no RTCP pkt sent
*Mar 1 00:49:07.543: Cleaning up sess=6233B244, sp=19424, dp=0 
R2#debug voice rtcp
VOIP RTCP Debug - ALL debugging is on
R2#
*Mar 1 00:55:01.275: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:55:01.279: voip_rtcp_stats_req: rtcp_interval=4016
*Mar 1 00:55:01.279: voip_rtcp_stats_req:delay=60 rtt=0 
*Mar 1 00:55:01.279: voip_rtcp_stats_req: rtp_member ptr=0x62350CF0, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
R2#
*Mar 1 00:55:03.083: recv:
*Mar 1 00:55:03.083: SR: ssrc=0x3F00002 sr_ntp_h=0xAF3BD8F1 sr_ntp_l=0x6F17F5FD sr_timestamp=0x0 sr_npackets=479 sr_nbytes=9494
*Mar 1 00:55:03.083: SDES: ssrc=0x3F00002 name=1 len=14 data=0.0.0@12.0.0.2

*Mar 1 00:55:03.083: rtcp_round_trip_delay: ssrc=0xF6A0001
R2#
*Mar 1 00:55:05.295: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:55:05.299: voip_rtcp_stats_req: rtcp_interval=5056
*Mar 1 00:55:05.299: voip_rtcp_stats_req:delay=60 rtt=0 
*Mar 1 00:55:05.299: voip_rtcp_stats_req: rtp_member ptr=0x62350CF0, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
R2#
*Mar 1 00:55:09.103: recv:
*Mar 1 00:55:09.103: SR: ssrc=0x3F00002 sr_ntp_h=0xAF3BD8F7 sr_ntp_l=0x74ADF879 sr_timestamp=0x0 sr_npackets=594 sr_nbytes=11775
*Mar 1 00:55:09.103: SDES: ssrc=0x3F00002 name=1 len=14 data=0.0.0@12.0.0.2

*Mar 1 00:55:09.107: rtcp_round_trip_delay: ssrc=0xF6A0001
R2#
*Mar 1 00:55:10.355: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:55:10.359: voip_rtcp_stats_req: rtcp_interval=4210
*Mar 1 00:55:10.359: voip_rtcp_stats_req:delay=60 rtt=0 
*Mar 1 00:55:10.359: voip_rtcp_stats_req: rtp_member ptr=0x62350CF0, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
R2#
*Mar 1 00:55:12.643: recv:
*Mar 1 00:55:12.643: SR: ssrc=0x3F00002 sr_ntp_h=0xAF3BD8FA sr_ntp_l=0xFE5AE392 sr_timestamp=0x0 sr_npackets=685 sr_nbytes=13576
*Mar 1 00:55:12.643: SDES: ssrc=0x3F00002 name=1 len=14 data=0.0.0@12.0.0.2

*Mar 1 00:55:12.643: rtcp_round_trip_delay: ssrc=0xF6A0001
R2#
*Mar 1 00:55:14.003: voip_rtcp_send_event: event=EV_CONTROL
*Mar 1 00:55:14.007: voip_rtcp_remove_ccb
*Mar 1 00:55:14.007: voip_rtcp_send_event: event=EV_DESTROY
*Mar 1 00:55:14.011: voip_rtcp_control
*Mar 1 00:55:14.011: voip_rtcp_destroy_idle
*Mar 1 00:55:14.011: voip_rtcp_close_session
*Mar 1 00:55:14.011: voip_rtcp_stop_session:
*Mar 1 00:55:14.011: voip_rtcp_stop_session: stop session
*Mar 1 00:55:14.011: voip_rtcp_stop_session: ERROR - Dest IP Addr=0, no RTCP pkt sent
*Mar 1 00:55:14.011: Cleaning up sess=6233A30C, sp=18354, dp=0    
R2#
*Mar 1 00:55:19.423: voip_rtp_create_session: callID=19, dstCallID=-1 laddr=12.0.0.1, lport=19494,raddr=12.0.0.2, rport=17688, type=2, sig_tos=3, ip_tos=5
*Mar 1 00:55:19.427: voip_rtcp_get_cname: cname=0.0.0@12.0.0.1
*Mar 1 00:55:19.427: voip_rtcp_send_event: event=EV_NEW
*Mar 1 00:55:19.427: voip_rtcp_start_session:
*Mar 1 00:55:19.431: voip_rtcp_start_session: start session
*Mar 1 00:55:19.431: voip_rtcp_start_session: rtcp_interval=3661
R2#
*Mar 1 00:55:20.803: recv:
*Mar 1 00:55:20.803: SR: ssrc=0xB110002 sr_ntp_h=0xAF3BD903 sr_ntp_l=0x27572B26 sr_timestamp=0x0 sr_npackets=68 sr_nbytes=1360
*Mar 1 00:55:20.803: SDES: ssrc=0xB110002 name=1 len=14 data=0.0.0@12.0.0.2
*Mar 1 00:55:20.803: rtcp_round_trip_delay: ssrc=0x8880001
R2#
*Mar 1 00:55:23.095: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:55:23.099: voip_rtcp_stats_req: rtcp_interval=3470
*Mar 1 00:55:23.099: voip_rtcp_stats_req:delay=70 rtt=0 
*Mar 1 00:55:23.099: voip_rtcp_stats_req: rtp_member ptr=0x62352BB0, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
*Mar 1 00:55:24.091: recv:
*Mar 1 00:55:24.091: SR: ssrc=0xB110002 sr_ntp_h=0xAF3BD906 sr_ntp_l=0x7188DC22 sr_timestamp=0x0 sr_npackets=115 sr_nbytes=2271
*Mar 1 00:55:24.095: SDES: ssrc=0xB110002 name=1 len=14 data=0.0.0@12.0.0.2
*Mar 1 00:55:24.095: rtcp_round_trip_delay: ssrc=0x8880001
R2#
*Mar 1 00:55:26.575: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:55:26.579: voip_rtcp_stats_req: rtcp_interval=7015
*Mar 1 00:55:26.579: voip_rtcp_stats_req:delay=60 rtt=0 
*Mar 1 00:55:26.579: voip_rtcp_stats_req: rtp_member ptr=0x62352BB0, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
R2#
*Mar 1 00:55:28.303: recv:
*Mar 1 00:55:28.307: SR: ssrc=0xB110002 sr_ntp_h=0xAF3BD90A sr_ntp_l=0xA7C50E53 sr_timestamp=0x0 sr_npackets=229 sr_nbytes=4532
*Mar 1 00:55:28.307: SDES: ssrc=0xB110002 name=1 len=14 data=0.0.0@12.0.0.2
*Mar 1 00:55:28.307: rtcp_round_trip_delay: ssrc=0x8880001
R2#
*Mar 1 00:55:33.263: recv:
*Mar 1 00:55:33.263: SR: ssrc=0xB110002 sr_ntp_h=0xAF3BD90F sr_ntp_l=0x9D84BAD5 sr_timestamp=0x0 sr_npackets=320 sr_nbytes=6352
*Mar 1 00:55:33.267: SDES: ssrc=0xB110002 name=1 len=14 data=0.0.0@12.0.0.2
*Mar 1 00:55:33.267: rtcp_round_trip_delay: ssrc=0x8880001
*Mar 1 00:55:33.595: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:55:33.599: voip_rtcp_stats_req: rtcp_interval=5728
*Mar 1 00:55:33.599: voip_rtcp_stats_req:delay=60 rtt=0 
*Mar 1 00:55:33.599: voip_rtcp_stats_req: rtp_member ptr=0x62352BB0, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
R2#
*Mar 1 00:55:35.927: voip_rtcp_send_event: event=EV_CONTROL
*Mar 1 00:55:35.927: voip_rtcp_remove_ccb
*Mar 1 00:55:35.931: voip_rtcp_send_event: event=EV_DESTROY
*Mar 1 00:55:35.931: voip_rtcp_control
*Mar 1 00:55:35.935: voip_rtcp_destroy_idle
*Mar 1 00:55:35.935: voip_rtcp_close_session
*Mar 1 00:55:35.935: voip_rtcp_stop_session:
*Mar 1 00:55:35.935: voip_rtcp_stop_session: stop session
*Mar 1 00:55:35.935: voip_rtcp_stop_session: ERROR - Dest IP Addr=0, no RTCP pkt sent
*Mar 1 00:55:35.935: Cleaning up sess=62350F34, sp=19494, dp=0    
R2#
*Mar 1 00:55:38.275: voip_rtp_create_session: callID=20, dstCallID=-1 laddr=12.0.0.1, lport=18456,raddr=12.0.0.2, rport=16776, type=1, sig_tos=3, ip_tos=5
*Mar 1 00:55:38.279: voip_rtcp_get_cname: cname=0.0.0@12.0.0.1
*Mar 1 00:55:38.279: voip_rtcp_send_event: event=EV_NEW
*Mar 1 00:55:38.279: voip_rtcp_start_session:
*Mar 1 00:55:38.283: voip_rtcp_start_session: start session
*Mar 1 00:55:38.283: voip_rtcp_start_session: rtcp_interval=2941
R2#
*Mar 1 00:55:41.227: voip_rtcp_send_event: event=EV_STATS
*Mar 1 00:55:41.231: voip_rtcp_stats_req: rtcp_interval=2646
*Mar 1 00:55:41.231: voip_rtcp_stats_req:delay=70 rtt=0 
*Mar 1 00:55:41.231: voip_rtcp_stats_req: rtp_member ptr=0x0, 
rtp stream: previous lost packets=0, current lost packets=0 
total lost packets for the call=0
*Mar 1 00:55:41.483: recv:
*Mar 1 00:55:41.487: RR: ssrc=0x23AB0001 rr_loss=0x0 rr_ehsr=114 rr_jitter=560 rr_lsr=0xDD8D3B64 rr_dlsr=0x3F7C
*Mar 1 00:55:41.487: SDES: ssrc=0x2820002 name=1 len=14 data=0.0.0@12.0.0.2
*Mar 1 00:55:41.487: rtcp_round_trip_delay: ssrc=0x23AB0001
R2#
*Mar 1 00:55:41.487: RTT: now_mid_32=0xDD8D7D3C rr->rr_dlsr=0x3F7C rr->rr_lsr=0xDD8D3B64 rtt=9 (ms)
*Mar 1 00:55:42.755: recv:
*Mar 1 00:55:42.755: SDES: ssrc=0x2820002 name=1 len=14 data=0.0.0@12.0.0.2
*Mar 1 00:55:42.755: rtcp_round_trip_delay: ssrc=0x23AB0001
*Mar 1 00:55:42.943: voip_rtcp_send_event: event=EV_CONTROL
*Mar 1 00:55:42.943: voip_rtcp_remove_ccb
*Mar 1 00:55:42.947: voip_rtcp_send_event: event=EV_DESTROY
*Mar 1 00:55:42.951: voip_rtcp_control
*Mar 1 00:55:42.951: voip_rtcp_destroy_idle
*Mar 1 00:55:42.951: voip_rtcp_close_session
*Mar 1 00:55:42.951: voip_rtcp_stop_session:
*Mar 1 00:55:42.951: voip_rtcp_stop_session: stop session
*Mar 1 00:55:42.951: voip_rtcp_stop_session: ERROR - Dest IP Addr=0, no RTCP pkt sent
R2#
*Mar 1 00:55:42.955: Cleaning up sess=631308BC, sp=18456, dp=0   
 
R2#debug voip ccapi
R2#debug voip ccapi inout
voip ccAPI function enter/exit debugging is on
// Now put the
 telephone off hook, and test
*Mar 1 01:02:03.851: //35/2B9D6DD6802F/CCAPI/ccTDPvtProfileTableBuildManager: Invoking necessary profileTable updaters... 
*Mar 1 01:02:03.851: //-1/xxxxxxxxxxxx/CCAPI/ccTDPvtAddObjectToProfileBucket: profileTable[0x63133C80], tdObject[0x6313EED0]
*Mar 1 01:02:03.851: //-1/xxxxxxxxxxxx/CCAPI/ccTDDestructInstanceTDObject: tdObject[0x63122940] tagID[33]
*Mar 1 01:02:03.851: //35/2B9D6DD6802F/CCAPI/ccTDPvtProfileTableBuildManager: 
*Mar 1 01:02:03.855: ccTDUtilDumpAllElemInProfileTab: profileTable[0x63133C80], numBuckets[11], numEntries[3]
*Mar 1 01:02:03.855: Bucket { 0 } ------>0x6313B6B8[0x0,t-5,l-44,d-0x6313B6D8,m-4,u-3718,g-FACE0FFF]
*Mar 1 01:02:03.855: 
*Mar 1 01:02:03.855: Bucket { 3 } ------>0x6313090C[0x0,t-32,l-4,d-0x6313092C,m-2,u-3718,g-FACE0FFF]
*Mar 1 01:02:03.855: 
*Mar 1 01:02:03.855: Bucket { 8 } ------>0x6313EED0[0x0,t-33,l-4,d-0x6313EEF0,m-2,u-3723,g-FACE0FFF]
*Mar 1 01:02:03.855: 
*Mar 1 01:02:03.855: //35/2B9D6DD6802F/CCAPI/cc_api_call_connected: (vdbPtr=0x62DC8C98, callID=0x23), prog_ind = 2, cData->bitmask=0x0
*Mar 1 01:02:03.855: //35/2B9D6DD6802F/CCAPI/cc_api_call_connected: setting callEntry->connected to TRUE

*Mar 1 01:02:03.859: //35/xxxxxxxxxxxx/SSAPP:-1:-1/sess_appl: ev(8=CC_EV_CALL_CONNECTED), cid(35), disp(0)
*Mar 1 01:02:03.859: //35/2B9D6DD6802F/SSAPP:0:11/ssaTraceSct: cid(35)st(SSA_CS_CONFERENCED_ALERT)ev(SSA_EV_CALL_CONNECTED)
oldst(SSA_CS_CALL_SETTING)cfid(11)csize(0)in(0)fDest(0)
*Mar 1 01:02:03.859: //35/2B9D6DD6802F/SSAPP:0:11/ssaTraceSct: -cid2(34)st2(SSA_CS_CONFERENCED_ALERT)oldst2(SSA_CS_CONFERENCED_ALERT)
*Mar 1 01:02:03.859: //35/2B9D6DD6802F/SSAPP:0:11/ssaConnectAlert: .
*Mar 1 01:02:03.859: //34/2B9D6DD6802F/CCAPI/ccGetDialpeerTag: (callID=0x22)
*Mar 1 01:02:03.863: //34/2B9D6DD6802F/CCAPI/ccCallConnect: (callID=0x22), prog_ind=2, cData->bitmask=0x0
*Mar 1 01:02:03.863: //34/2B9D6DD6802F/CCAPI/ccCallConnect: setting callEntry->connected to TRUE

*Mar 1 01:02:03.863: //34/2B9D6DD6802F/SSAPP:1:11/ssaDebugPeers: ssaFlushPeerTagQueue cid(34) peer list: asa5555-2ssd120-k9 (empty)
More information about switch and router, please view :http://doing29.exteen.com/



share on: Share it! Tweet it! Stumble it! Digg it! Email it!  |  Permalink  |  lookafterpp in Uncategorized | Comment on this
Reader Comments

Post a Comment
Author:
Email:
(Optional)
  
lookafterpp
Reputation: 0 (0%)
Member Since:  Jul 2013
Last activity: 5/13/15, 6:05 pm