Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12590

CallManager to Asterisk

$
0
0

@zirophyz wrote:

Hi guys,

Trying to setup a trunk between Cisco UCM 11 and Asterisk 13. I plan to just use Asterisk for extending media functions - at this point, offloading voicemail.

What I want to achieve is that calls coming in from the CUCM trunk are treated as regular internal Asterisk calls, and will hit the local dialplan directly and route accordingly.

To do this I have added in the trunk settings, on both PEER and USER;
type=friend
context=from-internal

This isn't working, for one reason or another that I can't determine. In the Asterisk logs I get;

res_pjsip/pjsip_distributor.c: Request from '<sip:172.22.4.123>' failed for '172.22.4.123:5060' (callid: 93130e00-73a1c275-1bb78-650416ac@172.22.4.123) - No matching endpoint found

Well, fair enough - I don't have a PJSIP extension setup for anything I am trying to dial. I do however have a chan_sip extension (800) setup which I am trying to reach. I also have a Misc Application setup too as a little test on 801.

The problem that I am finding though is that everything Call Manager sends to the Asterisk server get a 401 Unauthorised response, even just OPTIONS packets.

First of all, I think I need to tackle this Unauthorised problem. I understand why Asterisk is sending the challenge - but, I don't want it to because the Call Manager side isn't all that kind regards authentication on SIP trunks.

Is it possible to setup a trunk to explicitly trust anything from a single IP address? I want to setup a raw SIP trunk between the, where Asterisk will process ANY SIP packet coming from CUCM.

I know there is a setting to allow Anonymous Calls in Advanced Settings (or, something) but I don't want to enable this system-wide and end up relaying dodgy calls.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12590

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>