cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1669
Views
0
Helpful
7
Replies

Incoming Call via Trunk SIP

jchevalon
Level 1
Level 1

Dear,

I installed a 2901 ISR with a SIP Trunk from an external supplier

Outgoing call work perfectly, but incoming call does not work.

External number is: 41225522480 to 9

Internal number: 480->489

Here is my translation rules:

!
voice translation-rule 1
rule 1 /^00/ /0/
!
voice translation-rule 2
rule 1 /^48\(.\)/ /4122552248\1/
!
voice translation-rule 3
rule 1 /^412255224\(..\)/ /4\1/
!
voice translation-rule 4
rule 1 /^.*/ /0\0/
!
!
voice translation-profile ESGVA
translate calling 2
translate called 1
!
voice translation-profile Incoming
translate calling 4
translate called 3
!

And my dial peer:

dial-peer voice 1 voip
description Peoplefone
translation-profile incoming Incoming
translation-profile outgoing ESGVA
destination-pattern 0T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
codec g711ulaw
!

Finally, Here are the logs that I have when calling:

*Apr 8 10:57:45.487: //-1/8F17A2D483F9/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=0791989090 
----- ccCallInfo IE subfields -----
cisco-ani=0791989090
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=41225522480
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

*Apr 8 10:57:45.487: //-1/8F17A2D483F9/CCAPI/cc_api_call_setup_ind_common:
Interface=0x3EA0B9D4, Call Info(
Calling Number=0791989090,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41225522480(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
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=948
*Apr 8 10:57:45.487: //-1/8F17A2D483F9/CCAPI/ccCheckClipClir:
In: Calling Number=0791989090(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 8 10:57:45.487: //-1/8F17A2D483F9/CCAPI/ccCheckClipClir:
Out: Calling Number=0791989090(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 8 10:57:45.487: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 8 10:57:45.487: :cc_get_feature_vsa malloc success
*Apr 8 10:57:45.487: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 8 10:57:45.487: cc_get_feature_vsa count is 1
*Apr 8 10:57:45.487: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 8 10:57:45.487: :FEATURE_VSA attributes are: feature_name:0,feature_time:972287304,feature_id:30
*Apr 8 10:57:45.491: //948/8F17A2D483F9/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=0791989090(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41225522480(TON=Unknown, NPI=Unknown))
*Apr 8 10:57:45.491: //948/8F17A2D483F9/CCAPI/cc_process_call_setup_ind:
Event=0x3EE49B38
*Apr 8 10:57:45.491: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 41225522480
*Apr 8 10:57:45.491: //948/8F17A2D483F9/CCAPI/ccCallSetContext:
Context=0x21047B20
*Apr 8 10:57:45.491: //948/8F17A2D483F9/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 948 with tag 1 to app "_ManagedAppProcess_TOLLFRAUD_APP"
*Apr 8 10:57:45.491: //948/8F17A2D483F9/CCAPI/ccCallDisconnect:
Cause Value=21, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Apr 8 10:57:45.491: //948/8F17A2D483F9/CCAPI/ccCallDisconnect:
Cause Value=21, Call Entry(Responsed=TRUE, Cause Value=21)
*Apr 8 10:57:45.507: //948/8F17A2D483F9/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x3EA0B9D4, Tag=0x0, Call Id=948,
Call Entry(Disconnect Cause=21, Voice Class Cause Code=0, Retry Count=0)
*Apr 8 10:57:45.507: //948/8F17A2D483F9/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Apr 8 10:57:45.507: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Apr 8 10:57:45.507: :cc_free_feature_vsa freeing 39F3ED40
*Apr 8 10:57:45.507: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Apr 8 10:57:45.507: vsacount in free is 0

Does anyone know what could cause problems?

Thanks in advance for your help

Regards

Julien

1 Accepted Solution

Accepted Solutions

Called number coming from PSTN is 41225528880 one extra 8, see below:

Called Number=41225528880(TON=Unknown, NPI=Unknown),

which then converts to 8880 hence its not working

Called Number=8880(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

Correct your rule to below:


voice translation-rule 3
rule 1 /^412255288\(..\)/ /8\1/

Regards

Deepak

View solution in original post

7 Replies 7

Deepak Rawat
Cisco Employee
Cisco Employee

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/112083-tollfraud-ios.html#

Regards

Deepak

Hi,

it is ok now concerning tollfraud, but it seem the translation rules do not work.

Log:

cc_api_call_setup_ind_common:
cisco-username=0844113333
----- ccCallInfo IE subfields -----
cisco-ani=0844113333
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=41225528880
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

*Apr 13 09:37:40.835: //-1/335CB79480A6/CCAPI/cc_api_call_setup_ind_common:
Interface=0x227175D4, Call Info(
Calling Number=0844113333,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41225528880(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
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=121
*Apr 13 09:37:40.839: //-1/335CB79480A6/CCAPI/ccCheckClipClir:
In: Calling Number=0844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 13 09:37:40.839: //-1/335CB79480A6/CCAPI/ccCheckClipClir:
Out: Calling Number=0844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 13 09:37:40.839: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 09:37:40.839: :cc_get_feature_vsa malloc success
*Apr 13 09:37:40.839: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 09:37:40.839: cc_get_feature_vsa count is 1
*Apr 13 09:37:40.839: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 09:37:40.839: :FEATURE_VSA attributes are: feature_name:0,feature_time:593813456,feature_id:12
*Apr 13 09:37:40.839: //121/335CB79480A6/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=0844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41225528880(TON=Unknown, NPI=Unknown))
*Apr 13 09:37:40.839: //121/335CB79480A6/CCAPI/cc_process_call_setup_ind:
Event=0x3E9A5F70
*Apr 13 09:37:40.839: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 41225528880
*Apr 13 09:37:40.839: //121/335CB79480A6/CCAPI/ccCallSetContext:
Context=0x21B5BBEC
*Apr 13 09:37:40.839: //121/335CB79480A6/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 121 with tag 1 to app "_ManagedAppProcess_Default"
*Apr 13 09:37:40.839: //121/335CB79480A6/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
*Apr 13 09:37:40.839: //121/335CB79480A6/CCAPI/ccCallDisconnect:
Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Apr 13 09:37:40.839: //121/335CB79480A6/CCAPI/ccCallDisconnect:
Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
*Apr 13 09:37:40.855: //121/335CB79480A6/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x227175D4, Tag=0x0, Call Id=121,
Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)
*Apr 13 09:37:40.855: //121/335CB79480A6/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Apr 13 09:37:40.855: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Apr 13 09:37:40.855: :cc_free_feature_vsa freeing 2364DFC8
*Apr 13 09:37:40.855: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Thanks for your help

Well in this particular case, the called number as per the logs is coming as 41225528880 that actually does not match any translation rule. Can you make sure correct number is being dialed out that falls in the range of 41225522480 to 9.

Also if you dial the correct number and that still does not work, try below:

dial-peer voice 2 voip
session protocol sipv2
incoming called-number 4122552248[0-9]
destination-pattern 48[0-9]
translation-profile incoming Incoming
session target ipv4:<IP Address of CM server>

One more thing, make sure the incoming CSS of SIP Trunk can reach the desired phones

Regards

Deepak

Ho sorry the provider have changed the range, now it is: 41225528880 ->9

i have change the configuration with your recommandation, but still do not work:

Actual Configuration:

ESGVA#Show run
Building configuration...


Current configuration : 7639 bytes
!
! Last configuration change at 11:23:57 Paris Wed Apr 13 2016 by admin
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ESGVA
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
!
!
!
!
!
aaa session-id common
clock timezone Paris 1 0
clock summer-time Paris date Mar 30 2003 2:00 Oct 26 2003 3:00
!
!
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool ccp-pool
import all
network 10.10.10.0 255.255.255.128
default-router 10.10.10.1
lease 0 2
!
!
!
ip domain name sip.peoplefone.ch
ip name-server 8.8.4.4
ip name-server 8.8.8.8
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
cts logging verbose
!
crypto pki trustpoint TP-self-signed-2875939979
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2875939979
revocation-check none
rsakeypair TP-self-signed-2875939979
!
!
crypto pki certificate chain TP-self-signed-2875939979
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32383735 39333939 3739301E 170D3135 31323137 31393238
33375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 38373539
33393937 3930819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100B220 AB83AEB6 07F9797C 48BD3C7E BEAE0404 350BC4DD 7C566E2C 24A3F0D2
D408761A 386E52D1 0345ACF4 5FA618DE 97776742 A349AF7D 3502712C 3EC4ACEE
1709448B FED4E91C FDDFE23C 40BD6729 239C9C02 268120A2 33ACD413 9090200B
BEAA14B7 A989CBB1 29BCE472 45CF54D0 E937D433 F7537FDE C738B678 D0A8DA80
15E90203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 14A54BF8 4AF09754 B479F82D B83EE84B DC4A9F9F 3D301D06
03551D0E 04160414 A54BF84A F09754B4 79F82DB8 3EE84BDC 4A9F9F3D 300D0609
2A864886 F70D0101 05050003 8181001D 78169760 632664ED FA5F2E5E D0491235
82D91BEC 15F119F6 83A948C3 C82CB1E0 29357249 EBF3954E 6165D035 E94DD928
AE27B54E BFD5D730 E000F27A B1C77A02 2CCCB903 0AD54BD0 2B4DB92F F3D51CD7
8B944E33 C35CE9BF 1393B3E5 14045C83 FAC61370 576A8EED 65379004 77290EDB
A979D0D7 4481BC0D 8E382884 70540D
quit
voice-card 0
!
!
!
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
allow-connections sip to sip
no supplementary-service sip handle-replaces
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface GigabitEthernet0/1
bind media source-interface GigabitEthernet0/1
outbound-proxy dns:sip.peoplefone.ch
no silent-discard untrusted
!
!
!
!
!
!
voice translation-rule 1
rule 1 /^00/ /0/
!
voice translation-rule 2
rule 1 /^88\(.\)/ /4122552888\1/
!
voice translation-rule 3
rule 1 /^41225528\(..\)/ /8\1/
!
voice translation-rule 4
rule 1 /^.*/ /0\0/
!
!
voice translation-profile ESGVA
translate calling 2
translate called 1
!
voice translation-profile Incoming
translate calling 4
translate called 3
!
!
!
license udi pid CISCO2901/K9 sn FCZ1951C1AK
hw-module pvdm 0/0
!
!
!
username admin privilege 15 secret 5 $1$Fv/k$TotEbGXrOgPsIbAD2g7nG1
!
redundancy
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 10.10.10.1 255.255.255.128
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
description $ETH-WAN$
ip address 192.168.10.252 255.255.255.0
duplex auto
speed auto
!
ip forward-protocol nd
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip route 0.0.0.0 0.0.0.0 192.168.10.1
!
!
!
access-list 23 permit 80.80.237.68
access-list 23 permit 10.10.10.0 0.0.0.255
access-list 23 remark Eightstone Network
access-list 23 permit 192.168.10.0 0.0.0.255
!
!
!
control-plane
!
call threshold global cpu-avg low 68 high 75
call threshold global total-mem low 75 high 85
call threshold global total-calls low 18 high 20
!
!
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 1 voip
description Peoplefone
translation-profile incoming Incoming
translation-profile outgoing ESGVA
destination-pattern 0T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 2 voip
translation-profile incoming Incoming
destination-pattern 88[0-9]
session protocol sipv2
session target sip-server
incoming called-number 4122552888[0-9]
dtmf-relay rtp-nte
codec g711ulaw
!
!
sip-ua
credentials username 90751109738 password 7 152B0D590C720A7D26662D1B19 realm sip.peoplefone.ch
authentication username 90751109738 password 7 142E145E045C0B722A7D2B0C28
no remote-party-id
registrar dns:sip.peoplefone.ch expires 3600
sip-server dns:sip.peoplefone.ch
host-registrar
!
!
!
gatekeeper
shutdown
!
!
telephony-service
no auto-reg-ephone
max-ephones 35
max-dn 35
ip source-address 192.168.10.252 port 2000
max-redirect 5
timeouts interdigit 5
cnf-file location flash:
time-zone 23
time-format 24
date-format dd-mm-yy
max-conferences 8 gain -6
web admin system name admin secret 5 $1$Mkhy$OyljPxgTBGmYbvQWrz/pP.
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn 1 dual-line
number 880
label Standard
!
!
ephone-dn 2 dual-line
number 881 secondary 41225522881 no-reg both
label 881
!
!
ephone-dn 3 dual-line
number 882 secondary 41225528882 no-reg both
label 882
!
!
ephone-dn 4 dual-line
number 883 secondary 41225528883 no-reg both
label 883
!
!
ephone 1
mac-address 188B.4518.C781
type 7965
button 1:1
!
!
!
ephone 2
mac-address 188B.4518.E406
type 7965
button 1:2
!
!
!
ephone 3
mac-address 188B.4518.C507
type 7965
button 1:3
!
!
!
ephone 4
mac-address 188B.4518.6E14
type 7965
button 1:4
!
!
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------

Cisco Configuration Professional (Cisco CP) is installed on this device
and it provides the default username "cisco" for one-time use. If you have
already used the username "cisco" to login to the router and your IOS image
supports the "one-time" user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.

username <myuser> privilege 15 secret 0 <mypassword>

Replace <myuser> and <mypassword> with the username and password you want to
use.

-----------------------------------------------------------------------
^C
banner login ^C
RESTRICTED ACCESS !
This is a private system; leave now if you are not explicitly authorized !
^C
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
access-class 23 in
transport input telnet ssh
line vty 5 15
access-class 23 in
transport input telnet ssh
!
scheduler allocate 20000 1000
ntp update-calendar
ntp server 192.168.10.250 source GigabitEthernet0/1
!
end

And log when i make a test call:

*Apr 13 10:26:31.127: //-1/05F46C48801B/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=0844113333
----- ccCallInfo IE subfields -----
cisco-ani=0844113333
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=41225528880
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

*Apr 13 10:26:31.131: //-1/05F46C48801B/CCAPI/cc_api_call_setup_ind_common:
Interface=0x229D47D4, Call Info(
Calling Number=0844113333,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41225528880(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=2, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=22
*Apr 13 10:26:31.131: //-1/05F46C48801B/CCAPI/ccCheckClipClir:
In: Calling Number=0844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 13 10:26:31.131: //-1/05F46C48801B/CCAPI/ccCheckClipClir:
Out: Calling Number=0844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 13 10:26:31.131: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 10:26:31.131: :cc_get_feature_vsa malloc success
*Apr 13 10:26:31.131: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 10:26:31.131: cc_get_feature_vsa count is 1
*Apr 13 10:26:31.131: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 10:26:31.131: :FEATURE_VSA attributes are: feature_name:0,feature_time:601747120,feature_id:2
*Apr 13 10:26:31.131: //22/05F46C48801B/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=0844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=41225528880(TON=Unknown, NPI=Unknown))
*Apr 13 10:26:31.131: //22/05F46C48801B/CCAPI/cc_process_call_setup_ind:
Event=0x22E3BDC8
*Apr 13 10:26:31.131: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 41225528880
*Apr 13 10:26:31.131: //22/05F46C48801B/CCAPI/ccCallSetContext:
Context=0x3F3E545C
*Apr 13 10:26:31.131: //22/05F46C48801B/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 22 with tag 2 to app "_ManagedAppProcess_Default"
*Apr 13 10:26:31.131: //22/05F46C48801B/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=2, Params=0x3F3E6A54, Progress Indication=NULL(0)
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccCheckClipClir:
In: Calling Number=00844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccCheckClipClir:
Out: Calling Number=00844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccCallSetupRequest:
Destination Pattern=88[0-9], Called Number=8880, Digit Strip=FALSE
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccCallSetupRequest:
Calling Number=00844113333(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=8880(TON=Unknown, NPI=Unknown),
Redirect Number=, Display Info=0844113333
Account Number=0844113333, Final Destination Flag=TRUE,
Guid=05F46C48-0099-11E6-801B-ABAC38E3FD4B, Outgoing Dial-peer=2
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=0844113333
----- ccCallInfo IE subfields -----
cisco-ani=00844113333
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=8880
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x229D47D4, Interface Type=3, Destination=, Mode=0x0,
Call Params(Calling Number=00844113333,(Calling Name=0844113333)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=8880(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=2, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
*Apr 13 10:26:31.135: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 10:26:31.135: :cc_get_feature_vsa malloc success
*Apr 13 10:26:31.135: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 10:26:31.135: cc_get_feature_vsa count is 2
*Apr 13 10:26:31.135: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Apr 13 10:26:31.135: :FEATURE_VSA attributes are: feature_name:0,feature_time:601746896,feature_id:3
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/cc_api_event_indication:
Event=101, Call Id=22
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
*Apr 13 10:26:31.135: //23/05F46C48801B/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
*Apr 13 10:26:31.135: //23/05F46C48801B/CCAPI/ccCallSetContext:
Context=0x3F3E6A04
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=2
*Apr 13 10:26:31.135: //23/05F46C48801B/CCAPI/ccGetMediaClassTag:
media class tag 0
*Apr 13 10:26:31.135: //23/05F46C48801B/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccGetMediaClassTag:
media class tag 0
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
*Apr 13 10:26:31.135: //23/05F46C48801B/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
*Apr 13 10:26:31.135: //22/05F46C48801B/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
*Apr 13 10:26:31.135: //-1/xxxxxxxxxxxx/CCAPI/cc_is_cng_fax_detect_active:
Call Id 22
*Apr 13 10:26:31.135: //23/05F46C48801B/CCAPI/cc_api_event_indication:
Event=194, Call Id=23
*Apr 13 10:26:31.135: //23/05F46C48801B/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
*Apr 13 10:26:31.135: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.139: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.139: //23/05F46C48801B/CCAPI/cc_api_call_proceeding:
Interface=0x229D47D4, Progress Indication=NULL(0)
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_caps_ind:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=23,
Caps(Codec=0x1, Fax Rate=0x2, Fax Version:=0, Vad=0x2,
Modem=0x0, Codec Bytes=160, Signal Type=2)
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
*Apr 13 10:26:31.391: //22/05F46C48801B/CCAPI/cc_api_caps_ack:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=22,
Caps(Codec=g711ulaw(0x1), Fax Rate=FAX_RATE_VOICE(0x2), Fax Version:=0, Vad=ON(0x2),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=1094)
*Apr 13 10:26:31.391: //22/05F46C48801B/CCAPI/cc_api_caps_ack:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=22,
Caps(Codec=g711ulaw(0x1), Fax Rate=FAX_RATE_VOICE(0x2), Fax Version:=0, Vad=ON(0x2),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=1094)
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_event_indication:
Event=102, Call Id=23
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_event_indication:
Event=100, Call Id=23
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_call_cut_progress:
Interface=0x229D47D4, Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1),
Cause Value=0
*Apr 13 10:26:31.391: //23/05F46C48801B/CCAPI/cc_api_call_cut_progress:
Call Entry(Responsed=TRUE)
*Apr 13 10:26:31.391: //22/05F46C48801B/CCAPI/ccCallCutProgress:
Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1), Cause Value=0
Voice Call Send Alert=FALSE, Call Entry(Alert Sent=FALSE)
*Apr 13 10:26:31.391: //22/05F46C48801B/CCAPI/ccCallCutProgress:
Call Entry(Responsed=TRUE)
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccConferenceCreate:
(confID=0xFFFFFFFF, callID1=0x16, gcid=5F46C48-9911E6-801EABAC-38E3FD4B, tag=0x0)
*Apr 13 10:26:31.395: //23/05F46C48801B/CCAPI/ccConferenceCreate:
(confID=0xFFFFFFFF, callID2=0x17, gcid=5F46C48-9911E6-801EABAC-38E3FD4B, tag=0x0)
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccConferenceCreate:
Conference Id=0xFFFFFFFF, Call Id1=22, Call Id2=23, Tag=0x0
*Apr 13 10:26:31.395: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.395: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.395: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.395: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccConferenceCreate:

*Apr 13 10:26:31.395: ccConferenceCreate: ret1=0, codecMask1=1, bytes1=160, negot1=1, dtmf1=6
ret2=0, codecMask2=1, bytes2=160, negot2=1, dtmf2=6,
tx_dynamic_pt1=0, rx_dynamic_pt1=0, codec_mode1=0, params_bitmap1 =0
tx_dynamic_pt2=0, rx_dynamic_pt2=0, codec_mode2=0, params_bitmap2 =0
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccGetMediaClassTag:
media class tag 0
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
*Apr 13 10:26:31.395: //23/05F46C48801B/CCAPI/ccGetMediaClassTag:
media class tag 0
*Apr 13 10:26:31.395: //23/05F46C48801B/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
*Apr 13 10:26:31.395: //23/05F46C48801B/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
*Apr 13 10:26:31.395: //-1/xxxxxxxxxxxx/CCAPI/cc_is_cng_fax_detect_active:
Call Id 22
*Apr 13 10:26:31.395: //22/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
xcoder inserted for preferred features w/ mask 0x0
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccConferenceCreate:
delay media to slow start case, codec negotation is not done
*Apr 13 10:26:31.395: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.395: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.395: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.395: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/cc_api_bridge_done:
Conference Id=0x1, Source Interface=0x229D47D4, Source Call Id=22,
Destination Call Id=23, Disposition=0x0, Tag=0x0
*Apr 13 10:26:31.395: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.395: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.395: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:31.395: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:31.395: //23/05F46C48801B/CCAPI/cc_api_bridge_done:
Conference Id=0x1, Source Interface=0x229D47D4, Source Call Id=23,
Destination Call Id=22, Disposition=0x0, Tag=0x0
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/cc_generic_bridge_done:
Conference Id=0x1, Source Interface=0x229D47D4, Source Call Id=23,
Destination Call Id=22, Disposition=0x0, Tag=0x0
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x1, Destination Call Id=23)
*Apr 13 10:26:31.395: //23/05F46C48801B/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x1, Destination Call Id=22)
*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccConferenceCreate:

*Apr 13 10:26:31.395: confID:0x1; callEntry1 callID1:0x16, type:3; callEntry2 callID2:0x17, type:3

*Apr 13 10:26:31.395: //22/05F46C48801B/CCAPI/ccCallNotify:
Data Bitmask=0x7, Call Id=22
*Apr 13 10:26:31.399: //22/05F46C48801B/CCAPI/cc_process_notify_bridge_done:
Conference Id=0x1, Call Id1=22, Call Id2=23
*Apr 13 10:26:38.031: //22/05F46C48801B/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x229D47D4, Call Id=22
*Apr 13 10:26:38.031: //22/05F46C48801B/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
*Apr 13 10:26:38.031: //22/05F46C48801B/CCAPI/ccConferenceDestroy:
Conference Id=0x1, Tag=0x0
*Apr 13 10:26:38.031: //22/05F46C48801B/CCAPI/ccConferenceDestroy:

*Apr 13 10:26:38.031: confID:0x1; callEntry1 callID1:0x16, type:3; callEntry2 callID2:0x17, type:3

*Apr 13 10:26:38.031: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.031: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.031: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.031: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.031: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.031: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.031: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.031: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.035: //22/05F46C48801B/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x1, Source Interface=0x229D47D4, Source Call Id=22,
Destination Call Id=23, Disposition=0x0, Tag=0x0
*Apr 13 10:26:38.035: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.035: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.035: //22/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.035: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.035: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.035: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.035: //23/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

*Apr 13 10:26:38.035: cc_api_get_xcode_stream : 4982
*Apr 13 10:26:38.035: //23/05F46C48801B/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x1, Source Interface=0x229D47D4, Source Call Id=23,
Destination Call Id=22, Disposition=0x0, Tag=0x0
*Apr 13 10:26:38.035: //22/05F46C48801B/CCAPI/cc_generic_bridge_done:
Conference Id=0x1, Source Interface=0x229D47D4, Source Call Id=23,
Destination Call Id=22, Disposition=0x0, Tag=0x0
*Apr 13 10:26:38.035: //23/05F46C48801B/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
*Apr 13 10:26:38.035: //23/05F46C48801B/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
*Apr 13 10:26:38.035: //22/05F46C48801B/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
*Apr 13 10:26:38.035: //22/05F46C48801B/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
*Apr 13 10:26:38.051: //23/05F46C48801B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x229D47D4, Tag=0x0, Call Id=23,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
*Apr 13 10:26:38.051: //23/05F46C48801B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Apr 13 10:26:38.051: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Apr 13 10:26:38.051: :cc_free_feature_vsa freeing 23DDEDC8
*Apr 13 10:26:38.051: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Apr 13 10:26:38.051: vsacount in free is 1
*Apr 13 10:26:38.051: //22/05F46C48801B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x229D47D4, Tag=0x0, Call Id=22,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
*Apr 13 10:26:38.051: //22/05F46C48801B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
*Apr 13 10:26:38.051: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Apr 13 10:26:38.051: :cc_free_feature_vsa freeing 23DDEEA8
*Apr 13 10:26:38.051: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Apr 13 10:26:38.051: vsacount in free is 0

Thanks again!

Called number coming from PSTN is 41225528880 one extra 8, see below:

Called Number=41225528880(TON=Unknown, NPI=Unknown),

which then converts to 8880 hence its not working

Called Number=8880(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

Correct your rule to below:


voice translation-rule 3
rule 1 /^412255288\(..\)/ /8\1/

Regards

Deepak

Fantastic! its work!
Thanks a lot !!!

Glad that it worked and thanks for updating the forum with Correct Answer

Regards

Deepak