cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2993
Views
0
Helpful
14
Replies

Direct Line Configuration

Syed Farhan Ali
Level 4
Level 4

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.

14 Replies 14

Are the calls getting disconnected ? Collect the debugs for a test call and post it here. 

Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle

.

Are you using CUCM or CME ?

Regards

Abhay

Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle

!

Collect the debug voip ccapi inout and debug voip vtsp all. 

Regards

Abhay

Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle

..

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

Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle

.

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

Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle

THanks

Provide the debugs for this new call.

Regards

Abhay

Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle

Thanks

Chris Deren
Hall of Fame
Hall of Fame

Post full "show run" along with "debug voice ccapi inout".

.