I have a use case (student advising at a university) where I need to be able to pass/forward an incoming call to the SIP address for a Zoom meeting.
Every Zoom meeting has a SIP address by default in the format of [meetingID].[passcode]@zoomcrc.com.
At this point, I’m just testing for feasibility, so I’m setting up a sample Zoom meeting as an extension on my FreePBX 15 system.
Looking through this forum, I found the suggestion of adding custom extension for an external SIP address. So I used Admin > Config Edit to add the following lines to extensions_custom.conf:
[from-internal-custom]
;ZoomSIP
exten => 13579,1,Dial(SIP/[redacted].[redacted]@zoomcrc.com)
(I am redacting the Zoom meeting ID and passcode for security, but the actual config contains the digits.)
When I dial the extension, I get the “Your call cannot be completed as dialed” message.
Here is what I’m seeing in the logs for the call (again, with Zoom details redacted but correct in the logs):
793 [2022-06-01 08:46:39] VERBOSE[6037][C-00000f26] netsock2.c: Using SIP RTP TOS bits 184
794 [2022-06-01 08:46:39] VERBOSE[6037][C-00000f26] netsock2.c: Using SIP RTP CoS mark 5
795 [2022-06-01 08:46:39] VERBOSE[26582][C-00000f26] pbx.c: Executing [13579@from-internal:1] Dial("SIP/500-0001af98", "SIP/[redacted].[redacted]@zoomcrc.com") in new stack
796 [2022-06-01 08:46:39] VERBOSE[26582][C-00000f26] netsock2.c: Using SIP RTP TOS bits 184
797 [2022-06-01 08:46:39] VERBOSE[26582][C-00000f26] netsock2.c: Using SIP RTP CoS mark 5
798 [2022-06-01 08:46:39] VERBOSE[26582][C-00000f26] app_dial.c: Called SIP/[redacted].[redacted]@zoomcrc.com
799 [2022-06-01 08:46:39] VERBOSE[26582][C-00000f26] app_dial.c: SIP/zoomcrc.com-0001af99 is ringing
800 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] app_dial.c: SIP/zoomcrc.com-0001af99 redirecting info has changed, passing it to SIP/500-0001af98
801 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] app_dial.c: SIP/zoomcrc.com-0001af99 is busy
802 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] app_dial.c: Everyone is busy/congested at this time (1:1/0/0)
803 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] pbx.c: Executing [13579@from-internal:2] NoCDR("SIP/500-0001af98", "") in new stack
804 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] pbx.c: Executing [13579@from-internal:3] Progress("SIP/500-0001af98", "") in new stack
805 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] pbx.c: Executing [13579@from-internal:4] Wait("SIP/500-0001af98", "1") in new stack
806 [2022-06-01 08:46:41] VERBOSE[26582][C-00000f26] pbx.c: Executing [13579@from-internal:5] Playback("SIP/500-0001af98", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
807 [2022-06-01 08:46:41] VERBOSE[26582][C-00000f26] file.c: <SIP/500-0001af98> Playing 'silence/1.ulaw' (language 'en')
808 [2022-06-01 08:46:42] VERBOSE[26582][C-00000f26] file.c: <SIP/500-0001af98> Playing 'cannot-complete-as-dialed.ulaw' (language 'en')
809 [2022-06-01 08:46:44] VERBOSE[26582][C-00000f26] file.c: <SIP/500-0001af98> Playing 'check-number-dial-again.ulaw' (language 'en')
810 [2022-06-01 08:46:45] VERBOSE[26582][C-00000f26] pbx.c: Executing [h@from-internal:1] Macro("SIP/500-0001af98", "hangupcall") in new stack
811 [2022-06-01 08:46:45] VERBOSE[26582][C-00000f26] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/500-0001af98", "1?theend") in new stack
812 [2022-06-01 08:46:45] VERBOSE[26582][C-00000f26] pbx_builtins.c: Goto (macro-hangupcall,s,3)
813 [2022-06-01 08:46:45] VERBOSE[26582][C-00000f26] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/500-0001af98", "0?Set(CDR(recordingfile)=)") in new stack
814 [2022-06-01 08:46:45] VERBOSE[26582][C-00000f26] pbx.c: Executing [s@macro-hangupcall:4] Hangup("SIP/500-0001af98", "") in new stack
815 [2022-06-01 08:46:45] VERBOSE[26582][C-00000f26] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/500-0001af98' in macro 'hangupcall'
816 [2022-06-01 08:46:45] VERBOSE[26582][C-00000f26] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/500-0001af98'
I believe the salient lines from those logs are:
799 [2022-06-01 08:46:39] VERBOSE[26582][C-00000f26] app_dial.c: SIP/zoomcrc.com-0001af99 is ringing
800 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] app_dial.c: SIP/zoomcrc.com-0001af99 redirecting info has changed, passing it to SIP/500-0001af98
801 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] app_dial.c: SIP/zoomcrc.com-0001af99 is busy
802 [2022-06-01 08:46:40] VERBOSE[26582][C-00000f26] app_dial.c: Everyone is busy/congested at this time (1:1/0/0)
Any suggestions on how we might get this working?
Thanks,
Jeremy.