I have a SIP trunk operational between UCM and FreePBX. Users on each system can call between each other. I can call out via Broadvoice SIP from FreePBX.
I want the ability to do the following and cant seem to get it to work.
1)User on UCM calls outside world and all calls are routed to FreePBX and out. If I view the full logfile I see the call making to FreePBX but get the following:
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [XXXXXXXXXX@from-sip-external:1] NoOp(“SIP/172.16.1.8-096e98c0”, “Received incoming SIP connection from unknown peer to XXXXXXXXXX”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [XXXXXXXXXX@from-sip-external:2] Set(“SIP/172.16.1.8-096e98c0”, “DID=XXXXXXXXXX”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [XXXXXXXXXX@from-sip-external:3] Goto(“SIP/172.16.1.8-096e98c0”, “s|1”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Goto (from-sip-external,s,1)
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [s@from-sip-external:1] GotoIf(“SIP/172.16.1.8-096e98c0”, “1?from-trunk|XXXXXXXXXX|1”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Goto (from-trunk,XXXXXXXXXX,1)
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [XXXXXXXXXX@from-trunk:1] Set(“SIP/172.16.1.8-096e98c0”, “__FROM_DID=XXXXXXXXXX”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [XXXXXXXXXX@from-trunk:2] NoOp(“SIP/172.16.1.8-096e98c0”, “Received an unknown call with DID set to XXXXXXXXXX”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [XXXXXXXXXX@from-trunk:3] Goto(“SIP/172.16.1.8-096e98c0”, “s|a2”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Goto (from-trunk,s,2)
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [s@from-trunk:2] Answer(“SIP/172.16.1.8-096e98c0”, “”) in new stack
[Dec 30 08:56:34] VERBOSE[5400] logger.c: – Executing [s@from-trunk:3] Wait(“SIP/172.16.1.8-096e98c0”, “2”) in new stack
[Dec 30 08:56:36] VERBOSE[5400] logger.c: – Executing [s@from-trunk:4] Playback(“SIP/172.16.1.8-096e98c0”, “ss-noservice”) in new stack
The same # dials fine from FreePBX.
- I want to have all incoming calls to FreePBX via the Broadvoice connection routed to UCM SIP Trunk. Basically FreePBX is a SIP gateway because UCM doesnt hook up directly to Broadvoice without IOS gateway or other gateway.
I know there is some additional debug that may be needed but any help would be appreciated.
Thanks.