I'm having an issue on inbound calls from a Skyetel trunk. Here is a capture of the asterisk messages on the incoming call (I x out our DID))
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [12524xxxxxx@from-sip-external:1] NoOp("SIP/52.8.201.128-000001d6", "Received incoming SIP connection from unknown peer to 12524xxxxxx") in new stack
-- Executing [12524xxxxxx@from-sip-external:2] Set("SIP/52.8.201.128-000001d6", "DID=12524xxxxxx") in new stack
-- Executing [12524xxxxxx@from-sip-external:3] Goto("SIP/52.8.201.128-000001d6", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/52.8.201.128-000001d6", "1?setlanguage:checkanon") in new stack
-- Goto (from-sip-external,s,2)
-- Executing [s@from-sip-external:2] Set("SIP/52.8.201.128-000001d6", "CHANNEL(language)=en") in new stack
-- Executing [s@from-sip-external:3] GotoIf("SIP/52.8.201.128-000001d6", "1?noanonymous") in new stack
-- Goto (from-sip-external,s,5)
-- Executing [s@from-sip-external:5] Set("SIP/52.8.201.128-000001d6", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2019-08-21 10:40:29.601 EDT.
-- Executing [s@from-sip-external:6] Log("SIP/52.8.201.128-000001d6", "WARNING,"Rejecting unknown SIP connection from 52.8.201.128"") in new stack
[2019-08-21 10:40:14] WARNING[25477][C-0000052a]: Ext. s:6 @ from-sip-external: "Rejecting unknown SIP connection from 52.8.201.128"
-- Executing [s@from-sip-external:7] Answer("SIP/52.8.201.128-000001d6", "") in new stack
-- Executing [s@from-sip-external:8] Wait("SIP/52.8.201.128-000001d6", "2") in new stack
-- Executing [s@from-sip-external:9] Playback("SIP/52.8.201.128-000001d6", "ss-noservice") in new stack
-- <SIP/52.8.201.128-000001d6> Playing 'ss-noservice.ulaw' (language 'en')
-- Executing [s@from-sip-external:10] PlayTones("SIP/52.8.201.128-000001d6", "congestion") in new stack
-- Executing [s@from-sip-external:11] Congestion("SIP/52.8.201.128-000001d6", "5") in new stack
== Spawn extension (from-sip-external, s, 11) exited non-zero on 'SIP/52.8.201.128-000001d6'
-- Executing [h@from-sip-external:1] Hangup("SIP/52.8.201.128-000001d6", "") in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/52.8.201.128-000001d6'
It's telling me that it is rejecting an unknown SIP Connection
I then made change in the SIP settings to allow anonymous inbound like this :
This allowed the call to complete and be routed properly through our inbound routing but the call did not have audio in either direction. So allowing anonymous seems to let the SIP messaging complete successfully but the audio is lost somewhere.
Is it safe to allow anonymous inbound calls like this? If so, is my lack of an audio path most likely a firewall issue or something in FreePBX?
Thanks