cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
543
Views
0
Helpful
2
Replies

Incoming not working with FXO

anis_cisco
Level 1
Level 1

Hi all,

I have CME having 4 FXO port ... my outgoing call is working fine.

im facing problem in incoming call ... the caller can hear the ring back tone but on fone its not ringing .... below is my config

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
fax protocol cisco
h323
!
voice translation-rule 1
rule 1 /^17530\(...\)/ /\1/
!
voice translation-rule 2
rule 1 // //
!
voice translation-profile PSTNIN
translate called 1
!
voice translation-profile PSTNOUT
translate calling 2
!
voice-port 0/0/0
translation-profile incoming PSTNOUT
translation-profile outgoing PSTNIN
supervisory disconnect dualtone mid-call
cptone GB
timeouts call-disconnect 1
timeouts wait-release 2
connection plar opx 0
impedance complex2
caller-id enable
!
!
dial-peer voice 1 pots
preference 1
destination-pattern 9.T
port 0/0/0
forward-digits 8
!
dial-peer voice 2 pots
description **** Incoming DP from PSTN ****
incoming called-number ...
direct-inward-dial

!
telephony-service
no auto-reg-ephone
max-ephones 35
max-dn 35
ip source-address 192.168.74.6 port 2000
auto assign 1 to 35
max-conferences 8 gain -6
transfer-system full-consult
secondary-dialtone 9
create cnf-files version-stamp 7960 Feb 15 2011 16:05:04
!
ephone-dn  35
number 702 secondary 17530702
label Test
description 17530702
!
ephone  35
no phone-ui speeddial-fastdial
no phone-ui snr
no multicast-moh
mac-address 0817.3514.B87D
button  1:35
!

can any body confirm me that either is this configuration issue or issue with my provider ???

Regards

2 Replies 2

anis_cisco
Level 1
Level 1

Below are the result of debug voice ccapi inout & debug voice translation:

BAH-CME#
BAH-CME#debug voice ccapi inout
BAH-CME#
*Feb 16 18:49:31.971: //-1/534C6BD08162/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=0
   dest=0
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-lastrdn=
   cisco-rdntype=0
   cisco-rdnplan=0
   cisco-rdnpi=0
   cisco-rdnsi=0
   cisco-redirectreason=0   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

*Feb 16 18:49:31.975: //-1/534C6BD08162/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x46F43DA0, Call Info(
   Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Scree
ned, Presentation=Allowed),
   Called Number=0(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFl
ag=TRUE,
   Incoming Dial-peer=1, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Ca
lling IE Present=FALSE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALS
E), Call Id=-1
*Feb 16 18:49:31.975: //-1/534C6BD08162/CCAPI/ccCheckClipClir:
   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Present
ation=Allowed)
*Feb 16 18:49:31.975: //-1/534C6BD08162/CCAPI/ccCheckClipClir:
   Out: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presen
tation=Allowed)
*Feb 16 18:49:31.975: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Feb 16 18:49:31.975: :cc_get_feature_vsa malloc success
*Feb 16 18:49:31.975: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Feb 16 18:49:31.975:  cc_get_feature_vsa count is 1
*Feb 16 18:49:31.975: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Feb 16 18:49:31.975: :FEATURE_VSA attributes are: feature_name:0,feature_time:1
227824944,feature_id:127
*Feb 16 18:49:31.975: //128/534C6BD08162/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, P
resentation=Allowed),
   Called Number=0(TON=Unknown, NPI=Unknown))
*Feb 16 18:49:31.979: //128/534C6BD08162/CCAPI/cc_process_call_setup_ind:
   Event=0x46F1E528
*Feb 16 18:49:31.979: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 0
*Feb 16 18:49:31.979: //128/534C6BD08162/CCAPI/ccCallSetContext:
   Context=0x460444A0
*Feb 16 18:49:31.979: //128/534C6BD08162/CCAPI/cc_process_call_setup_ind:
*Feb 16 18:49:31.979: //128/534C6BD08162/CCAPI/cc_process_call_setup_ind:
*Feb 16 18:49:31.983: //128/534C6BD08162/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
*Feb 16 18:49:31.991: //128/534C6BD08162/CCAPI/ccCallDisconnect:
   Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Ca
use=0)
*Feb 16 18:49:31.991: //128/534C6BD08162/CCAPI/ccCallDisconnect:
   Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
*Feb 16 18:49:31.991: //128/534C6BD08162/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
*Feb 16 18:49:33.995: //128/534C6BD08162/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x46F43DA0, Tag=0x0, Call Id=128,
   Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)
*Feb 16 18:49:33.995: //128/534C6BD08162/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
*Feb 16 18:49:33.995: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Feb 16 18:49:33.995: :cc_free_feature_vsa freeing 492F1F28
*Feb 16 18:49:33.995: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Feb 16 18:49:33.995:  vsacount in free is 0
BAH-CME#
BAH-CME#
BAH-CME#
BAH-CME#


****************************************************************************************

BAH-CME#debug voice translation
BAH-CME#
*Feb 16 18:51:45.931: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_voicepo
rt_internal: Found profile PSTNOUT defined on voice-port
*Feb 16 18:51:45.931: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal:
Matched with rule 1 in ruleset 2
*Feb 16 18:51:45.931: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: Successful substitution;
pattern= matchPattern= replacePattern= replaced pattern=
*Feb 16 18:51:45.931: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_type: Match Ty
pe = none, Replace Type = none Input Type = unknown
*Feb 16 18:51:45.931: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_plan: Match Pl
an = none, Replace Plan = none Input Plan = unknown
*Feb 16 18:51:45.935: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid tr
anslation ruleset tag=0
*Feb 16 18:51:45.935: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal:
Error: ruleset for called number not found
*Feb 16 18:51:45.935: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid tr
anslation ruleset tag=0
*Feb 16 18:51:45.935: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal:
Error: ruleset for redirect-called number not found
*Feb 16 18:51:45.939: //-1/A325B4378166/RXRULE/regxrule_stack_pop_RegXruleNumInf
o: stack=0x49151198; count=1
*Feb 16 18:51:45.939: //-1/A325B4378166/RXRULE/regxrule_stack_pop_callinfo_inter
nal: numinfo=0x4922AA08
*Feb 16 18:51:45.947: //-1/A325B4378166/RXRULE/regxrule_stack_push_RegXruleNumIn
fo_internal: stack=0x49151198; count=1
*Feb 16 18:51:47.955: //-1/A325B4378166/RXRULE/regxrule_stack_pop_RegXruleNumInf
o: stack=0x49151198; count=1
*Feb 16 18:51:47.955: //-1/A325B4378166/RXRULE/regxrule_stack_pop_callinfo_inter
nal: numinfo=0x4922AA08
BAH-CME#

********************************************************************************************

Try this out:

dial-peer voice 1 pots
preference 1
incoming called-number ....
port 0/0/0


dial-peer voice 2 VOIP
description **** Incoming DP from PSTN ****
destination-pattern ....
session traget ipv4:192.168.74.6
dtmf-relay h245-alphanumeric
codec g711ualaw
no vad

Add this with codec preferences of your choice:

voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
!
!
!
voice class h323 1
h225 timeout tcp establish 3

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: