Hello,
I’m newbie with FreePBX and I’ve deployed the following scenario on my PC. I need your help with it, please. I’ve tried to link FreePBX with CUCM with a SIP Trunk. After applying the configuration, calls from FreePBX to CUCM work fine, but calls from CUCM to FreePBX don’t progress.
In a Wireshark trace, I see a reply from FreePBX to CUCM with “Status: 500 Internal Server Error”.
DNs FreePBX: 3XXX
FreePBX: 192.168.2.30
DNs CUCM: 1XXX
CUCM: 192.168.2.9
This is the config of the FreePBX SIP trunk (sorry, I don’t know how to copy complete config from server files):
Trunk_CUCM
Outbound CallerID 0000
[Outgoing]
Trunk Name: CUCM
Peer details:
type=friend
qualify=yes
nat=no
insecure=port,invite
host=192.168.2.9
fromdomain=192.168.2.9
dtmf=rfc2833
disallow=all
context=from-internal
canreinvite=no
allow=ulaw
[Incoming]
User Context: 192.168.2.9
User Details:
type=friend
qualify=yes
nat=no
insecure=port,invite
host=192.168.2.9
fromdomain=192.168.2.9
dtmf=rfc2833
disallow=all
context=from-internal
canreinvite=no
allow=ulaw
On the Cisco CUCM side, I’ve configured:
- Partition, CSS, IP phone.
- SIP Trunk Security Profile UDP, non secure.
- SIP Trunk: OnNet, ip destination FreePBX
- Route Pattern 3XXX
Any suggestion?
Bye!
EDIT: If I activate SIP traces on FreePBX, this message appears with call from CUCM to FreePBX:
[2016-05-10 09:35:46] ERROR[6085]: res_pjsip.c:2432 sip_get_tpselector_from_endpoint: Unable to retrieve PJSIP transport ‘udp,tcp,ws,wss’ for endpoint ‘anonymous’
SIP peers state:
localhost*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
192.168.2.9 192.168.2.9 No No 5060 OK (10 ms)
CUCM 192.168.2.9 No No 5060 OK (10 ms)