<div dir="ltr"><div><div>Heaps of thanks David, and apologies for my lack of certainty regarding what you mean by "trace".<br><br></div>I have increased debugging on all aspects and seem have turned up the following entries from the log and thought I would ask for a sanity check here. <br>Does the context look okay to you? 0223334444 is an alias for my mobile number. <br><br></div><div>I can see where certain decisions are being made such as responding to my INVITE with 480 at the end, but why? Is there another log I can set up or something?<br></div><div><br>...<br><span style="color:rgb(230,145,56)"><span style="font-family:monospace">2017-07-06 16:10:40.694638 [DEBUG] mod_sofia.c:143 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> SOFIA ROUTING
</span><br></span><span style="color:gold;font-family:monospace"><span style="color:rgb(230,145,56)">2017-07-06 16:10:40.694638 [DEBUG] switch_core_state_machine.c:236 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> Standard ROUTING</span>
</span><br><span style="color:rgb(106,168,79)"><span style="font-family:monospace">2017-07-06 16:10:40.694638 [INFO] mod_dialplan_xml.c:637 Processing 200
 <200>->0223334444 in context 192.168.1.13
</span></span><br><span style="color:rgb(180,167,214)"><span style="font-family:monospace">Dialplan: sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> parsing 
[192.168.1.13->user_exists] continue=true
</span><br><span style="font-family:monospace">Dialplan: sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> Regex (PASS) [user_exists] () =~ // break=on-false
</span><br><span style="font-family:monospace">Dialplan: sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> Action 
set(user_exists=${user_exists id ${destination_number} ${domain_name}}) 
INLINE
</span></span><br> <span style="color:rgb(230,145,56)"><span style="font-family:monospace">2017-07-06 16:10:40.733859 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f2ba40aa750 Connected.
</span><br> <span style="font-family:monospace">2017-07-06 16:10:40.733859 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f2ba40aa750 released.
</span><br> <span style="color:rgb(142,124,195)"><span style="font-family:monospace">EXECUTE sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> set(user_exists=false)
</span></span><br></span><span style="color:gold;font-family:monospace"><span style="color:rgb(230,145,56)">2017-07-06 16:10:40.733859 [DEBUG] mod_dptools.c:1530 SET 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> [user_exists]=[false]</span><br>...<br></span></div><span style="color:gold;font-family:monospace"><span style="color:rgb(0,0,0)">///Note: after a whole lot of conditionals and such, things appear to get interesting again:</span><br>...<br></span><span style="color:rgb(230,145,56)"><span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] mod_sofia.c:198 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> SOFIA EXECUTE
</span><br><span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] switch_core_state_machine.c:328 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> Standard EXECUTE
</span></span><br> <span style="color:rgb(255,255,255);font-family:monospace">ed34877a-2bed-4478-947a-13bc01ef90a7 EXECUTE sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> set(call_direction=local)
</span><br><span style="color:rgb(230,145,56)"><span style="font-family:monospace"> 2017-07-06 16:10:40.753859 [DEBUG] mod_dptools.c:1530 SET 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> [call_direction]=[local]
</span><br> <span style="font-family:monospace">EXECUTE sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> export(origination_callee_id_name=</span></span><span style="color:rgb(230,145,56)"><span style="font-family:monospace"><span style="color:rgb(230,145,56)"><span style="font-family:monospace">0223334444</span></span>)
</span><br>  <span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] switch_channel.c:1296 EXPORT 
(export_vars) [origination_callee_id_name]=[0223334444]
</span><br> <span style="font-family:monospace">EXECUTE sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> set(RFC2822_DATE=Thu, 06 Jul 2017 16:10:40 +1200)
</span><br>  <span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] mod_dptools.c:1530 SET 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> [RFC2822_DATE]=[Thu, 06 Jul 2017 
16:10:40 +1200] </span></span><span style="color:rgb(255,255,255);font-family:monospace">34877a-2bed-4478-947a-13bc01ef90a7 EXECUTE sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> hash(insert/192.168.1.13-last_dial/200/0226391300)
</span><br> <span style="color:rgb(255,255,255);font-family:monospace">ed34877a-2bed-4478-947a-13bc01ef90a7 EXECUTE sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> eval(not_secure)
</span><br>  <span style="color:rgb(111,168,220)"><span style="font-family:monospace">2017-07-06 16:10:40.753859 [NOTICE] switch_core_state_machine.c:385 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> has executed the last dialplan 
instruction, hanging up.
</span><br>  <span style="font-family:monospace">2017-07-06 16:10:40.753859 [NOTICE] switch_core_state_machine.c:387 
Hangup sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> [CS_EXECUTE] [NORMAL_CLEARING]
</span></span><br>  <span style="color:rgb(230,145,56)"><span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] switch_core_state_machine.c:650 
(sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a>) State EXECUTE going to sleep
</span><br>  <span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] switch_core_state_machine.c:584 
(sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a>) Running State Change CS_HANGUP (Cur 1 
Tot 15)
</span><br>  <span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] switch_core_state_machine.c:850 
(sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a>) Callstate Change RINGING -> HANGUP
</span><br>  <span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] switch_core_state_machine.c:852 
(sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a>) State HANGUP
</span><br>  <span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] mod_sofia.c:438 Channel 
sofia/internal/<a href="mailto:200@192.168.1.13">200@192.168.1.13</a> hanging up, cause: NORMAL_CLEARING
</span><br> <span style="font-family:monospace">2017-07-06 16:10:40.753859 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
</span></span><div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Many many thanks for looking this over!<br><br></div><div class="gmail_extra">Nate.<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 6, 2017 at 12:07 AM, David Villasmil <span dir="ltr"><<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Fs will fallback to Digest from ACL  when the source ip is not allowed, this is normal.<br><br>Looking at your log, it doesn't seem like the client is actually responding to the challenge.<br><br>Can you take a trace and look at it? You should see the challenge and then an INVITE with credentials.<div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote></div></div></div></div></div></div>