cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
78030
Views
13
Helpful
23
Replies
Highlighted
Beginner

Command to check dial-peer

Dear Sir,

If i have three dial peers at incoming call leg for pots then what is the command to see which pots dial peer is being read by the device.

23 REPLIES 23
Highlighted

Dear Daniele,

As 51 is my city code (Islamabad) so if made 51..... then all calls will follow 9004 which i dont want.

i want some specific excanges numbers like

512197

512241

514875

514488 etc to route to 9004.

and the ANi are between 15-20 so in this way i have to made as much dial-peers.

Please suggest.

Thanks

Highlighted

I suggest you to create specific dial-peers, one for any ANI.

A cisco gateway can handle hundreds of dial-peers without problems.

The maximum number of dial peers that can be configured on a gateway depends on the available memory (DRAM). Each dial peer consumes approximately 6KB of memory. Make sure that you have at least 20% of the total memory reserved for other CPU processes.

Regards.

Highlighted

yes i will create dial-peers for separate ANIs. but can some translation profile will do that task? like which i created but its not working :

voice translation-rule 16

rule 1 /^514411810/ /514411810/

rule 2 /^512112152/ /512112152/

rule 3 reject //

voice translation-profile add-prefix

translate calling 16

!

dial-peer voice 3820 pots

tone ringback alert-no-PI

description ### FOR ORIGINATION POTS DIALPEER ADDIng PREFIX ###

translation-profile incoming add-prefix

preference 1

destination-pattern .T

direct-inward-dial

port 7/3:D

dial-peer voice 3810 pots

tone ringback alert-no-PI

description ### FOR ORIGINATION POTS DIALPEER ###

destination-pattern .T

direct-inward-dial

port 7/3:D

Please guide.

Highlighted

Translation profiles are invoked only after a dial-peer matching.

If you want reject a call using translation profiles, you must add the command call-block translation-profile ... under a dial-peer.

This is an example:

voice translation-rule 1
 rule 1 reject /9193927393/      
!--- Matches the defined number string and rejects the call.


!--- Apply the rule to a translation profile for the calling number. !--- You could also reject based on called or redirect-called numbers.
voice translation-profile call_block translate calling 1      !--- Invokes voice translation rule 1 in order to determine !--- which calls to reject based on the calling number. !--- Include the translation profile within a dial peer definition. dial-peer voice 100 pots call-block translation-profile incoming call_block      !--- Invokes the voice translation profile “call_block” on !--- inbound POTS calls that match this peer !--- in order to determine which calls to reject.
incoming called-number .      !--- Matches this peer for all inbound POTS calls. port 1/1:23

Regards.

Highlighted

Dear Daniele,

Can you please address one of my more scenario here : 

let me first expalin my scenario here :

My call is coming from PSTN on pots and landed on media gateway Cisco 5400 with signalling on Cisco PGW 2200 and then cisco forward it to Softswitch on voip dialpeer.

Now issue is that when i tried for example 30 attempts, then out of 30 two attempts lost.

My softswitch didnt receive these two attempts and cisco failed the calls from no route to destination. when i traced these calls from PGW, then i came to know that its not forwarded to Softswitch.

PGW trace is attached and also the debug trace of 5400 is also attached .

Configs of dialpeers are as follows :

dial-peer voice 1001 voip

description Towards Advanced VOIP

translation-profile outgoing national

huntstop

destination-pattern .T

voice-class codec 2001

session protocol sipv2

session target ipv4:xxx

dtmf-relay rtp-nte

fax-relay ecm disable

fax rate 9600

fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none

!

dial-peer voice 3710 pots

tone ringback alert-no-PI

description ### FOR ORIGINATION POTS DIALPEER###

translation-profile incoming Remove-C

destination-pattern .T

direct-inward-dial

port 6/2:D

!

dial-peer voice 3730 pots

tone ringback alert-no-PI

description ### FOR ORIGINATION POTS DIALPEER ###

translation-profile outgoing national-outgoing

destination-pattern 92102T

progress_ind alert enable 8

progress_ind progress enable 8

direct-inward-dial

port 6/0:D

voice translation-profile Remove-C

translate called 1450

!

!

voice translation-profile national

translate calling 1000

translate called 1550

!

voice translation-profile national-outgoing

translate calling 1700

translate called 1000

voice translation-rule 1000

rule 1 // // type any national plan any isdn

!

voice translation-rule 1450

rule 1 /C/ //

!

voice translation-rule 1550

rule 1 /^1947100/ /1947/

rule 2 /^\(1947\)\(.*\)$/ /194700\2/ type international international plan any isdn

!

!

voice translation-rule 1700

rule 1 // // type any national plan any isdn

Can you please guide where and why these two attempts are missing?

Regards,

Bilal

Highlighted

In the log there are some calls.

Can you send me the log of problematic attemp only?

Regards.

Highlighted

Dear Daniele,

This was troubleshooted. I have put command incoming called numbers in pots dialpeer. attempts were missing due to destination pattern command on pots dialpeer.

dial-peer voice 3710 pots

tone ringback alert-no-PI

description ### FOR ORIGINATION POTS DIALPEER###

translation-profile incoming Remove-C

incoming called-number  .T

direct-inward-dial

port 6/2:D

Thanks for your concern.

regards,

Bilal

Highlighted

Dear Daniele,

I have one more scenario problem if you please guide :

The scenario is i am reciving the call from PSTN on cisco gateway 5400 and which

forwards the call to softswitch. Now i am using two stage dialing for this scenario.

The customer called 1256 two stage code and cisco forwards that code to softswitch

which generates IVR for entering called number.

Now the called number is coming in DTMF. And when called number in DTMF reaches

softswitch it routes the call depending on its LCR which is based on called number.

Now i want that my Cisco 5400 append some prefix with dialed number so that my

softswitch then routes the call based on that prefix which is placed before called

number which is coming in DTMF.

Is this can be done in cisco Gw?

Please guide and suggest for any possibility.

Regards,

Bilal

Highlighted

If I correctly understand your request, you want add a "DTMF prefix".

Is it right?

Maybe with a tcl script... but I don't have experience with them.

Regard.