Ciao a tutti, scrivo perchè cerco illuminazioni circa un problema che ho da un cliente.
Ho configurato un CCME con un modulo E1 che in uscita va benissimo ma per le chiamate in entrata mi sento il tono di libero.
Questa configurazione che vi posto la uso anche da altri clienti senza alcun problema ma qua nulla da fare.
voice translation-rule 1
rule 1 /xx100/ /400/
rule 2 /xx560/ /401/
rule 3 /xx055/ /402/
rule 4 /xx190/ /315/
rule 5 /xx113/ /303/
rule 6 /xx112/ /302/
rule 7 /xx114/ /304/
rule 8 /xx115/ /305/
rule 9 /.*/ /400/
!
!
voice translation-profile from-e1
translate called 1
!
controller E1 0/0/0
pri-group timeslots 1-31
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bchan-number-order ascending
no cdp enable
!
voice-port 0/0/0:15
translation-profile incoming from-e1
disc_pi_off
echo-cancel coverage 48
no vad
no comfort-noise
cptone IT
timeouts interdigit 3
description VOICE PORT PRI ISDN
bearer-cap Speech
!
!
dial-peer voice 1 pots
destination-pattern 0T
port 0/0/0:15
!
dial-peer voice 99 pots
incoming called-number 45T
direct-inward-dial
!
Qualcuno vede l'errore?
Grazie Pasqu.
CCME e chiamate in entrata sul primario
Moderatore: Federico.Lagni
- Pasqu
- Cisco fan
- Messaggi: 40
- Iscritto il: mer 24 gen , 2007 10:41 am
- Località: Verona
- Contatta:
-
- Network Emperor
- Messaggi: 313
- Iscritto il: gio 25 ott , 2007 6:14 pm
Ciao,
Da quello che vedo, trasli il numero chiamato a livello di voice-port, quindi non vedo la necessità della dial-peer 99. javascript:emoticon(':?')
Ad ogni modo, il problema che hai si verifica quando la chiamata in ingresso non matcha nessuna dial-peer, nota che anche gli ephone-dn sono rappresentati da dial-peer con numerazioni >2000, queste sono visibili con il comando sh dial-peer voice summary.
Per vederci più chiaro il mio consiglio é quello di eseguire un po' di debug. Ad esempio con il comando sh dialplan number seguito da un numero pubblico, il CCME ti resituisce la dial-peer su cui viene routata la chiamata in ingresso su quel dato numero.
Inoltre una seconda verifica da fare, é quella per la voice translation rule, da EXEC invia il comando test voice translation-rule 1 seguito dal numero pubblico, se la translation é ok, il CME ti indicherà quale regola matcha il numero e come questo venga poi traslato.
Tuttavia, eseguendo la translation a livello di voice-port, una buona mossa sarebbe abilitare il debug voice translation e/o il debug voip dialpeer in modo da verificare che che la traslation avvenga correttamente e che la chiamata venga "raccolta" dal giusto dial-peer.
Buona fortuna
Da quello che vedo, trasli il numero chiamato a livello di voice-port, quindi non vedo la necessità della dial-peer 99. javascript:emoticon(':?')
Ad ogni modo, il problema che hai si verifica quando la chiamata in ingresso non matcha nessuna dial-peer, nota che anche gli ephone-dn sono rappresentati da dial-peer con numerazioni >2000, queste sono visibili con il comando sh dial-peer voice summary.
Per vederci più chiaro il mio consiglio é quello di eseguire un po' di debug. Ad esempio con il comando sh dialplan number seguito da un numero pubblico, il CCME ti resituisce la dial-peer su cui viene routata la chiamata in ingresso su quel dato numero.
Inoltre una seconda verifica da fare, é quella per la voice translation rule, da EXEC invia il comando test voice translation-rule 1 seguito dal numero pubblico, se la translation é ok, il CME ti indicherà quale regola matcha il numero e come questo venga poi traslato.
Tuttavia, eseguendo la translation a livello di voice-port, una buona mossa sarebbe abilitare il debug voice translation e/o il debug voip dialpeer in modo da verificare che che la traslation avvenga correttamente e che la chiamata venga "raccolta" dal giusto dial-peer.
Buona fortuna

Lorbellu
- Pasqu
- Cisco fan
- Messaggi: 40
- Iscritto il: mer 24 gen , 2007 10:41 am
- Località: Verona
- Contatta:
Come evidenzia il debug, che volevo allegare ma il forum non me lo permette, il translation sembra funzionare infatti la chiamata su un numero esterno poi viene traslata al 315
Però nulla....
Feb 24 18:21:49.503: //-1/xxxxxxxxxxxx/CCAPI/ccAppShutdownMode:
ccAppShutdownMode: remove it from the queue
Feb 24 18:21:52.107: //-1/D7B12BF78010/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=xxxmio cellxxxx
cisco-anitype=0
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=1
dest=315
cisco-desttype=2
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
Feb 24 18:21:52.111: //-1/D7B12BF78010/CCAPI/cc_api_call_setup_ind_common:
Interface=0x489FBD38, Call Info(
Calling Number=xxxmio cellxxxx,(Calling Name=)(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=315(TON=National, NPI=ISDN),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE,
Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Feb 24 18:21:52.111: //-1/D7B12BF78010/CCAPI/ccCheckClipClir:
In: Calling Number=xxxmio cellxxxx(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
Feb 24 18:21:52.111: //-1/D7B12BF78010/CCAPI/ccCheckClipClir:
Out: Calling Number=xxxmio cellxxxx(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Feb 24 18:21:52.111: :cc_get_feature_vsa malloc success
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Feb 24 18:21:52.111: cc_get_feature_vsa count is 1
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Feb 24 18:21:52.111: :FEATURE_VSA attributes are: feature_name:0,feature_time:1235330200,feature_id:84
Feb 24 18:21:52.111: //3521/D7B12BF78010/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=xxxmio cellxxxx(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=315(TON=National, NPI=ISDN))
Feb 24 18:21:52.111: //3521/D7B12BF78010/CCAPI/cc_process_call_setup_ind:
Event=0x476B8240
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 315
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccCallSetContext:
Context=0x4644F71C
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 3521 with tag 1 to app "_ManagedAppProcess_Default"
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccCallSetupAck:
Call Id=3521
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_api_set_transfer_info:
Transfer Number=, Transfer Reason=0x0
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=TRUE, Tone=Dial Tone,
Tone Direction=Network, Params=0x0, Call Id=3521
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccSetDigitTimeouts:
Initial Digit Timeout=-1000(ms), Inter Digit Timeout=-1000(ms)
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccSetDigitTimeouts:
Call Entry(Inter Digit Timeout=10000(ms), Initial Digit Timeout=10000(ms))
Feb 24 18:21:52.115: //3521/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0xDC1, digit_event=0x1, enable=TRUE, consume=FALSE)
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=3521
Feb 24 18:21:52.115: //3521/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x489FBD38, callID=0xDC1, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x489FBD38, Call Id=3521
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=3000(ms))
Feb 24 18:21:52.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:21:52.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:21:52.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:21:58.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:22:00.651: %ISDN-6-DISCONNECT: Interface Serial0/0/0:13 disconnected from xxxmio cellxxxx , call lasted 8 seconds
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x489FBD38, Call Id=3521
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=FALSE, Cause Value=16, Retry Count=0)
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
Feb 24 18:22:00.659: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x489FBD38, Tag=0x0, Call Id=3521,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Feb 24 18:22:00.659: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Feb 24 18:22:00.659: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Feb 24 18:22:00.659: :cc_free_feature_vsa freeing 49A1A490
Feb 24 18:22:00.659: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Feb 24 18:22:00.659: vsacount in free is 0
Però nulla....
Feb 24 18:21:49.503: //-1/xxxxxxxxxxxx/CCAPI/ccAppShutdownMode:
ccAppShutdownMode: remove it from the queue
Feb 24 18:21:52.107: //-1/D7B12BF78010/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=xxxmio cellxxxx
cisco-anitype=0
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=1
dest=315
cisco-desttype=2
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
Feb 24 18:21:52.111: //-1/D7B12BF78010/CCAPI/cc_api_call_setup_ind_common:
Interface=0x489FBD38, Call Info(
Calling Number=xxxmio cellxxxx,(Calling Name=)(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=315(TON=National, NPI=ISDN),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE,
Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Feb 24 18:21:52.111: //-1/D7B12BF78010/CCAPI/ccCheckClipClir:
In: Calling Number=xxxmio cellxxxx(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
Feb 24 18:21:52.111: //-1/D7B12BF78010/CCAPI/ccCheckClipClir:
Out: Calling Number=xxxmio cellxxxx(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Feb 24 18:21:52.111: :cc_get_feature_vsa malloc success
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Feb 24 18:21:52.111: cc_get_feature_vsa count is 1
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Feb 24 18:21:52.111: :FEATURE_VSA attributes are: feature_name:0,feature_time:1235330200,feature_id:84
Feb 24 18:21:52.111: //3521/D7B12BF78010/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=xxxmio cellxxxx(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
Called Number=315(TON=National, NPI=ISDN))
Feb 24 18:21:52.111: //3521/D7B12BF78010/CCAPI/cc_process_call_setup_ind:
Event=0x476B8240
Feb 24 18:21:52.111: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 315
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccCallSetContext:
Context=0x4644F71C
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 3521 with tag 1 to app "_ManagedAppProcess_Default"
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccCallSetupAck:
Call Id=3521
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_api_set_transfer_info:
Transfer Number=, Transfer Reason=0x0
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=TRUE, Tone=Dial Tone,
Tone Direction=Network, Params=0x0, Call Id=3521
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccSetDigitTimeouts:
Initial Digit Timeout=-1000(ms), Inter Digit Timeout=-1000(ms)
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccSetDigitTimeouts:
Call Entry(Inter Digit Timeout=10000(ms), Initial Digit Timeout=10000(ms))
Feb 24 18:21:52.115: //3521/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0xDC1, digit_event=0x1, enable=TRUE, consume=FALSE)
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=3521
Feb 24 18:21:52.115: //3521/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x489FBD38, callID=0xDC1, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x489FBD38, Call Id=3521
Feb 24 18:21:52.115: //3521/D7B12BF78010/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=3000(ms))
Feb 24 18:21:52.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:21:52.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:21:52.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:21:58.207: %ISDN-6-CONNECT: Interface Serial0/0/0:13 is now connected to xxxmio cellxxxx N/A
Feb 24 18:22:00.651: %ISDN-6-DISCONNECT: Interface Serial0/0/0:13 disconnected from xxxmio cellxxxx , call lasted 8 seconds
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x489FBD38, Call Id=3521
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=FALSE, Cause Value=16, Retry Count=0)
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Feb 24 18:22:00.651: //3521/D7B12BF78010/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
Feb 24 18:22:00.659: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x489FBD38, Tag=0x0, Call Id=3521,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Feb 24 18:22:00.659: //3521/D7B12BF78010/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Feb 24 18:22:00.659: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Feb 24 18:22:00.659: :cc_free_feature_vsa freeing 49A1A490
Feb 24 18:22:00.659: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Feb 24 18:22:00.659: vsacount in free is 0
- mgentili
- Cisco power user
- Messaggi: 113
- Iscritto il: gio 19 ott , 2006 9:41 am
- Località: Lazio - Roma
ho dato uno sguardo al volo del debug, la chiamata entra con il dial-peer 1, prova ad inserire il direct-inward-dial e vedi cosa accade. Usa anche il debug voice ccapi inout, e controlla tutto il routing della chiamata.
Ciao
Ciao
| CCNA | CCDA | CCVP |
| Cisco Data Center Unified Computing Design Specialist |
| Cisco Data Center Networking Infrastructure Design Specialist |
| VMWARE VCP |
| Cisco Data Center Unified Computing Design Specialist |
| Cisco Data Center Networking Infrastructure Design Specialist |
| VMWARE VCP |
- Pasqu
- Cisco fan
- Messaggi: 40
- Iscritto il: mer 24 gen , 2007 10:41 am
- Località: Verona
- Contatta:
Ciao a tutti, ho risolto con questa configurazione:
voice-port 0/0/0:15
translation-profile incoming from-e1
disc_pi_off
echo-cancel coverage 48
no vad
no comfort-noise
cptone IT
timeouts interdigit 3
description VOICE PORT PRI ISDN
bearer-cap Speech
!
dial-peer voice 1 pots
destination-pattern 0T
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 5 pots
incoming called-number .T
direct-inward-dial
port 0/0/0:15
!
Ora però ho un secondo problema, perchè il called number non mi arriva completo ma senza le ultime 2 cifre?
Grazie Pasqu.
voice-port 0/0/0:15
translation-profile incoming from-e1
disc_pi_off
echo-cancel coverage 48
no vad
no comfort-noise
cptone IT
timeouts interdigit 3
description VOICE PORT PRI ISDN
bearer-cap Speech
!
dial-peer voice 1 pots
destination-pattern 0T
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 5 pots
incoming called-number .T
direct-inward-dial
port 0/0/0:15
!
Ora però ho un secondo problema, perchè il called number non mi arriva completo ma senza le ultime 2 cifre?
Grazie Pasqu.