05-11-2012 04:55 AM - edited 03-16-2019 11:06 AM
Hi Everyone,
Got the outbound SIP working with my 2851 and call manager express 8. Inbound rings at the proper extension, but the calling phone gets a busy signal. I pulled a SIP trace and it says "Internal Server Error" but I can't figure out the problem, so I'm hoping one of the experts on here can point me in the right direction.
Thanks in advance!
David
Date: Thu, 10 May 2012 13:25:26 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Type: application/sdp
Content-Length: 285
v=0
o=root 7920 7920 IN IP4 74.63.41.218
s=session
c=IN IP4 74.63.41.218
t=0 0
m=audio 16466 RTP/AVP 0 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
May 10 09:24:55.889: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 74.63.41.218:5060;branch=z9hG4bK76b5a7c9;rport
From: "5163193019" <sip:5163193019@74.63.41.218>;tag=as0a195cd3
To: <sip:5164038959@96.250.50.2xx:5060>
Date: Thu, 10 May 2012 09:24:55 GMT
Call-ID: 21789578522fa0d02d991cd52d3b083f@74.63.41.218
CSeq: 102 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
May 10 09:24:55.889: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
[b]SIP/2.0 500 Internal Server Error[/b]
Via: SIP/2.0/UDP 74.63.41.218:5060;branch=z9hG4bK76b5a7c9;rport
From: "5163193019" <sip:5163193019@74.63.41.218>;tag=as0a195cd3
To: <sip:5164038959@96.250.50.2xx:5060>;tag=3EFA410-119D
Date: Thu, 10 May 2012 09:24:55 GMT
Call-ID: 21789578522fa0d02d991cd52d3b083f@74.63.41.218
CSeq: 102 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
May 10 09:24:55.897: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:5164038959@96.250.50.2xx:5060 SIP/2.0
Via: SIP/2.0/UDP 74.63.41.218:5060;branch=z9hG4bK76b5a7c9;rport
From: "5163193019" <sip:5163193019@74.63.41.218>;tag=as0a195cd3
To: <sip:5164038959@96.250.50.2xx:5060>;tag=3EFA410-119D
Contact: <sip:5163193019@74.63.41.218>
Call-ID: 21789578522fa0d02d991cd52d3b083f@74.63.41.218
CSeq: 102 ACK
User-Agent: VoIPMS/SERAST
Max-Forwards: 70
Remote-Party-ID: "5163193019" <sip:5163193019@74.63.41.218>;privacy=off;screen=no
Content-Length: 0
CONFIG:
------------------ show version ------------------ Cisco IOS Software, 2800 Software (C2800NM-IPVOICEK9-M), Version 15.1(1)T, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Mon 22-Mar-10 01:25 by prod_rel_team ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1) CME uptime is 8 hours, 31 minutes System returned to ROM by power-on System image file is "flash:c2800nm-ipvoicek9-mz.151-1.T.bin" Last reload type: Normal Reload This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. Cisco 2851 (revision 53.51) with 512000K/12288K bytes of memory. Processor board ID FTX1212A1DS 2 Gigabit Ethernet interfaces 1 terminal line 4 Voice FXO interfaces 1 cisco service engine(s) DRAM configuration is 64 bits wide with parity enabled. 239K bytes of non-volatile configuration memory. 250880K bytes of ATA CompactFlash (Read/Write) License Info: License UDI: ------------------------------------------------- Device# PID SN ------------------------------------------------- *0 CISCO2851 FTX1212A1DS Configuration register is 0x2102 ------------------ show running-config ------------------ Building configuration... Current configuration : 8958 bytes ! ! Last configuration change at 03:45:25 UTC Fri May 11 2012 by david ! version 15.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname CME ! boot-start-marker boot-end-marker ! enable secret 5 <removed> enable password <removed> ! no aaa new-model no network-clock-participate slot 1 ! dot11 syslog ip source-route ! ! ip cef no ip dhcp use vrf connected ip dhcp excluded-address 172.16.1.1 172.16.1.10 ! ip dhcp pool VOICE network 172.16.1.0 255.255.255.0 default-router 172.16.1.1 option 150 ip 172.16.1.1 ! ! ip domain name ipolawgroup.com ip name-server 4.2.2.2 no ipv6 cef multilink bundle-name authenticated ! ! ! ! ! ! voice rtp send-recv ! voice service voip gcid clid substitute name allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip no supplementary-service sip moved-temporarily no supplementary-service sip refer sip e911 transport switch udp tcp asserted-id ppi midcall-signaling passthru no call service stop ! voice class codec 1 codec preference 1 g729r8 codec preference 2 g711ulaw codec preference 3 g711alaw ! voice class h323 1 telephony-service ccm-compatible ccm-compatible ! ! ! ! voice translation-rule 2 rule 1 /105/ /5164038926/ ! voice translation-rule 3 rule 1 /5164038959/ /105/ ! ! voice translation-profile INCOMING ! ! voice-card 0 ! voice-card 1 ! crypto pki token default removal timeout 0 ! ! ! ! license udi pid CISCO2851 sn FTX1212A1DS archive log config hidekeys username cisco privilege 15 password 0 <removed> ! ! ! ! ! ! ! interface GigabitEthernet0/0 description LAN_INTERFACE ip address 172.16.1.1 255.255.255.0 ip nat inside ip virtual-reassembly duplex auto speed auto no mop enabled ! interface Service-Engine0/1 ip address 172.16.200.1 255.255.255.252 service-module ip address 172.16.200.2 255.255.255.252 service-module ip default-gateway 172.16.200.1 ! interface GigabitEthernet0/1 description WAN_INTERFACE ip address xx.xxx.xx.xxx 255.255.255.0 ip nat outside ip virtual-reassembly duplex auto speed auto no mop enabled ! ip forward-protocol nd ! ip http server ip http access-class 10 ip http authentication local no ip http secure-server ip http path flash: ! ip nat inside source list 1 interface GigabitEthernet0/1 overload ip route 0.0.0.0 0.0.0.0 xx.xxx.xx.x ip route 10.10.1.0 255.255.255.0 172.16.1.254 ! access-list 1 permit 172.16.1.0 0.0.0.255 dialer-list 1 protocol ip permit ! ! tftp-server flash:term06.default.loads tftp-server flash:term41.default.loads tftp-server flash:P00308010200.bin alias P00308010200.bin tftp-server flash:P00308010200.loads alias P00308010200.loads tftp-server flash:P00308010200.sb2 alias P00308010200.sb2 tftp-server flash:P00308010200.sbn alias P00308010200.sbn tftp-server flash:term42.default.loads tftp-server flash:term62.default.loads tftp-server flash:term45.default.loads tftp-server flash:term65.default.loads tftp-server flash:term70.default.loads tftp-server flash:term71.default.loads tftp-server flash:/Ringtones/DistinctiveRingList.xml alias DistinctiveRingList.xml tftp-server flash:/Ringtones/AreYouThereF.raw alias AreYouThereF.raw tftp-server flash:/Ringtones/FilmScore.raw alias FilmScore.raw tftp-server flash:/Ringtones/HarpSynth.raw alias HarpSynth.raw tftp-server flash:/Ringtones/Jamaica.raw alias Jamaica.raw tftp-server flash:/Ringtones/KotoEffect.raw alias KotoEffect.raw tftp-server flash:/Ringtones/MusicBox.raw alias MusicBox.raw tftp-server flash:/Ringtones/Piano1.raw alias Piano1.raw tftp-server flash:/Ringtones/Piano2.raw alias Piano2.raw tftp-server flash:/Ringtones/Pop.raw alias Pop.raw tftp-server flash:/Ringtones/Pulse1.raw alias Pulse1.raw tftp-server flash:/Ringtones/Ring1.raw alias Ring1.raw tftp-server flash:/Ringtones/Ring2.raw alias Ring2.raw tftp-server flash:/Ringtones/Ring3.raw alias Ring3.raw tftp-server flash:/Ringtones/Ring4.raw alias Ring4.raw tftp-server flash:/Ringtones/Ring6.raw alias Ring6.raw tftp-server flash:/Ringtones/Ring7.raw alias Ring7.raw tftp-server flash:/Ringtones/Sax1.raw alias Sax1.raw tftp-server flash:/Ringtones/Sax2.raw alias Sax2.raw tftp-server flash:/Ringtones/Vibe.raw alias Vibe.raw tftp-server flash:/Ringtones/RingList.xml alias RingList.xml tftp-server flash:/Ringtones/Analog1.raw alias Analog1.raw tftp-server flash:/Ringtones/Analog2.raw alias Analog2.raw tftp-server flash:/Ringtones/AreYouThere.raw alias AreYouThere.raw tftp-server flash:/Ringtones/Bass.raw alias Bass.raw tftp-server flash:/Ringtones/CallBack.raw alias CallBack.raw tftp-server flash:/Ringtones/Chime.raw alias Chime.raw tftp-server flash:/Ringtones/Classic1.raw alias Classic1.raw tftp-server flash:/Ringtones/Classic2.raw alias Classic2.raw tftp-server flash:/Ringtones/ClockShop.raw alias ClockShop.raw tftp-server flash:/Ringtones/Drums1.raw alias Drums1.raw tftp-server flash:/Ringtones/Drums2.raw alias Drums2.raw ! control-plane ! ! voice-port 1/0/0 connection plar opx 102 caller-id enable ! voice-port 1/0/1 ! voice-port 1/0/2 ! voice-port 1/0/3 ! ccm-manager music-on-hold ! ! ! dial-peer voice 100 voip description DIAL_PEER_TO_CUE destination-pattern 77[5-9] session protocol sipv2 session target ipv4:172.16.200.2 dtmf-relay sip-notify codec g711ulaw no vad ! dial-peer voice 10 pots description POTS_DIAL_PEER_OUTGOING destination-pattern 1[2-9]..[2-9]...... port 1/0/0 ! dial-peer voice 1 voip incoming called-number 51640389.. voice-class sip asserted-id ppi no voice-class sip block 180 no voice-class sip block 183 no voice-class sip block 181 voice-class sip pass-thru headers unsupp voice-class sip pass-thru content unsupp voice-class sip pass-thru content sdp dtmf-relay rtp-nte ! dial-peer voice 2 voip destination-pattern [2-9]..[2-9]...... session protocol sipv2 session target ipv4:74.63.41.218 session transport udp voice-class sip asserted-id ppi no voice-class sip block 180 no voice-class sip block 183 no voice-class sip block 181 voice-class sip pass-thru headers unsupp voice-class sip pass-thru content unsupp voice-class sip pass-thru content sdp dtmf-relay rtp-nte codec g711ulaw ! ! ! telephony-service authentication credential cisco cisco max-ephones 30 max-dn 45 ip source-address 172.16.1.1 port 2000 system message IPO Law Group url services http://172.16.200.2/voiceview/common/login.do url authentication http://172.16.200.1/CCMCIP/authenticate.asp cnf-file location flash: load 7960-7940 P00308010200 load 7941 term41.default.loads load 7942 term42.default.loads load 7945 term70.default.loads load 7961 term06.default.loads load 7962 term62.default.loads load 7965 term71.default.loads max-conferences 4 gain -6 moh flash:music-on-hold.au multicast moh 239.1.1.1 port 2000 web admin system name cisco password <removed> dn-webedit time-webedit transfer-system full-consult create cnf-files version-stamp Jan 01 2002 00:00:00 ! ! ephone-dn 1 dual-line number 101 call-forward noan 777 timeout 16 ! ! ephone-dn 2 dual-line number 102 call-forward busy 777 call-forward noan 777 timeout 16 ! ! ephone-dn 3 dual-line number 103 call-forward busy 777 call-forward noan 777 timeout 16 ! ! ephone-dn 4 dual-line number 104 ! ! ephone-dn 5 dual-line number 5164038959 description DID 1 VOIPMS ! ! ephone-dn 6 dual-line number 106 ! ! ephone-dn 7 dual-line number 107 ! ! ephone-dn 8 dual-line number 108 ! ! ephone-dn 9 dual-line number 109 ! ! ephone-dn 10 dual-line number 110 ! ! ephone-dn 11 dual-line number 111 ! ! ephone-dn 12 dual-line number 112 ! ! ephone-dn 13 dual-line number 113 ! ! ephone-dn 14 dual-line number 114 ! ! ephone-dn 15 dual-line number 115 ! ! ephone-dn 16 dual-line number 116 ! ! ephone-dn 17 dual-line number 117 ! ! ephone-dn 18 dual-line number 118 ! ! ephone-dn 19 dual-line number 119 ! ! ephone-dn 20 dual-line number 120 ! ! ephone-dn 21 dual-line number 121 ! ! ephone-dn 22 dual-line number 122 ! ! ephone-dn 23 dual-line number 123 ! ! ephone-dn 24 dual-line number 124 ! ! ephone-dn 25 dual-line number 125 ! ! ephone-dn 26 dual-line number 126 ! ! ephone-dn 27 dual-line number 127 ! ! ephone-dn 28 dual-line number 128 ! ! ephone-dn 29 dual-line number 129 ! ! ephone-dn 30 dual-line number 130 ! ! ephone 2 mac-address 0013.60B5.26F1 username "user2" type 7960 button 1:2 ! ! ! ephone 3 mac-address 000E.D759.515C type 7940 button 1:3 2:5 ! ! ! line con 0 line aux 0 line 258 no activation-character no exec transport preferred none transport input all transport output pad telnet rlogin lapb-ta mop udptn v120 ssh line vty 0 4 password <removed> login local transport input ssh ! scheduler allocate 20000 1000 end
Solved! Go to Solution.
05-16-2012 05:07 PM
You are the BEST!
I removed those 3 from dial-peer 1 and sure enough, no more dial tone, and incoming calling works!!
Thanks! (and sleep well)
05-16-2012 05:09 PM
I am glad it worked..Those configurations were causing wrong codecs to be used. Please dont forget to rate the posts!
05-17-2012 05:42 AM
Hey Deji,
Great work here my friend I've given you a +10 for this outstanding
support! It's help like this that makes CSC so great!
Cheers!
Rob
"Everything is broken" - Bob Dylan
05-17-2012 06:13 AM
Rob,
This is so encouraging from you! Thank you very much. It brings a lot of joy to put smiles on faces, especially when that's the last thing you do before going to bed
Let me say once again, you have been tremendous on this forum.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide