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

Dial peer howto

godzilla0
Level 1
Level 1

Hi I need to know how to do the following. Incoming call with number 935205502 must go back out inmediately with number 600461448.

Thank you !

28 Replies 28

Are you testing with csim? If so not it doesn't apply translation-rule so please use a regular call to test.

I'm sorry again but I don't know what you mean with csim, sorry !

Nevermind. Configure a DP that matches you that number or more.

Hello again. I did:

dial-peer voice 30 pots

description "prueba"

incoming called-number 600......

no digit-strip

direct-inward-dial

But I had no luck. It output the same errors.

You need "destination-pattern" for outgoing calls.

Ok, I did:

dial-peer voice 30 pots

description "test"

destination-pattern 0600461448

port 7/7:D

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

The main config for number translation is:

voice translation-rule 100

rule 1 /935205502/ /0600461448/

!

!

voice translation-profile makechange

translate called 100

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

And the dump is:

*Nov 8 07:28:21.947: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

Calling Number=, Called Number=0600461448, Voice-Interface=0x66AF1FB8,

Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 8 07:28:21.947: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=100

*Nov 8 07:28:21.947: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

Calling Number=, Called Number=0600461448, Voice-Interface=0x0,

Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

Peer Info Type=DIALPEER_INFO_FAX

*Nov 8 07:28:21.947: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

Result=NO_MATCH(-1) After All Match Rules Attempt

*Nov 8 07:28:21.947: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

Calling Number=, Called Number=0600461448, Voice-Interface=0x0,

Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

Peer Info Type=DIALPEER_INFO_SPEECH

*Nov 8 07:28:21.947: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

Result=NO_MATCH(-1) After All Match Rules Attempt

*Nov 8 07:28:24.991: %CALLTRKR-6-CALL_RECORD: ct_hndl=76571, service=None, origin=Originate, category=Modem, DS0 slot/port/ds1/chan=7/2/2/30, called=610769566, calling=outgoing, resource slot/port=(n/a)/(n/a), userid=(n/a), ip=0.0.0.0, account id=(n/a), setup=11/08/2000 07:28:07.654, conn=0.00, phys=0.00, service=0.00, authen=0.00, init-rx/tx b-rate=0/0, rx/tx chars=0/0, time=6.86, disc subsys=ISDN, disc code=0x10, disc text=Normal call clearing, sig type=Unknwn

*Nov 8 07:28:24.991: %CALLTRKR-6-CALL_RECORD: ct_hndl=76572, service=None, origin=Answer, category=SyncData, DS0 slot/port/ds1/chan=7/0/0/0, called=935205502, calling=(n/a), resource slot/port=(n/a)/(n/a), userid=(n/a), ip=0.0.0.0, account id=76587, setup=11/08/2000 07:28:22.534, conn=0.00, phys=0.00, service=0.00, authen=0.00, init-rx/tx b-rate=0/0, rx/tx chars=0/0, time=0.01, disc subsys=CSM, disc code=0x1A, disc text=Failed to find DSP resource, sig type=Unknwn

Is said DP up/up? That is the correct port ?

Noe you also need "no digit-strip" for DP 30.

That port works because it was already configured and this is a production router. I added no digit-strip but still not working.

Yes for some reason DP is not matched.

Try "sh dialplan number .

Thanks, this is the dump:

2821_VPNServer#sh dialplan number 600461448

Macro Exp.: 5600461448

No match, result=-1

Dialpeer is either misconfigured or down for some reason.

Could a dialpeer be down like an interface ?

I need to make this run . . . if misconfigured, could somebody please help ? Thanks.

Could a dialpeer be down like an interface ?

I need to make this run . . . if misconfigured, could somebody please help ? Thanks.

Check:

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010e6d1.shtml

I think more than one person on these forum can give professional support if so requested.