Hi there,
I’m having high-level of configuration problem with my FreePBX Distro - CentOS 7 installed on different network of a LAN that supposed to receive incoming call from another asterisk server version 11 on another network.
Below is simple trunk setting using GUI.
type=friend
qualify=yes
port=5060
insecure=port,invite
host=xxx.xxx.xxx.xxx
dtmfmode=rfc2833
disallow=all
context=9292-ivr
canreinvite=no
allow=ulaw
;username=userid
;secret=password
;context=from-trunk
Status of the sip trunk seems ok as below
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
1000 (Unspecified) D No No A 0 UNKNOWN
CamGSM 172.16.100.117 Yes Yes 5060 OK (1 ms)
Inbound route configured as screen shot below.
My custom destination was setup as below.
My dialplan was setup to handle incoming call with DID 9292 as below.
When I called to a number that supposed to be routed by another asterisk server to this asterisk server with ‘9292’ as DID, the call seemed reach this server because I could the caller number xxxxxxxxx but ended immediately and this asterisk server logged error as below.
[2017-12-13 16:22:35] NOTICE[169955]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request ‘OPTIONS’ from ‘“asterisk” sip:[email protected]’ failed for ‘172.16.100.117:5060’ (callid: [email protected]:5060) - No matching endpoint found
[2017-12-13 16:22:40] NOTICE[169955]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request ‘INVITE’ from ‘“012551622” sip:[email protected]’ failed for ‘172.16.100.117:5060’ (callid: [email protected]:5060) - No matching endpoint found
Please somebody help me!
Thanks in advance.
Nimeth