cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
303
Views
4
Helpful
4
Replies

Dial Peer

huntlee
Level 1
Level 1

On my customer VG, i currently have a situation where my IP Phone will be calling 032804000, and it has been translated to 4000 at VG

!

dial-peer voice 101 voip

destination-pattern 4000

voice-class codec 99

session target ipv4:10.133.140.10

dtmf-relay rtp-nte digit-drop h245-alphanumeric

!

voice translation-rule 300

rule 1 /32804000/ /4000/

rule 2 /032804000/ /4000/

!

However, i'm getting this message on VG debug:

*Apr 3 2009 13:18:39.593 tok: ISDN Se0/0/0:23 Q931: TX -> SETUP pd = 8 callref = 0x0112

Bearer Capability i = 0x8090A2

Standard = CCITT

Transfer Capability = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA98397

Exclusive, Channel 23

Calling Party Number i = 0x0081, '9900'

Plan:Unknown, Type:Unknown

Called Party Number i = 0x80, '4000'

Plan:Unknown, Type:Unknown

*Apr 3 2009 13:18:39.657 tok: ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8 callref = 0x8112

Channel ID i = 0xA98397

Exclusive, Channel 23

*Apr 3 2009 13:18:39.661 tok: ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8 callref = 0x8112

Cause i = 0x8281 - Unallocated/unassigned number

Progress Ind i = 0x8288 - In-band info or appropriate now available

*Apr 3 2009 13:18:39.661 tok: ISDN Se0/0/0:23 Q931: call_disc: PI received in disconnect; Postpone sending RELEASE for callid 0x8055

*Apr 3 2009 13:18:42.141 tok: ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8 callref = 0x0112

*Apr 3 2009 13:18:42.173 tok: ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x8112

JTOIPTVGVR01#

Cheers,

Hunt

4 Replies 4

Hi Hunt,

You'll need to include more information.

Where is the translation profile applied?

How is the call being sent to the gateway?

Why is the gateway sending this 4000 number out the PSTN instead of the voip dial peer?

What is the call flow here?

-nick

Nick,

IP phone (032804000) towards VG, VG will translate 032804000 back to 4000, then send the call back to a CTI Port in CallManager.

Phone > VG > CTI Port

So i don't want the call to get to PSTN, but i do need the call to get out from CallManager before sending it back in.

THere are 2 translation profile. One is for incoming calls and out is outbound.

!

dial-peer voice 5 pots

translation-profile outgoing MainLine

destination-pattern 032804000

direct-inward-dial

port 0/0/0:23

!

!

voice translation-profile MainLine

translate called 300

!

-----------------

As for inbound back in

voice translation-rule 300

rule 1 /32804000/ /4000/

rule 2 /032804000/ /4000/

!

voice translation-profile pstn

translate calling 200

translate called 100

!

!

dial-peer voice 1 pots

translation-profile incoming pstn

incoming called-number .

direct-inward-dial

!

Alright, this doesn't really make any sense.

You would first need this command to enable IPIPGW:

voice service voip

allow h323-to-h323

And your incoming pots dial peer is never being hit because this isn't going to the PSTN. It will also not hit your PSTN because it is also sending to PSTN.

You would need an incoming dial peer that would translate the number to 4000.

voice translation-profile voip-loop

translate called 300

dial-peer voice 1 voip

incoming called-number .

codec g711ulaw

no vad

translation-profile incoming voip-loop

hth,

nick

The 4000 is the *Final number* that i want the gateway to the call *inbound* back to Callmanager CTI port