<div dir="ltr"><div dir="ltr">On Wed, Nov 27, 2019 at 3:31 PM D'Arcy Cain <<a href="mailto:darcy@vybenetworks.com">darcy@vybenetworks.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I recently upgraded from Asterisk 13.19 to 16.6.1.  Everything is<br>
working fine with a few minor tweaks except outgoinf fax.  Incoming<br>
works fine.<br>
<br>
I do outgoing faxing through an AMI call.  Here is the output from the<br>
security log:<br>
<br>
[Nov 27 06:16:05] SECURITY[101222] res_security_log.c:<br>
SecurityEvent="ChallengeSent",EventTV="2019-11-27T06:16:05.566-0500",Severity="Informational",Service="SIP",EventVersion="1",AccountID="alex",SessionID="0x80ba54820",LocalAddress="IPV4/UDP/<a href="http://98.158.139.74/5060" rel="noreferrer" target="_blank">98.158.139.74/5060</a>",RemoteAddress="IPV4/UDP/<a href="http://72.143.94.110/5060" rel="noreferrer" target="_blank">72.143.94.110/5060</a>",Challenge="215351b4"<br>
[Nov 27 06:16:05] SECURITY[101222] res_security_log.c:<br>
SecurityEvent="SuccessfulAuth",EventTV="2019-11-27T06:16:05.591-0500",Severity="Informational",Service="SIP",EventVersion="1",AccountID="alex",SessionID="0x80ba54820",LocalAddress="IPV4/UDP/<a href="http://98.158.139.74/5060" rel="noreferrer" target="_blank">98.158.139.74/5060</a>",RemoteAddress="IPV4/UDP/<a href="http://72.143.94.110/5060" rel="noreferrer" target="_blank">72.143.94.110/5060</a>",UsingPassword="1"<br>
<br>
So I know that AMI is listening and I can talk to it.  Here is the main log"<br>
<br>
[Nov 27 06:16:00] VERBOSE[101155] asterisk.c: Remote UNIX connection<br>
[Nov 27 06:16:00] VERBOSE[101245] asterisk.c: Remote UNIX connection<br>
disconnected<br>
[Nov 27 06:16:01] VERBOSE[101244] manager.c: Manager 'asterisk' logged<br>
on from 127.0.0.1<br>
<br>
The AMI command, after the login, looks like this:<br>
<br>
Action: Originate<br>
Channel: SIP/outgoing/%%(destination)s<br>
Context: LocalSets<br>
CallerID: Vybe Consulting Inc Fax Service <5555551212><br>
Exten: sendfax<br>
Priority: 1<br>
Timeout: 30000<br>
Variable: faxfile=%%(faxfile)s<br>
Variable: uid=%%(uid)s<br>
Variable: destination=%%(destination)s<br>
Variable: sender_name=Vybe Consulting Inc Fax Service<br>
Variable: sender_num=5555551212<br>
<br>
Those "%%" strings get replaced by real data.  My sendfax extension has<br>
a bunch of stuff but the very first line is this:<br>
<br>
exten => sendfax,1,Verbose(0,FAX ${faxfile} to ${destination})<br>
<br>
So, regardless of what follows, shouldn't I be seeing that message in my<br>
logs?<br></blockquote><div><br></div><div>Only if it was actually answered. You'd need to dig deeper by looking at the SIP trace itself (sip set debug on) to see if an attempt was made and what occurred. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Senior Software Developer</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div>