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

Incoming calls show as forwarded

SBjohnk
Level 1
Level 1
Hello,

I'm trying to configure an IAD to handle incoming sip calls to 7965 phones.

I have the 7965 registered via SIP to the IAD

When I call the number assigned by my carrier the phone displays the incoming call as a Forward with the wrong caller ID.

It looks like a remote-party-id is being generated and the From address is being modified by the IAD?


Logs below:

feb 1 22:23:37.904: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:15204792894@10.169.197.102:5060 SIP/2.0

Via: SIP/2.0/UDP x.x.x.x:5065;branch=z9hG4bKtjvbde00b8ctft1s7bk0.1

Contact: <sip:x.x.x.x:5065;transport=udp>

CSeq: 11905 INVITE

Content-Length: 366

Content-Type: application/sdp

Call-ID: SDvc39f01-cb311797bcba5ca11834731262b0067d-ao1a0v3020

From: "Simply Bits" <sip:15205457285@x.x.x.x:5065>;tag=SDvc39f01-S03T20230202052337U7120973_DID15204792894

To: sip:15204792894@y.y.y.y:58717;transport=udp

Diversion: sip:15204792894@null;reason=unconditional

Max-Forwards: 65

Priority: normal

Session-Expires: 1800;refresher=uac

Allow: INVITE

Allow: ACK

Allow: PRACK

Allow: CANCEL

Allow: BYE

Allow: REFER

Allow: NOTIFY

Allow: OPTIONS

Allow: MESSAGE

Allow: INFO

Allow: REGISTER

Allow: SUBSCRIBE

Supported: timer



v=0

o=CPE2_Media_Cluster 1077788433 1077788434 IN IP4 z.z.z.z

s=f281acf8-3795-48b0-8d45-1a1b2a34297a/15e74e44-2b6a-4349-a575-0064aceb6e09

c=IN IP4 z.z.z.z

t=0 0

m=audio 20404 RTP/AVP 0 18 101 13

a=rtpmap:0 PCMU/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=rtpmap:13 CN/8000

a=ptime:20


Feb 1 22:23:37.920: //-1/94CD18B08089/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=15205457285
----- ccCallInfo IE subfields -----
cisco-ani=sip:15205457285@x.x.x.x:5065
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=sip:15204792894@10.169.197.102:5060
cisco-desttype=0
cisco-destplan=0
cisco-rdie=74
cisco-rdn=15204792894
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=15 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Feb 1 22:23:37.924: //-1/94CD18B08089/CCAPI/cc_api_call_setup_ind_common:
Interface=0x67F3ABBC, Call Info(
Calling Number=sip:15205457285@x.x.x.x:5065,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=sip:15204792894@10.169.197.102:5060(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=232
Feb 1 22:23:37.924: //-1/94CD18B08089/CCAPI/ccCheckClipClir:
In: Calling Number=sip:15205457285@x.x.x.x:5065(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Feb 1 22:23:37.924: //-1/94CD18B08089/CCAPI/ccCheckClipClir:
Out: Calling Number=sip:15205457285@x.x.x.x:5065(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Feb 1 22:23:37.924: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Feb 1 22:23:37.924: :cc_get_feature_vsa malloc success
Feb 1 22:23:37.924: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Feb 1 22:23:37.924: cc_get_feature_vsa count is 1
Feb 1 22:23:37.924: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Feb 1 22:23:37.924: :FEATURE_VSA attributes are: feature_name:0,feature_time:1764357240,feature_id:24
Feb 1 22:23:37.924: //232/94CD18B08089/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown))
Feb 1 22:23:37.928: //232/94CD18B08089/CCAPI/cc_process_call_setup_ind:
Event=0x685CFCA8
Feb 1 22:23:37.928: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 101
Feb 1 22:23:37.928: //232/94CD18B08089/CCAPI/ccCallSetContext:
Context=0x692B8D34
Feb 1 22:23:37.928: //232/94CD18B08089/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 232 with tag 1 to app "_ManagedAppProcess_Default"
Feb 1 22:23:37.932: //232/94CD18B08089/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
Feb 1 22:23:37.932: //-1/xxxxxxxxxxxx/CCAPI/ccGetMemPoolFromContainer:
mempool not found from usrContainer(691788F8)
Feb 1 22:23:37.932: //-1/xxxxxxxxxxxx/CCAPI/ccCreateMemPoolInContainer:
Mempool(6927EE8C) created in usrContainer(691788F8)
Feb 1 22:23:37.936: //232/94CD18B08089/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=40002, Params=0x692BCBC4, Progress Indication=NULL(0)
Feb 1 22:23:37.940: //232/94CD18B08089/CCAPI/ccCheckClipClir:
In: Calling Number=sip:15205457285@x.x.x.x:5065(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Feb 1 22:23:37.940: //232/94CD18B08089/CCAPI/ccCheckClipClir:
Out: Calling Number=sip:15205457285@x.x.x.x:5065(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Feb 1 22:23:37.940: //232/94CD18B08089/CCAPI/ccCallSetupRequest:
Destination Pattern=101, Called Number=101, Digit Strip=FALSE
Feb 1 22:23:37.940: //232/94CD18B08089/CCAPI/ccCallSetupRequest:
Calling Number=sip:15205457285@x.x.x.x:5065(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=101(TON=Unknown, NPI=Unknown),
Redirect Number=15204792894, Display Info=Simply Bits
Account Number=15205457285, Final Destination Flag=TRUE,
Guid=94CD18B0-A1F0-11ED-8089-D9F1A2D36021, Outgoing Dial-peer=40002
Feb 1 22:23:37.940: //232/94CD18B08089/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=15205457285
----- ccCallInfo IE subfields -----
cisco-ani=sip:15205457285@x.x.x.x:5065
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=101
cisco-desttype=0
cisco-destplan=0
cisco-rdie=74
cisco-rdn=15204792894
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=15 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Feb 1 22:23:37.940: //232/94CD18B08089/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x67F3ABBC, Interface Type=3, Destination=, Mode=0x0,
Call Params(Calling Number=sip:15205457285@x.x.x.x:5065,(Calling Name=Simply Bits)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=101(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=40002, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Feb 1 22:23:37.944: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Feb 1 22:23:37.944: :cc_get_feature_vsa malloc success
Feb 1 22:23:37.944: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Feb 1 22:23:37.944: cc_get_feature_vsa count is 2
Feb 1 22:23:37.944: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Feb 1 22:23:37.944: :FEATURE_VSA attributes are: feature_name:0,feature_time:1764357016,feature_id:25
Feb 1 22:23:37.944: //233/94CD18B08089/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
Feb 1 22:23:37.944: //233/94CD18B08089/CCAPI/ccCallSetContext:
Context=0x692BCB74
Feb 1 22:23:37.944: //232/94CD18B08089/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=40002
Feb 1 22:23:37.952: //233/94CD18B08089/CCAPI/cc_api_call_proceeding:
Interface=0x67F3ABBC, Progress Indication=NULL(0)
Feb 1 22:23:37.960: //232/94CD18B08089/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying

Via: SIP/2.0/UDP x.x.x.x:5065;branch=z9hG4bKtjvbde00b8ctft1s7bk0.1

From: "Simply Bits" <sip:15205457285@x.x.x.x:5065>;tag=SDvc39f01-S03T20230202052337U7120973_DID15204792894

To: sip:15204792894@y.y.y.y:58717;transport=udp

Date: Thu, 02 Feb 2023 05:23:37 GMT

Call-ID: SDvc39f01-cb311797bcba5ca11834731262b0067d-ao1a0v3020

CSeq: 11905 INVITE

Allow-Events: telephone-event

Server: Cisco-SIPGateway/IOS-12.x

Content-Length: 0




Feb 1 22:23:37.960: //233/94CD18B08089/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:101@192.168.100.3:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.100.1:5060;branch=z9hG4bKE062B

Remote-Party-ID: "Simply Bits" <sip:15555203857734857734857734457285@192.168.100.1>;party=calling;screen=no;privacy=off

From: "Simply Bits" <sip:15555203857734857734857734457285@siptrunk;tag=181C98-2070

To: <sip:101@192.168.100.3>

Date: Thu, 02 Feb 2023 05:23:37 GMT

Call-ID: 94D46C59-A1F011ED-808FD9F1-A2D36021@192.168.100.1

Supported: 100rel,timer,resource-priority,replaces

Min-SE: 1800

Cisco-Guid: 2496469168-2716865005-2156517873-2731761697

User-Agent: Cisco-SIPGateway/IOS-12.x

Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER

CSeq: 101 INVITE

Timestamp: 1675315417

Contact: <sip:15555203857734857734857734457285@192.168.100.1:5060>

Expires: 180

Allow-Events: telephone-event

Max-Forwards: 64

Diversion: <sip:15204792894@null>;reason=unconditional

Session-Expires: 1800;refresher=uac

Content-Type: application/sdp

Content-Disposition: session;handling=required

Content-Length: 267



v=0

o=CiscoSystemsSIP-GW-UserAgent 2833 8479 IN IP4 192.168.100.1

s=SIP Call

c=IN IP4 192.168.100.1

t=0 0

m=audio 16974 RTP/AVP 0 100 19

c=IN IP4 192.168.100.1

a=rtpmap:0 PCMU/8000

a=rtpmap:100 X-NSE/8000

a=fmtp:100 192-194

a=rtpmap:19 CN/8000

a=ptime:20



----- Config ----

ip dhcp pool PHONES
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
option 150 ip 192.168.100.1
dns-server 8.8.8.8
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
voice hunt user-busy
voice call convert-discpi-to-prog
voice call carrier capacity active
voice rtp send-recv
!
voice service voip
no ip address trusted authenticate
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service h450.2
no supplementary-service h450.3
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
fax protocol t38 version 0 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711ulaw
h323
modem passthrough nse codec g711ulaw redundancy
sip
header-passing
error-passthru
registrar server expires max 1200 min 300
early-offer forced
midcall-signaling passthru
privacy-policy passthru
no call service stop
!
!
!
voice register global
mode cme
source-address 192.168.100.1 port 5060
max-dn 10
max-pool 8
authenticate register
authenticate realm simplybits.net
dialplan-pattern 1 1.. extension-length 3
tftp-path slot0:
file text
create profile sync 0003321515404551
ntp-server 17.253.16.125 mode unicast
camera
video
!
voice register dn 1
translation-profile outgoing OUTGOING
number 100
!
voice register dn 2
translation-profile outgoing OUTGOING
number 101
!
voice register pool 1
id mac 2893.FE13.4C0A
type 7965
number 1 dn 1
username 1000 password testtest
codec g711ulaw
!
voice register pool 2
id mac C025.5C43.0CDD
type 7965
number 1 dn 2
incoming called-number 15204792894
username 1001 password testtesttest
codec g711ulaw
!
!
voice translation-rule 100
rule 1 /\(....\)$/ /\1/
!
voice translation-rule 101
rule 1 /15204792894/ /101/
!
voice translation-rule 200
rule 1 /10./ /5204792894/
rule 4 /20./ /5203857734/
!
!
voice translation-profile INCOMING
translate calling 200
translate called 101
!
voice translation-profile OUTGOING
translate calling 200
!
!
voip-incoming translation-profile INCOMING
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0
duplex auto
speed auto
ntp broadcast
!
ip forward-protocol nd
ip http server
ip http authentication local
no ip http secure-server
ip http path slot0:cme-gui-8.6.0
!
!
!
logging source-interface Loopback0
!
tftp-server slot0:apps45.9-4-2SR4-3.sbn
tftp-server slot0:cnu45.9-4-2SR4-3.sbn
tftp-server slot0:cvm45sip.9-4-2SR4-3.sbn
tftp-server slot0:dsp45.9-4-2SR4-3.sbn
tftp-server slot0:jar45sip.9-4-2SR4-3.sbn
tftp-server slot0:SIP45.9-4-2SR4-3S.loads
tftp-server slot0:term45.default.loads
tftp-server slot0:term65.default.loads
!
!
!
!
control-plane
!
!
voice-port 2/0
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/1
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/2
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/3
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/4
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/5
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/6
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/7
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/8
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/9
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/10
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/11
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/12
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/13
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/14
no supervisory disconnect lcfo
no battery-reversal
!
voice-port 2/15
no supervisory disconnect lcfo
no battery-reversal
!
!
mgcp profile default
!
!
dial-peer voice 1 voip
description 10 Digit Dial
translation-profile incoming INCOMING
translation-profile outgoing OUTGOING
destination-pattern ..........T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
codec g711ulaw
fax protocol t38 version 0 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711ulaw
no vad
!
dial-peer voice 200 pots
destination-pattern 200
port 2/0
!
dial-peer voice 201 pots
destination-pattern 201
port 2/1
!
dial-peer voice 202 pots
destination-pattern 202
port 2/2
!
dial-peer voice 203 pots
destination-pattern 203
port 2/3
!
dial-peer voice 204 pots
destination-pattern 204
port 2/4
!
dial-peer voice 205 pots
destination-pattern 205
port 2/5
!
dial-peer voice 30 voip
description 11 Digit Dial
translation-profile outgoing OUTGOING
destination-pattern ...........
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
codec g711ulaw
fax protocol t38 version 0 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711ulaw
no vad
!
dial-peer voice 100 voip
description Catch All Dial
translation-profile outgoing OUTGOING
destination-pattern .T
session protocol sipv2
session target sip-server
dtmf-relay rtp-nte
codec g711ulaw
fax protocol t38 version 0 ls-redundancy 2 hs-redundancy 2 fallback pass-through g711ulaw
no vad
!
!
dial-peer inbound selection sip-trunk
sip-ua
credentials username ciscoiad1 password 7 realm siptrunk
authentication username ciscoiad1 password 7
registrar dns:siptrunk:5065 expires 3600
sip-server dns:siptrunk:5065
!
!
!
telephony-service
no auto-reg-ephone
max-ephones 10
max-dn 30
ip source-address 192.168.100.1 port 2000
service phone webAccess 0
service dnis overlay
service dnis dir-lookup
service dss
timeouts interdigit 4
system message CedarNetworks
cnf-file perphone
load 7965 SIP45.9-4-2SR4-3S
time-zone 6
dialplan-pattern 1 51237812.. extension-length 3 extension-pattern 2.. no-reg
max-conferences 8 gain -6
call-forward pattern .T
moh flash:music-on-hold.au
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp Jan 01 2002 00:00:00
!
0 Replies 0