Hi Guys, I have a problem with my GrandStream 4104, I already set it but the calls come in only get in if i set ALLOW Anonymous
fsdpbx*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
4101/4101 192.168.1.150 Yes Yes 5060 OK (2 ms)
When I call i get this:
- Executing [[email protected]:1] NoOp(“PJSIP/anonymous-00001a07”, “Received incoming SIP connection from unknown peer to 5001”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/anonymous-00001a07”, “DID=5001”) in new stack
– Executing [[email protected]:3] Goto(“PJSIP/anonymous-00001a07”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [[email protected]:1] GotoIf(“PJSIP/anonymous-00001a07”, “1?setlanguage:checkanon”) in new stack
– Goto (from-sip-external,s,2)
– Executing [[email protected]:2] Set(“PJSIP/anonymous-00001a07”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/anonymous-00001a07”, “1?noanonymous”) in new stack
– Goto (from-sip-external,s,5)
– Executing [[email protected]:5] Set(“PJSIP/anonymous-00001a07”, “TIMEOUT(absolute)=15”) in new stack
Can someone tell me what should I change in order to allow inbound calls
[peer]
host=192.168.1.150
username=4101
secret=4101
type=friend
insecure=very
nat=no
keepalive=yes
canreinvite=no
qualify=yes
context=from-trunk
dtmfmode=rfc2833
disallow=all
allow=alaw&ulaw
sip set debug peer 4101
SIP Debugging Enabled for IP: 192.168.1.150
Reliably Transmitting (NAT) to 192.168.1.150:5060:
OPTIONS sip:192.168.1.150 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.144:5160;branch=z9hG4bK68083704;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected]:5160;tag=as09900702
To: sip:192.168.1.150
Contact: sip:[email protected]:5160
Call-ID: [email protected]:5160
CSeq: 102 OPTIONS
User-Agent: FPBX-15.0.17.37(16.18.0)
Date: Fri, 09 Jul 2021 19:32:17 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<— SIP read from UDP:192.168.1.150:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.144:5160;branch=z9hG4bK68083704;rport
From: “Unknown” sip:[email protected]:5160;tag=as09900702
To: sip:192.168.1.150;tag=z9hG4bKe4046f74bd171df5
Call-ID: [email protected]:5160
CSeq: 102 OPTIONS
User-Agent: Grandstream GXW4104 (HW 2.3, Ch:8) 1.4.1.5
Contact: sip:[email protected]:5060;transport=udp
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK
Supported: replaces, timer, 100rel, path
Content-Length: 0
<------------->
— (11 headers 0 lines) —
Really destroying SIP dialog ‘[email protected]:5160’ Method: OPTIONS
Really destroying SIP dialog ‘[email protected]:5160’ Method: OPTIONS
– Executing [[email protected]:1] NoOp(“PJSIP/anonymous-00001a19”, “Received incoming SIP connection from unknown peer to 5001”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/anonymous-00001a19”, “DID=5001”) in new stack
– Executing [[email protected]:3] Goto(“PJSIP/anonymous-00001a19”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [[email protected]:1] GotoIf(“PJSIP/anonymous-00001a19”, “1?setlanguage:checkanon”) in new stack
– Goto (from-sip-external,s,2)
– Executing [[email protected]:2] Set(“PJSIP/anonymous-00001a19”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/anonymous-00001a19”, “1?noanonymous”) in new stack
– Goto (from-sip-external,s,5)
– Executing [[email protected]:5] Set(“PJSIP/anonymous-00001a19”, “TIMEOUT(absolute)=15”) in new stack
– Channel will hangup at 2021-07-09 15:36:35.240 EDT.
– Executing [[email protected]:6] Set(“PJSIP/anonymous-00001a19”, “receveip=pjsip,remote_addr”) in new stack
– Executing [[email protected]:7] Log(“PJSIP/anonymous-00001a19”, "WARNING,“Rejecting unknown SIP connection from 192.168.1.150:5060"”) in new stack
[2021-07-09 15:36:20] WARNING[1874][C-00001a0c]: Ext. s:7 @ from-sip-external: “Rejecting unknown SIP connection from 192.168.1.150:5060”
– Executing [[email protected]:8] Answer(“PJSIP/anonymous-00001a19”, “”) in new stack
– Executing [[email protected]:9] Wait(“PJSIP/anonymous-00001a19”, “2”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/anonymous-00001a1a”, “Received incoming SIP connection from unknown peer to 5001”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/anonymous-00001a1a”, “DID=5001”) in new stack
– Executing [[email protected]:3] Goto(“PJSIP/anonymous-00001a1a”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [[email protected]:1] GotoIf(“PJSIP/anonymous-00001a1a”, “1?setlanguage:checkanon”) in new stack
– Goto (from-sip-external,s,2)
– Executing [[email protected]:2] Set(“PJSIP/anonymous-00001a1a”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/anonymous-00001a1a”, “1?noanonymous”) in new stack
– Goto (from-sip-external,s,5)
– Executing [[email protected]:5] Set(“PJSIP/anonymous-00001a1a”, “TIMEOUT(absolute)=15”) in new stack
– Channel will hangup at 2021-07-09 15:36:35.340 EDT.
– Executing [[email protected]:6] Set(“PJSIP/anonymous-00001a1a”, “receveip=pjsip,remote_addr”) in new stack
– Executing [[email protected]:7] Log(“PJSIP/anonymous-00001a1a”, "WARNING,“Rejecting unknown SIP connection from 192.168.1.150:5062"”) in new stack
[2021-07-09 15:36:20] WARNING[1875][C-00001a0d]: Ext. s:7 @ from-sip-external: “Rejecting unknown SIP connection from 192.168.1.150:5062”
– Executing [[email protected]:8] Answer(“PJSIP/anonymous-00001a1a”, “”) in new stack
– Executing [[email protected]:9] Wait(“PJSIP/anonymous-00001a1a”, “2”) in new stack
– Executing [[email protected]:10] Playback(“PJSIP/anonymous-00001a19”, “ss-noservice”) in new stack
– <PJSIP/anonymous-00001a19> Playing ‘ss-noservice.ulaw’ (language ‘en’)
– Executing [[email protected]:10] Playback(“PJSIP/anonymous-00001a1a”, “ss-noservice”) in new stack
– <PJSIP/anonymous-00001a1a> Playing ‘ss-noservice.ulaw’ (language ‘en’)
– Executing [[email protected]:11] PlayTones(“PJSIP/anonymous-00001a19”, “congestion”) in new stack
– Executing [[email protected]:12] Congestion(“PJSIP/anonymous-00001a19”, “5”) in new stack
– Executing [[email protected]:11] PlayTones(“PJSIP/anonymous-00001a1a”, “congestion”) in new stack
– Executing [[email protected]:12] Congestion(“PJSIP/anonymous-00001a1a”, “5”) in new stack
== Spawn extension (from-sip-external, s, 12) exited non-zero on ‘PJSIP/anonymous-00001a19’
– Executing [[email protected]:1] Hangup(“PJSIP/anonymous-00001a19”, “”) in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘PJSIP/anonymous-00001a19’
== Spawn extension (from-sip-external, s, 12) exited non-zero on ‘PJSIP/anonymous-00001a1a’
– Executing [[email protected]:1] Hangup(“PJSIP/anonymous-00001a1a”, “”) in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on ‘PJSIP/anonymous-00001a1a’