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

SIP Trunk CME & Asterisk

Nguyen Ma
Level 1
Level 1

Hi all,

My topology for SIP trunk between Cisco CME and Asterisk as below:

Cisco SIP Phone 3905--------CME<---------------SIPTrunk-------------->Asterisk---------Softphone

I can make call from Asterisk to CME with no problem. But can't make call from CME to Asterisk. I already captured packet from both side, on Asterisk side, there is no packet be captured. I attached ccsip message, CME only INVITE first number of Asterisk's number.

Dial-peer on CME as below:

dial-peer voice 22 voip
description >>Elastix>>
destination-pattern 5...
session protocol sipv2
session target ipv4:172.16.3.253
dtmf-relay sip-kpml
codec g711ulaw

Config for 3905 SIP Phone:

voice register pool 15
id mac 7C95.F323.B214
type 3905
number 1 dn 115
dtmf-relay sip-kpml
username 115 password ********
codec g711ulaw

Please help advise on this case.

Thank you all

Nguyen Ma

5 Replies 5

Dennis Mink
VIP Alumni
VIP Alumni

the log you attached contains and INVITE, from what I presume is your CME.

you need to be more precise than that, what number are you dialing and from where, and what is the config of your CME so we can see what dial peers are getting hit.

Thanks

Please remember to rate useful posts, by clicking on the stars below.

Hi Dennis,

Thanks for your reply,

My calling number is 115 (CME extension) and called number is 5001 (Asterisk extension). Dial-peer is 22 as above.

Thanks,

Hi,

From log You are calling extension "5" not "5001" (To: sip:5@172.16.3.254).

I have same issue with this setup, and i have fixed this by creating Dialplan.xml for that specific voice register pool.

Finally i have managed to dial right extension, but call from cisco cme -> asterisk 13 (pjsip-trunk-g711ulaw) not passing.

Call from asterisk -> cme working ok.

More info after testing...

Dear Daniel,

I pressed 5001, but CME only send 5 :)

Thanks,

Dear Nguyen,

I have fix it with:

voice register dialplan 1
 type 7940-7960-others ;CHECK THIS FOR YOUR ENDPOINT
 pattern 1 5... timeout 3
!
voice register pool  1
 id mac XXXX.XXXX.XXXX
 type 7941
 number 1 dn 1
 dialplan 1
 dtmf-relay rtp-nte
 username XXXX password XXXX
 codec g711ulaw

Now my CME sending real extension number, but still no call to asterisk.

Working on it...