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

Hairpin Config

happykiran
Level 1
Level 1

Hi all,

I hope someone of you have done this before.

I have AS5400 gateway. I want to route an incoming IP call to a destination IP call. Somewhere I found that it is not possible to do that. So I have connected two voice ports with a crossover cable. In my case, I am using port 6/6 and 6/7. I have made 6/6 as Network side. I have given the following dial-peer.

The Idea is to route the call from IP->PSTN->PSTN->Session Target

dial-peer voice 101 pots

destination-pattern 0044207401T

no digit-strip

port 6/6:D

dial-peer voice 102 pots

incoming called-number .

destination-pattern 0044207401T

no digit-strip

direct-inward-dial

port 6/7:D

dial-peer voice 103 voip

incoming called-number .

destination-pattern 0044207401T

session target ipv4:195.54.247.126

dial-peer voice 2 voip

incoming called-number .

destination-pattern 00T

session target ipv4:213.232.102.45

dial-peer voice 3 pots

incoming called-number .

destination-pattern 98T

progress_ind setup enable 3

progress_ind alert enable 8

direct-inward-dial

port 6/0:D

forward-digits extra

After this configuration, I get the following error.

*Jan 21 21:38:14.891: ISDN Se6/6:15 Q931: TX -> SETUP pd = 8 callref = 0x001F

Bearer Capability i = 0x8090A3

Standard = CCITT

Transer Capability = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA98381

Exclusive, Channel 1

Called Party Number i = 0xA1, '00442074014223'

Plan:ISDN, Type:National

*Jan 21 21:38:14.899: ISDN Se6/7:15 Q931: RX <- SETUP pd = 8 callref = 0x001F

Bearer Capability i = 0x8090A3

Standard = CCITT

Transer Capabi

imass-GW02#lity = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA98381

Exclusive, Channel 1

Called Party Number i = 0xA1, '00442074014223'

Plan:ISDN, Type:National

*Jan 21 21:38:14.899: ISDN Se6/7:15 **ERROR**: call_incoming: Received a call id

0x42 with a bad bearercap from <unknown> on b channel 1

*Jan 21 21:38:14.903: ISDN Se6/7:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0

x801F

Cause i = 0x80D8 - Incompatible destination

*Jan 21 21:38:14.907: ISDN Se6/6:1

imass-GW02#5 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x801F

Cause i = 0x80D8 - Incompatible destination

*Jan 21 21:38:14.907: ISDN Se6/6:15 **ERROR**: call_cleared: VOICE ERROR: NULL V

DEV Common(0xFC): bchan -1, call id 0x8028

*Jan 21 21:38:14.915: ISDN Se6/7:15 Q931: TX -> SETUP pd = 8 callref = 0x0020

Bearer Capability i = 0x8090A3

Standard = CCITT

Transer Capability = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA9839F

Exclusive, Channel 31

Called

imass-GW02# Party Number i = 0xA1, '00442074014223'

Plan:ISDN, Type:National

*Jan 21 21:38:14.923: ISDN Se6/6:15 Q931: RX <- SETUP pd = 8 callref = 0x0020

Bearer Capability i = 0x8090A3

Standard = CCITT

Transer Capability = Speech

Transfer Mode = Circuit

Transfer Rate = 64 kbit/s

Channel ID i = 0xA9839F

Exclusive, Channel 31

Called Party Number i = 0xA1, '00442074014223'

Plan:ISDN, Type:National

*Jan 21 21:38:14.927: ISDN Se6/6:15 **ERROR**: call_incoming: Received a call id

0

imass-GW02#x43 with a bad bearercap from <unknown> on b channel 31

*Jan 21 21:38:14.931: ISDN Se6/6:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0

x8020

Cause i = 0x82D8 - Incompatible destination

*Jan 21 21:38:14.935: ISDN Se6/7:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0

x8020

Cause i = 0x82D8 - Incompatible destination

*Jan 21 21:38:14.939: ISDN Se6/7:15 **ERROR**: call_cleared: VOICE ERROR: NULL V

DEV Common(0xFC): bchan -1, call id 0x8029

*Jan 21 21:38:14.939: ISDN Se6/7:15 **ERROR**: CCPRI_Go: call

imass-GW02#id 0x8029 event 0x4B No ccb Source->HOST

Can someone explain me what's going on and what I have to do to get the call going ?

Thanks in advance,

Kiran

1 Reply 1

paul.harrison
Level 4
Level 4

Kiran,

I've done this on AS5300's before so I know it works,

On the voice-port 6/6:D that is making the outgoing call put the command bearer-cap speech

for good measure put it on all the voice ports

I would also suggest that you try using a dummy number / prefix to assist you in troubleshhoting / maitenance e.g.

dial-peer voice 101 pots

destination-pattern 0044207401T

no digit-strip

prefix 88

port 6/6:D

dial-peer voice 102 pots

incoming called-number .

destination-pattern T <-- you don't need any number here as it's only getting inbound calls

no digit-strip

direct-inward-dial

port 6/7:D

dial-peer voice 103 voip

incoming called-number .

destination-pattern 880044207401T

session target ipv4:195.54.247.126

and then use the call manager to strip the 88, it just makes it easier to follow a debug if you can see the cal llegs.

Paul