03-24-2017 03:22 AM - edited 03-17-2019 09:53 AM
Dear Techies,
We need to configure an Extension and Direct Line on a Cisco 7941 IP Phone. The following configuration has been done, but neither the calls are falling on the direct line nor we are able to use the direct line thorough the Line Button on the phone.
Following is the configuration, that we are doing on the Router.
New Configuration | |
voice translation-rule 6 | |
rule 1 // /021151/ | dial-peer voice 23 voip |
! | translation-profile incoming SFB |
voice translation-profile SFB | answer-address 021151 |
translate called 6 | |
! | dial-peer voice 30 pots |
voice-port 0/2/0 | destination-pattern 29T |
translation-profile incoming SFB | port 0/2/0 |
supervisory disconnect dualtone mid-call | |
timeouts call-disconnect 0 | |
timeouts wait-release 2 | |
connection plar 3xxx | |
description "021151" | |
bearer-cap Speech | |
caller-id enable | |
dial-peer voice 10 pots | |
incoming called-number 021151 | |
direct-inward-dial | |
port 0/2/0 | |
dial-peer voice 20 voip | |
destination-pattern 021151 | |
progress_ind setup enable 3 | |
progress_ind progress enable 8 | |
session target ipv4:192.168.36.101 | |
codec g711ulaw | |
Can anyone, please help on this ?
Regards,
Farhan.
03-24-2017 04:14 AM
Are the calls getting disconnected ? Collect the debugs for a test call and post it here.
03-24-2017 06:11 AM
.
03-24-2017 06:11 AM
Are you using CUCM or CME ?
Regards
Abhay
03-27-2017 03:47 AM
!
03-27-2017 03:47 AM
Collect the debug voip ccapi inout and debug voip vtsp all.
Regards
Abhay
03-28-2017 01:31 AM
..
03-28-2017 01:31 AM
As per the debugs
++++++++
Calling Number=021xxxx51(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=903458944401(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=23, Progress Indication=NULL(0), Calling IE Present=TRUE,
Calling number 021xxxx51 calls 903458944401 , and hits the Incoming Dial-peer 23.
Call gets disconnected as it is not able to find the outbound dial-peer
*Mar 28 05:46:32.043: //98/0045E2B1C002/CCAPI/ccCallDisconnect:
Cause Value=3, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Mar 28 05:46:32.043: //98/0045E2B1C002/CCAPI/ccCallDisconnect:
Due to which the call does not get completed and gives an error code Cause Value=3, which is No route to destination (3). Configure the outbound dial-peer accordingly and test the call.
HTH
Regards
Abhay
03-28-2017 02:51 AM
.
03-28-2017 02:51 AM
As per this output that you have provided there are 4 dial-peers.
dial-peer voice 20 voip
dial-peer voice 23 voip
dial-peer voice 30 pots
dial-peer voice 10 pots
Called number is 903458944401, dial-peer 10 [Incoming] and 30 [Outgoing] which are Pots dial-peer, won't be matched as the number that you are dialing is not a match as per destination-pattern config.
Change the config accordingly and make a call.
HTH
Regards
Abhay
03-28-2017 04:24 AM
THanks
03-28-2017 04:24 AM
Provide the debugs for this new call.
Regards
Abhay
04-05-2017 12:30 AM
Thanks
03-24-2017 06:15 AM
Post full "show run" along with "debug voice ccapi inout".
04-05-2017 12:35 AM
.
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