03-08-2012 01:43 PM - edited 03-16-2019 10:01 AM
Hi all,
I'm facing a weird problem and the sip-provider can't help. I suppose there is a problem with the dial-peer/translation-rule but I can't figure it out...
There is a CME (c2800nm-ipvoice-mz.124-11.XW10.bin, CME Version 4.2(0)) with a
SIP trunk.
Outgoing calls are working (DID).
Incoming calls (all DID) are ringing on the same internal number.
The situation:
- external call on 0815440097 is ringing on the internal nr. 296 (should be 297)
- external call on 0815440096 is ringing on the internal nr. 296
Here the config:================================.....
voice service voip
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
sip
no update-callerid
....
voice translation-rule 40
rule 2 /\(.*\)/ /9\1/
!
voice translation-rule 190
rule 1 /^0\(.*\)/ /\1/
rule 2 /^9\(.*\)/ /\1/
!
voice translation-rule 191
rule 2 /296/ /0815440096/
rule 3 /297/ /0815440097/
!
voice translation-rule 192
rule 2 /^0815440097/ /297/
rule 3 /^0815440096/ /296/
...
voice translation-profile TP_IN_SIP
translate calling 40
translate called 192
!
voice translation-profile TP_OUT_SIP
translate calling 191
translate called 190
...
dial-peer voice 2000 voip
description *** SIP-TRUNK (IN/OUT) ***
translation-profile incoming TP_IN_SIP
translation-profile outgoing TP_OUT_SIP
destination-pattern 0.T
b2bua
session protocol sipv2
session target dns:sip12.e-fon.ch
session transport udp
incoming called-number 0815440096
dtmf-relay rtp-nte
codec g711alaw
no vad
...
sip-ua
credentials username 0815440096 password 7 xxxx realm sip12.e-fon.ch
keepalive target dns:sip12.e-fon.ch
authentication username 0815440096 password 7 xxxx
calling-info pstn-to-sip from number set 0815440096
no remote-party-id
retry invite 2
retry response 2
retry bye 2
retry register 2
retry options 1
registrar dns:sip12.e-fon.ch expires 69
sip-server dns:sip12.e-fon.ch
reason-header override
connection-reuse
host-registrar
sh sip-ua register status
Line peer expires(sec) registered================================ ========== ============ ==========
0815440096 20005 18 yes
Here the CCSIP MESSAGE debug (looks ok):
(call from 0000000000 to 0815440097)
===============================Mar 8 21:55:10.469 METD: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:0815440096@192.168.70.240:5060 SIP/2.0
Record-Route: <sip:212.55.198.132;lr=on;ftag=as00cd0e7f>
Via: SIP/2.0/UDP 212.55.198.132;branch=z9hG4bK49ff.2d35e30a71291ffe3895b39164900f36.0
Via: SIP/2.0/UDP 212.55.198.134:5061;branch=z9hG4bK1cb84749;rport=5061
Max-Forwards: 69
From: "0000000000" <sip:0000000000@212.55.198.134:5061>;tag=as00cd0e7f
To: <sip:0815440097@212.55.198.134:5060>
Contact: <sip:0000000000@212.55.198.134:5061>
Call-ID: 6916a3d913e4019538eb7c6442c4189f@212.55.198.134
CSeq: 102 INVITE
User-Agent: e-fon
Date: Thu, 08 Mar 2012 20:55:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
X-IPCONNECT: 0815440097
X-Number: 0815440097
Content-Type: application/sdp
Content-Length: 415
v=0
o=root 770254981 770254981 IN IP4 212.55.198.134
s=Asterisk PBX 1.6.1.20
c=IN IP4 212.55.198.134
t=0 0
m=audio 11886 RTP/AVP 8 9 111 3 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
Mar 8 21:55:10.481 METD: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 212.55.198.132;branch=z9hG4bK49ff.2d35e30a71291ffe3895b39164900f36.0,
Via:SIP/2.0/UDP 212.55.198.134:5061;branch=z9hG4bK1cb84749;rport=5061
From: "0000000000" <sip:0000000000@212.55.198.134:5061>;tag=as00cd0e7f
To: <sip:0815440097@212.55.198.134:5060>
Date: Thu, 08 Mar 2012 20:55:10 GMT
Call-ID: 6916a3d913e4019538eb7c6442c4189f@212.55.198.134
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 102 INVITE
Allow-Events: telephone-event
Content-Length: 0
Here is the VOICE DIAL-PEER debug (call from 0000000000 to 0815440097):
Calling Number=0815440096, Called Number=0815440096, Peer Info=============================================Mar 8 22:00:09.498 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Type=DIALPEER_INFO_SPEECH
Mar 8 22:00:09.498 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=0815440096
Mar 8 22:00:09.498 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 8 22:00:09.498 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=20005
2: Dial-peer Tag=2000
Mar 8 22:00:09.498 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=0000000000, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Mar 8 22:00:09.498 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2000
Mar 8 22:00:09.502 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=0000000000, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Mar 8 22:00:09.502 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2000
Mar 8 22:00:09.502 METD: //-1/8647979A82E1/DPM/dpAssociateIncomingPeerCore:
Calling Number=0000000000, Called Number=0815440096, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Mar 8 22:00:09.502 METD: //-1/8647979A82E1/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2000
Mar 8 22:00:09.510 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=0815440096, Called Number=0815440096, Peer Info
Type=DIALPEER_INFO_SPEECH
Mar 8 22:00:09.510 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=0815440096
Mar 8 22:00:09.510 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 8 22:00:09.510 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=20006
2: Dial-peer Tag=2000
Mar 8 22:00:09.510 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=0815440096, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Mar 8 22:00:09.510 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ANSWER; Incoming Dial-peer=2000
Mar 8 22:00:09.514 METD: //-1/8647979A82E1/DPM/dpMatchPeersCore:
Calling Number=, Called Number=0815440096, Peer Info
Type=DIALPEER_INFO_SPEECH
Mar 8 22:00:09.514 METD: //-1/8647979A82E1/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=0815440096
Mar 8 22:00:09.514 METD: //-1/8647979A82E1/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 8 22:00:09.514 METD: //-1/8647979A82E1/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=20006
2: Dial-peer Tag=2000
show dial-peer voice summary:
dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT
PORT
555 voip up up 555 0 syst loopback:rtp
20001 pots up up 296$ 0 50/0/1
20002 pots up up 297$ 0 50/0/2
2000 voip up up 0.T 0 syst dns:sip12.e-fon.ch
20005 pots up up 0815440096$ 0 50/0/150
20006 pots up up 0815440097$ 9 50/0/2
voip translation debugging (call from 0794142975 to 0815440097):
=========================================
Mar 8 22:35:26.145 METD: //-1/73E51DB2834F/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46FBFCA0; count=1
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x46FBFCA0; count=0
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_translate_internal: number=0794142975 type=unknown plan=unknown numbertype=calling
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_match_internal: Matched with rule 2 in ruleset 40
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_match_internal: Matched with rule 2 in ruleset 40
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/sed_subst: Successful substitution; pattern=0794142975 matchPattern=(.*) replacePattern=9\1 replaced pattern=90794142975
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_translate_internal: xlt_number=90794142975 xlt_type=unknown xlt_plan=unknown
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-called
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called number not found
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_translate_internal: number=0815440096 type=unknown plan=unknown numbertype=called
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_match: No match; number=0815440096 rule precedence=2
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_match: No match; number=0815440096 rule precedence=3
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_match_internal: No match found
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_profile_translate_internal: No match: number=0815440096 type=unknown plan=unknown
Mar 8 22:35:26.149 METD: //-1/73E51DB2834F/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x46FBFCA0; count=1
Mar 8 22:35:26.153 METD: //-1/73E51DB2834F/RXRULE/regxrule_dp_translate: No profile found in peer 20005 for outgoing direction
Mar 8 22:35:26.153 METD: //-1/73E51DB2834F/RXRULE/regxrule_dp_translate: calling_number=90794142975 calling_octet=0x0
called_number=0815440096 called_octet=0x0
redirect_number= redirect_type=0 redirect_plan=0 redirect_PI=-1 redirect_SI=-1
Mar 8 22:35:26.181 METD: //-1/73E51DB2834F/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46FBFCA0; count=2
Thanks,
Norbert
03-08-2012 04:21 PM
Hi
!
!
dial-peer voice 2000 voip
incoming called-number 0815440096
!
Try changing this
dial-peer voice 2000 voip
incoming called-number .
!
Regards
Alex
03-08-2012 10:48 PM
Hi Alex,
Thank you for the reply.
After changing the "incoming called-number" I got the same output.
The weird think is, why the dial-peer debug shows the 0815440096 number, despite the right "to: number" in the SIP-Message.
Is there a problem with the "voice service voip" or "sip-ua"?
on the voice translation debug I see:
Match Rule=DP_MATCH_TO_URI; URI=sip:0815440097
Match Rule=DP_MATCH_FROM_URI; URI=sip:0819262424
But I guess the translation rule is maching this one:
Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=0815440096
So how can the voice translation rule be set to map the entry DP_MATCH_TO_URI; URI=sip:0815440097
?
Thanks for the help.
Regards,
Norbert
voip translation debugging (call from 0819262424 to 0815440097):
===================================================Mar 9 07:45:16.371 METD: //-1/439ABF97847F/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46FBFAFC; count=1
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x46FBFAFC; count=0
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_translate_internal: number=0819262424 type=unknown plan=unknown numbertype=calling
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_match_internal: Matched with rule 2 in ruleset 40
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_match_internal: Matched with rule 2 in ruleset 40
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/sed_subst: Successful substitution; pattern=0819262424 matchPattern=(.*) replacePattern=9\1 replaced pattern=90819262424
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_translate_internal: xlt_number=90819262424 xlt_type=unknown xlt_plan=unknown
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-called
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called number not found
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_translate_internal: number=0815440096 type=unknown plan=unknown numbertype=called
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_match: No match; number=0815440096 rule precedence=2
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_match_internal: Matched with rule 3 in ruleset 192
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_match: No match; number=0815440096 rule precedence=2
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_match_internal: Matched with rule 3 in ruleset 192
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_match: No match; number=0815440096 rule precedence=2
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/sed_subst: Successful substitution; pattern=0815440096 matchPattern=^0815440096 replacePattern=296 replaced pattern=296
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_profile_translate_internal: xlt_number=296 xlt_type=unknown xlt_plan=unknown
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x46FBFAFC; count=1
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_dp_translate: No profile found in peer 20001 for outgoing direction
Mar 9 07:45:16.375 METD: //-1/439ABF97847F/RXRULE/regxrule_dp_translate: calling_number=90819262424 calling_octet=0x0
called_number=296 called_octet=0x0
redirect_number= redirect_type=0 redirect_plan=0 redirect_PI=-1 redirect_SI=-1
Mar 9 07:45:16.379 METD: //-1/439ABF97847F/RXRULE/regxrule_vp_translate: No profile found in voice port or trunk group for outgoing direction
Mar 9 07:45:16.379 METD: //-1/439ABF97847F/RXRULE/regxrule_vp_translate: calling_number=90819262424 calling_octet=0x0
called_number=296 called_octet=0x0
redirect_number= redirect_type=0 redirect_plan=0
Mar 9 07:45:18.195 METD: //-1/439ABF97847F/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x46FBFAFC; count=2
debug voice dialpeer detail
=====================
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=0815440096, Expanded String=0815440096, Calling Number=0815440096T
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=2000 Is Matched
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=20005 Is Matched
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=0819262424
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=0819262424T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=0819262424
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=0819262424T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.572 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=2000 Is Matched
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=0819262424
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=0819262424T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=0819262424
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=0819262424T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=2000 Is Matched
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_REQUEST_URI; URI=sip:0815440096@192.168.70.240:5060
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_TO_URI; URI=sip:0815440097@212.55.198.134:5060
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_FROM_URI; URI=sip:0819262424@212.55.198.134:5061
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=0815440096
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Dial String=0815440096, Expanded String=0815440096, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=0819262424
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=0819262424T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=0819262424
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=0819262424T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.576 METD: //-1/D8245087848D/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=2000 Is Matched
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=296, Expanded String=296, Calling Number=296T
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=20001 Is Matched
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=296
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=296T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=296
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=296T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.584 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=20001 Is Matched
Mar 9 07:49:25.584 METD: //-1/D8245087848D/DPM/dpMatchCore:
Dial String=296, Expanded String=296, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.584 METD: //-1/D8245087848D/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=20001 Is Matched
Mar 9 07:49:25.588 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=90819262424, Expanded String=90819262424, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.588 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.592 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=0819262424, Expanded String=0819262424, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.592 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=2000 Is Matched
Mar 9 07:49:25.592 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=296
Mar 9 07:49:25.592 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.592 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=296T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.592 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=296
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=296T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=20001 Is Matched
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=296, Expanded String=296, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=20001 Is Matched
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=90819262424, Expanded String=90819262424, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=90819262424, Expanded String=90819262424, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=296, Expanded String=296, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 9 07:49:25.596 METD: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=20001 Is Matched
03-09-2012 01:52 AM
Hi,
I think the issue is being caused by the command
!
sip-ua
calling-info pstn-to-sip from number set 0815440096
!
Looking at what this command does
From link :-
Look at your INVITE message from your 1st post
Mar 8 21:55:10.469 METD: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:0815440096@192.168.70.240:5060 SIP/2.0
Record-Route: <212.55.198.132>212.55.198.132>
I think this means no matter what you dial the INVITE is changing it to
0815440096
Try removing this command and retest
sip-ua
no calling-info pstn-to-sip from number set 0815440096
!
HTH
Alex
03-09-2012 04:55 AM
Hi Alex,
Thanks for the help. Unfortunately, still the same problem.
The "calling-info pstn-to-sip from number set 0815440096" is needed to authenticate the trunk. The SIP-trunk can only be authenticated by that nr.
DID is done by P-Preferred-Identity.
Is there another way to do a SIP-registration (through dial-peer and not with sip-ua)?
Thanks a lot,
Regards Norbert
OUTGOING CALL:
===============
If "calling-info pstn-to-sip from number set 0815440096" is been removed, I got the following INVITE message.
(0123456789 ist the destination-number, but INVITE should be done by 0815440097) an the call can not be build up.
INVITE sip:0123456789@sip12.e-fon.ch:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.240:5060;branch=z9hG4bK1F01727
From: <0815440097>0815440097>@sip12.e-fon.ch>;tag=B07AE8-128D
To: <>>0819262410@sip12.e-fon.ch>
Date: Fri, 09 Mar 2012 12:39:09 GMT
Call-ID: B35C2393-691B11E1-80CDD643-C956CB67@192.168.70.240
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2964599865-1763381729-2160645699-3377908583
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1331296749
Contact: <0815440097>0815440097>
Expires: 180
Allow-Events: telephone-event
P-Preferred-Identity: <0815440097>0815440097>@192.168.70.240>
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 253
INCOMING CALL:
==============
(0123456789 ist calling 0815440097, but rings on 296)
Received:
INVITE sip:0815440096@192.168.70.240:5060 SIP/2.0
Record-Route: <212.55.198.132>212.55.198.132>
Via: SIP/2.0/UDP 212.55.198.132;branch=z9hG4bK9cd2.4939f14f794e1474a8a6e24e3b993740.0
Via: SIP/2.0/UDP 212.55.198.134:5061;branch=z9hG4bK2918450d;rport=5061
Max-Forwards: 69
From: "0123456789" <0123456789>;tag=as6e3649c40123456789>
To: <0815440097>0815440097>@212.55.198.134:5060>
Contact: <0123456789>0123456789>
Call-ID: 2d02d0c21edc230d71d76b041d7e1add@212.55.198.134
CSeq: 102 INVITE
User-Agent: e-fon
Date: Fri, 09 Mar 2012 12:43:42 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
X-IPCONNECT: 0815440097
X-Number: 0815440097
Content-Type: application/sdp
Content-Length: 417
v=0
o=root 1235306179 1235306179 IN IP4 212.55.198.134
s=Asterisk PBX 1.6.1.20
c=IN IP4 212.55.198.134
t=0 0
m=audio 11700 RTP/AVP 8 9 111 3 18 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
Mar 9 13:43:42.458 METD: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 212.55.198.132;branch=z9hG4bK9cd2.4939f14f794e1474a8a6e24e3b993740.0,SIP/2.0/UDP 212.55.198.134:5061;branch=z9hG4bK2918450d;rport=5061
From: "0123456789" <0123456789>;tag=as6e3649c40123456789>
To: <0815440097>0815440097>
Date: Fri, 09 Mar 2012 12:43:42 GMT
Call-ID: 2d02d0c21edc230d71d76b041d7e1add@212.55.198.134
CSeq: 102 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
Mar 9 13:43:42.474 METD: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 212.55.198.132;branch=z9hG4bK9cd2.4939f14f794e1474a8a6e24e3b993740.0,SIP/2.0/UDP 212.55.198.134:5061;branch=z9hG4bK2918450d;rport=5061
From: "0123456789" <0123456789>;tag=as6e3649c40123456789>
To: <0815440097>;tag=B4A65C-21D10815440097>
Date: Fri, 09 Mar 2012 12:43:42 GMT
Call-ID: 2d02d0c21edc230d71d76b041d7e1add@212.55.198.134
CSeq: 102 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Contact: <0815440096>0815440096>
Record-Route: <212.55.198.132>212.55.198.132>
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
Here my config changes:
===================
...
voice service voip
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol cisco
sip
asserted-id ppi
..
voice translation-rule 40
rule 2 /\(.*\)/ /9\1/
!
voice translation-rule 190
rule 1 /^0\(.*\)/ /\1/
rule 2 /^9\(.*\)/ /\1/
!
voice translation-rule 191
rule 2 /296/ /0815440096/
rule 3 /297/ /0815440097/
!
voice translation-rule 192
rule 2 /^0815440097/ /297/
rule 3 /^0815440096/ /296/
...
voice translation-profile TP_IN_SIP
translate calling 40
translate called 192
!
voice translation-profile TP_OUT_SIP
translate calling 191
translate called 190
...
dial-peer voice 2000 voip
description *** SIP-TRUNK (IN/OUT) ***
translation-profile incoming TP_IN_SIP
translation-profile outgoing TP_OUT_SIP
destination-pattern 0.T
b2bua
session protocol sipv2
session target dns:sip12.e-fon.ch
session transport udp
incoming called-number .
dtmf-relay rtp-nte
codec g711alaw
no vad
!
sip-ua
credentials username 0815440096 password 7 XXX realm sip12.e-fon.ch
keepalive target dns:sip12.e-fon.ch
authentication username 0815440096 password 7 XXXX
no remote-party-id
retry invite 2
retry response 2
retry bye 2
retry register 2
retry options 1
registrar dns:sip12.e-fon.ch expires 69
sip-server dns:sip12.e-fon.ch
reason-header override
connection-reuse
host-registrar
....
ephone-dn 150
number 0815440096
description ** REGISTRAR-ID **
03-14-2012 02:21 AM
Related to the voice translation debug, the problem is, that the voice translation-rule is checking the INVITE: number
from the SIP-message.
How can I copy the TO: information to the INVITE: ?
On CUBE:
voice class sip-profiles 1
request INVITE peer-header sip TO copy “sip:(.*)@” u01
request INVITE sip-header SIP-Req-URI modify “.*@(.*)” “INVITE sip:\u01@\1″
http://tblog.cisco.be/2011/02/17/cube-conditional-sip-profiles/
But the command "copy" is not supported on the CME.
Any ideas?
Thanks,
Norbert
03-14-2013 03:31 AM
Hello, Norbert.
Did you resolve your issue? I have a similar problem. Please let me know if you have some solution.
Thanks in advance,
Iaroslav.
03-14-2013 03:43 AM
Maybe try
voice service voip
sip
asserted-id ppi
to use P-Preferred-Identity instead of from
03-14-2013 04:23 AM
Hi, Bernhard.
Thanks for quick responce.
Unfortunately adding asserted-id ppi as well as pai did not help.
03-14-2013 03:42 AM
I had this exact same issue recently with a SIP service provider. They are expecting you to route the call based on the SIP TO header but CME only routes based on the request URI header (the address in the invite line). The way I solved this was to use a TCL script to route the calls based on the to header rather than the request uri header. I don't have access to the script right now but I can post a version here tomorrow if your interested?
Sent from Cisco Technical Support iPad App
03-14-2013 04:26 AM
Hi, Daniel
It would be nice if you post your TCL script and the way you applied it in router config.
Thanks.
03-14-2013 04:42 AM
what is your config?
I prefer 2 dial-peers, one incoming and one outgiong
not like in this example
03-14-2013 04:52 AM
Hi,ttemirgaliyev
Actually, I have C2821 ios Version 12.4(24)T and CCM 4.3 (no ccme).
C2821 works as voip gateway with sip-ua configured.
SP ---sip--- (2821) ---h323--- CCM4.3
When I call (incoming call) 0472520403 it is routed as 0472520401.
Incomming DP from SP:
dial-peer voice 4700023 voip
corlist incoming COR-List-CH-DG-CUCM
description *** Incoming ***
session protocol sipv2
incoming called-number 047252040[123]
dtmf-relay rtp-nte
codec g711alaw
no vad
Outgoing DP to CCM:
dial-peer voice 4700021 voip
corlist incoming COR-List-CH-CUCM-DG
corlist outgoing COR-List-CH-DG-CUCM
description *** To-From CUCM ***
answer-address 047252040[123]
destination-pattern 047252040[123]
voice-class codec 1
session target ipv4:172.16.0.250
dtmf-relay h245-alphanumeric
no vad
On incoming call I received:
INVITE sip:0472520401@193.30.253.222:5060;transport=udp SIP/2.0
Allow: UPDATE,REFER,INFO
Call-ID: 31532-AX-0a14e3d5-20d3d8127@natsip.datagroup.com.ua
Contact: <80.91.169.4:5060>
Content-Type: application/sdp
CSeq: 163455732 INVITE
From: "0672236243" <>>0672236243@natsip.datagroup.com.ua;user=phone>;tag=31532-ER-0a14e3d6-79a166892
Max-Forwards: 28
To: <>0472520403@80.91.169.3;user=phone>
User-Agent: Cirpack/v4.56 (gw_sip)
Via: SIP/2.0/UDP 80.91.169.4:5060;branch=z9hG4bK-53E0-2550686
Content-Length: 258>80.91.169.4:5060>
Thanks.
03-14-2013 05:04 AM
Laroslav,
What problems are you having with your deployment...
Send a sh run, a debug ccsip messages and let us know the calling and called number
Please rate all useful posts
"opportunity is a haughty goddess who waste no time with those who are unprepared"
03-14-2013 05:41 AM
Hi, Aokanlawon
My problem is with incoming calls.
Calling Numner 0972909124
Called number 0472520403
The problem is when I call 0472520403 the call arrives to 0472520401.
Running config and debug of sip invite is below.
Thanks.
...
!
isdn switch-type primary-net5
!
!
voice call send-alert
!
voice service pots
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol cisco
h323
emptycapability
ip circuit max-calls 1000
ip circuit default only
h225 connect-passthru
sip
!
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
codec preference 4 g726r16
codec preference 5 gsmamr-nb
codec preference 6 g722-48
!
!
!
voice translation-rule 1
rule 1 /^9\([2-9]......\)$/ /\1/
rule 2 /^9\([2-9].....\)$/ /\1/
rule 3 /^90\([1-9]........\)$/ /0\1/
rule 4 /^90\(800......\)$/ /0\1/
rule 5 /^9\([2-9]....\)$/ /\1/
rule 6 /^9\(1[01].\)$/ /\1/
!
!
voice translation-profile SP_out
translate called 1
!
!
voice-card 0
!
voice-card 1
!
!
interface GigabitEthernet0/0
description *** LAN ***
ip address 172.16.33.1 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/1
description *** WAN-L3SW ***
ip address XXX.XXX.XXX.XXX 255.255.255.252
ip access-group SIP_IN in
duplex auto
speed auto
!
!
...
!
!
dial-peer cor custom
name CH-CUCM-DG
name CH-DG-CUCM
!
!
dial-peer cor list COR-List-CH-CUCM-DG
member CH-CUCM-DG
!
dial-peer cor list COR-List-CH-DG-CUCM
member CH-DG-CUCM
!
...
!
dial-peer voice 4700021 voip
corlist incoming COR-List-CH-CUCM-DG
corlist outgoing COR-List-CH-DG-CUCM
description *** To-From CUCM - SP ***
preference 5
answer-address 047252040[123]
destination-pattern 047252040[123]
voice-class codec 1
session target ipv4:172.16.9.250
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 4700022 voip
corlist incoming COR-List-CH-CUCM-DG
corlist outgoing COR-List-CH-DG-CUCM
description *** To-From CUCM - SP ***
preference 1
answer-address 047252040[123]
destination-pattern 047252040[123]
voice-class codec 1
session target ipv4:172.16.9.251
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 4700023 voip
corlist incoming COR-List-CH-DG-CUCM
description *** Incoming from SP ***
session protocol sipv2
incoming called-number 047252040[123]
dtmf-relay rtp-nte
codec g711alaw
no vad
!
dial-peer voice 4700024 voip
corlist incoming COR-List-CH-DG-CUCM
corlist outgoing COR-List-CH-CUCM-DG
description *** Outgoing to SP ***
translation-profile outgoing SP_out
destination-pattern 90.........
session protocol sipv2
session target ipv4:XXX.XXX.XXX.XXX
dtmf-relay rtp-nte
codec g711alaw
no vad
!
sip-ua
credentials username 0472520401 password 7 XXXXXXXXXXXXXXXXXXXXXXrealm natsip.datagroup.com.ua
authentication username 0472520401 password 7 XXXXXXXXXXXXXXXXXXX realm natsip.datagroup.com.ua
retry invite 3
retry response 3
retry cancel 3
retry register 3
timers trying 1000
registrar dns:natsip.datagroup.com.ua expires 3600
sip-server dns:natsip.datagroup.com.ua
*Mar 13 18:57:05.373: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:0472520401@XXX.XXX.XXX.XXX:5060;transport=udp SIP/2.0
Allow: UPDATE,REFER,INFO
Call-ID: 31532-AX-0a14e3d5-20d3d8127@natsip.datagroup.com.ua
Contact: <80.91.169.4:5060>80.91.169.4:5060>
Content-Type: application/sdp
CSeq: 163455732 INVITE
From: "0972909124" <>>0972909124@natsip.datagroup.com.ua;user=phone>;tag=31532-ER-0a14e3d6-79a166892
Max-Forwards: 28
To: <0472520403>0472520403>
User-Agent: Cirpack/v4.56 (gw_sip)
Via: SIP/2.0/UDP 80.91.169.4:5060;branch=z9hG4bK-53E0-2550686
Content-Length: 258
v=0
o=cp10 136320022402 136320022402 IN IP4 80.91.169.22
s=SIP Call
c=IN IP4 80.91.169.22
t=0 0
m=audio 35106 RTP/AVP 8 0 18
b=AS:80
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:18 G729/8000/1
a=fmtp:18 annexb=no
a=ptime:20
a=sendrecv
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide