Twilio SMS Issues

Status
Not open for further replies.

decodive

New Member
Jun 21, 2022
6
0
1
36
Does anyone have a good guide? I have set up everything I can read from git and on Twilios side, but I still cannot get inbound or outbound.

FS:
2022-06-22 17:29:50.749631 95.57% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'internal' for [+19999999999@voip.domain.com] from ip xx.xx.xx.xx
2022-06-22 17:29:50.769586 95.57% [INFO] mod_sms.c:368 Processing text message 100->+19999999999 in context public
Chatplan: +19999999999 parsing [public->demo] continue=false
Chatplan: +19999999999@voip.domain.com Regex (PASS) [demo] to(+19999999999@voip.domain.com) =~ /^(.*)$/ break=on-false
2022-06-22 17:29:50.769586 95.57% [DEBUG] mod_sms.c:477 SMS chatplan no actions found
2022-06-22 17:29:50.769586 95.57% [DEBUG] sofia_presence.c:225 Can't find registered user +19999999999@voip.domain.com
2022-06-22 17:29:50.829585 95.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'internal' for [+19999999999@voip.domain.com] from ip yy.yy.yy.yy
2022-06-22 17:29:50.829585 95.43% [WARNING] sofia_reg.c:2857 Cannot locate any authentication credentials to complete an authentication request for realm '"voip.domain.com"'

Twilio:
POST

9:35pm UTC 2022-Jun-22




Request
URL
ParametersShow Raw
Message TextShow Raw
sourceComponent"14100"
line"1"
ErrorCode"12200"
LogLevel"WARN"
Msg"Content is not allowed in prolog."
EmailNotification"false"
parserMessage"Content is not allowed in prolog."
cols"1"
Response
Headers
BodyShow Raw
access denied
 

decodive

New Member
Jun 21, 2022
6
0
1
36
Here is some more log from sngrep:
2022/06/22 18:04:14.192018 10.150.xx.xx:5060 -> (WAN IP PBX):5060
MESSAGE sip:+19999999999@voip.domain.com SIP/2.0
v:SIP/2.0/UDP (WAN IP PBX);rport;branch=z9hG4bK99Bc2ScX8vBDe
Max-Forwards:70
f:<sip:100@voip.domain.com>;tag=62f2ac1dc96e4c2190a799a5e10d8c13
t:sip:+19999999999@voip.domain.com
i:f9eb13ad-ead7-43e9-a888-a22e00a2fd65
CSeq:53417109 MESSAGE
User-Agent:FreeSWITCH
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
c:text/plain
l:7
X-FS-Sending-Message:6aff2786-20c5-465e-9cfb-d4119bd3df77

serwefw
2022/06/22 18:04:14.192900 (WAN IP PBX):5060 -> 10.150.xx.xx:5060
MESSAGE sip:+19999999999@voip.domain.com SIP/2.0
v:SIP/2.0/UDP (WAN IP PBX);rport;branch=z9hG4bK99Bc2ScX8vBDe
Max-Forwards:70
f:<sip:100@voip.domain.com>;tag=62f2ac1dc96e4c2190a799a5e10d8c13
t:sip:+19999999999@voip.domain.com
i:f9eb13ad-ead7-43e9-a888-a22e00a2fd65
CSeq:53417109 MESSAGE
User-Agent:FreeSWITCH
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
c:text/plain
l:7
X-FS-Sending-Message:6aff2786-20c5-465e-9cfb-d4119bd3df77

serwefw
2022/06/22 18:04:14.193575 10.150.xx.xx:5060 -> (WAN IP PBX):5060
SIP/2.0 407 Proxy Authentication Required
v:SIP/2.0/UDP (WAN IP PBX);rport=5060;branch=z9hG4bK99Bc2ScX8vBDe
f:<sip:100@voip.domain.com>;tag=62f2ac1dc96e4c2190a799a5e10d8c13
t:sip:+19999999999@voip.domain.com;tag=Fv3D49g449KvK
i:f9eb13ad-ead7-43e9-a888-a22e00a2fd65
CSeq:53417109 MESSAGE
User-Agent:FreeSWITCH
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
Proxy-Authenticate:Digest realm="voip.domain.com",nonce="78c85598-4e7f-4526-bbc5-7e2c11f2b28e",algorithm=MD5,qop="auth"
l:0


2022/06/22 18:04:14.193705 (WAN IP PBX):5060 -> 10.150.xx.xx:5060
SIP/2.0 407 Proxy Authentication Required
v:SIP/2.0/UDP (WAN IP PBX);rport=5060;branch=z9hG4bK99Bc2ScX8vBDe
f:<sip:100@voip.domain.com>;tag=62f2ac1dc96e4c2190a799a5e10d8c13
t:sip:+19999999999@voip.domain.com;tag=Fv3D49g449KvK
i:f9eb13ad-ead7-43e9-a888-a22e00a2fd65
CSeq:53417109 MESSAGE
User-Agent:FreeSWITCH
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
k:timer,path,replaces
Proxy-Authenticate:Digest realm="voip.domain.com",nonce="78c85598-4e7f-4526-bbc5-7e2c11f2b28e",algorithm=MD5,qop="auth"
l:0
 
Status
Not open for further replies.