cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3444
Views
0
Helpful
5
Replies

E1 Configuration for CME on 2921

hello,

i have a router 2921 with the aproprieted  voice card for E1 and licenses. I would like to know how to configure it for incoming and outcoming calls. I already configured the ephone and SIP phones for internal calls. now i just need to configure it for send and receive external calls.

This is some informations about my cenario!

Router:

IOS:   c2900-universalk9-mz.SPA.153-1.T

CME: 9.1

ISP from Brazil:

type: E1

signal: R2 Digital

Channels: 32   

Phone Number Iniital: XXXX-9250 (main)

ephones-dn numbers: 9250 to 9280

Please if some one help me!

Best regards....

5 Replies 5

If your controller E1 is up an running, you must configure dial-peers to route calls:

dial-peer voice 10 pots

description OUT to PSTN

destination-pattern .T

direct-inward-dial

port 1/0:15   !### use your port number

dial-peer voice 11 voip

description IN from PSTN

translation-profile incoming XLATE_PUBLIC_NUM

destination-pattern XXXX92[5-8].   !### your pstn number

b2bua

modem passthrough nse codec g711alaw

session protocol sipv2

session target ipv4:10.0.0.1  !### CME ip address

session transport udp

incoming called-number XXXX92[5-8].

dtmf-relay rtp-nte

codec g711alaw

fax rate disable

fax protocol pass-through g711alaw

no vad

Probably you must use a translation rule to convert your public phone numbers to ephone numbers:

voice translation-rule 1

rule 1 /^XXXX92/ /92/

!

!

voice translation-profile XLATE_PUBLIC_NUM

translate called 1

Regards.

Hello, Daniele!

Thanks for help.

I did this configurations with no problems, but the incoming\outcoming calls are not works. The following situations occurs:

  1. For Incoming calls: When i call to PBX from another number, is muted and then ends after some seconds;
  2. For outcoming calls: when i try to do some call, i need to insert the number "0" before the destination number, rigth?  so i put 0 and the destination number and i received a mensage from the telcom company, that was not possible to complete the call.

I changed the lines above with my configuration, but im not sure if i did rigth. Can you help me?

dial-peer voice 10 pots

description OUT to PSTN

destination-pattern .T

direct-inward-dial

port 1/0:15 !### i changed for: port 0/0/0:0  (0/0/0 its my port and  : 0  its my ds0-group. )

dial-peer voice 11 voip

description IN from PSTN

translation-profile incoming XLATE_PUBLIC_NUM

destination-pattern XXXX92[5-8]. !### i changed for my number without the area code and region code, i need to insert my full number ?

b2bua

modem passthrough nse codec g711alaw

session protocol sipv2

session target ipv4:10.0.0.1 !### ok, i changed without problems

session transport udp

incoming called-number XXXX92[5-8]. !### i changed for my number without the area code and region code, i need to insert my full number ?

dtmf-relay rtp-nte

codec g711alaw

fax rate disable

fax protocol pass-through g711alaw

no vad

Probably you must use a translation rule to convert your public phone numbers to ephone numbers:

voice translation-rule 1

rule 1 /^XXXX92/ /92/  !### i changed for my number without the area code and region code, i need to insert my full number ?

!

!

voice translation-profile XLATE_PUBLIC_NUM

translate called 1

Please use these commands and post the output of debug for incoming and outgoing calls:

router# term mon

router# debug vpm signal

Regards.

Thanks for answer, but i resolved this problem with the configuration bellow:

Now i just have one question..... I think that the CME is taking too long time to complete de call, around 7 seconds for local calls and 12s for another city our country. Its just happen for outcoming calls.

Is It a normal time?

voice service voip

allow-connections sip to sip

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

sip

  registrar server expires max 1200 min 300

voice register global

mode cme

source-address X.X.X.X port 5060

timeouts interdigit 4

max-dn 25

max-pool 25

load 3905 CP3905.9-2-2-0

authenticate register

timezone 19

time-format 24

hold-alert

external-ring Bellcore-dr5

tftp-path flash:

create profile sync 0093222832042964

ntp-server X.X.X.X mode unicast

controller E1 0/0/0

framing NO-CRC4

ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani

cas-custom 0

  country brazil

  double-answer

  category 2

  answer-signal group-b 1

voice-port 0/0/0:0

timeouts interdigit 4

dial-peer voice 10 pots

description Local

destination-pattern 0[1-9].......

port 0/0/0:0

!

dial-peer voice 12 pots

description Geral

destination-pattern 0T

port 0/0/0:0

!

dial-peer voice 2 pots

description Incoming Call

incoming called-number .

direct-inward-dial

port 0/0/0:0

!

Your dialing delay is usual.

You can try to adjust the interdigit timer and use the # at the end of the dialed number to send the call immediately.

Best Regards.

Review Cisco Networking for a $25 gift card