11-21-2016 07:36 PM - edited 03-17-2019 08:44 AM
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
11-27-2016 04:31 PM
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
11-27-2016 05:10 PM
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,
12-12-2016 09:38 AM
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...
12-12-2016 05:08 PM
Dear Daniel,
I pressed 5001, but CME only send 5 :)
Thanks,
12-12-2016 11:00 PM
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...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide