<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2160/3/7/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/T.38+Gateway?focusedCommentId=17203509#comment-17203509">T.38 Gateway</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~nikiforov">Roman Nikiforov</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>Hello everyone.</p>
<p>I've just tryed the following:</p>
<p>fax <-- T.38 SIP alaw --> * < – T.30 SIP alaw --> fax</p>
<p>and it didnt passed.</p>
<p>Here is the sip.conf peers:</p>
<p><span class="error">[205test]</span> ;; this one is t.30 fax peer<br/>
username=205test<br/>
secret=205test<br/>
callerid=83912745000<br/>
type=friend<br/>
call-limit=1<br/>
allowtransfer=yes<br/>
insecure=port,invite<br/>
qualify=yes<br/>
t38pt_udptl=no<br/>
canreinvite=no<br/>
nat=yes<br/>
host=dynamic<br/>
dtmfmode=rfc2833<br/>
context=mobilon<br/>
disallow=all<br/>
allow=alaw</p>
<p><span class="error">[fortest2]</span> ;; this one is t.38 fax peer<br/>
username=fortest2<br/>
secret=test111<br/>
callerid=83912745000<br/>
type=friend<br/>
call-limit=1<br/>
allowtransfer=yes<br/>
insecure=port,invite<br/>
qualify=yes<br/>
t38pt_udptl=yes<br/>
canreinvite=no<br/>
nat=yes<br/>
host=dynamic<br/>
dtmfmode=rfc2833<br/>
context=mobilon<br/>
disallow=all<br/>
allow=alaw</p>
<p>this is extensions.conf:<br/>
<span class="error">[mobilon]</span><br/>
exten => 101,1,Set(FAXOPT(gateway)=yes)<br/>
exten => 101,n,Set(FAXOPT(faxdetect)=yes)<br/>
exten => 101,n,Dial(SIP/205test@205test,,t)<br/>
exten => 101,n,Hangup()</p>
<p>and here is the console output (fax set debug on):</p>
<p> == Using SIP RTP CoS mark 5<br/>
– Executing <span class="error">[101@mobilon:1]</span> Set("SIP/fortest2-00000033", "FAXOPT(gateway)=yes") in new stack<br/>
– Executing <span class="error">[101@mobilon:2]</span> Dial("SIP/fortest2-00000033", "SIP/205test@205test,,t") in new stack<br/>
== Using SIP RTP CoS mark 5<br/>
– Called SIP/205test@205test<br/>
– SIP/205test-00000034 is ringing<br/>
– SIP/205test-00000034 is ringing<br/>
– SIP/205test-00000034 answered SIP/fortest2-00000033<br/>
== Spawn extension (mobilon, 101, 3) exited non-zero on 'SIP/fortest2-00000033'</p>
<p>either I did something wrong or this scheme is not suppose to work?</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/T.38+Gateway?focusedCommentId=17203509#comment-17203509">View Online</a>
|
<a id="reply-17203509" href="https://wiki.asterisk.org/wiki/display/AST/T.38+Gateway?replyToComment=17203509#comment-17203509">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>