<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 3:32 PM, Dave Fullerton <span dir="ltr"><<a href="mailto:dfullertasterisk@shorelinecontainer.com" target="_blank">dfullertasterisk@shorelinecontainer.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">Hello all,<br>
  I'm setting up a couple of test boxes and I'm running into a problem. What I need help with is determining whether I'm going something wrong or if I need to post a bug report. I have two asterisk 13.0-beta 3 machines set up with extensions connected to each as such:<br>
<br>
3700 ----> AST-A  <------> AST-B <---- 3800 & 3801<br>
<br>
When I place a call from 3800 to 3700 or the other way around , asterisk seg faults on both machines at roughly the same time. All connections are done using PJSIP.  The crash occurs when the ringing extension is answered.<br>
<br>
If I set (directmedia=no) OR (directmedia=yes & t38_udptl=yes) on the trunk then the call completes fine. All phones and servers are on the same LAN with no firewalls active.<br>
<br>
The trunk between AST-A and AST-B is configured like this in pjsip.conf and is identical on both machines:<br>
<br>
[transport-lan]<br>
type=transport<br>
protocol=udp<br>
bind=0.0.0.0<br>
tos=af31<br>
<br>
[pbxbeta]<br>
type=endpoint<br>
disallow=all<br>
allow=g722<br>
allow=ulaw<br>
transport=transport-lan<br>
context=phone-level3<br>
aors=pbxbeta<br>
send_rpid=no<br>
send_pai=yes<br>
trust_id_inbound=yes<br>
trust_id_outbound=yes<br>
direct_media=yes<br>
direct_media_glare_mitigation=<u></u>outgoing<br>
;direct_media_method=update<br>
tos_audio=46<br>
tos_video=34<br>
t38_udptl=no<br>
t38_udptl_nat=no<br>
<br>
[pbxbeta]<br>
type=aor<br>
contact=sip:{remote IP address}:5060<br>
<br>
[pbxbeta]<br>
type=identify<br>
endpoint=pbxbeta<br>
match={remote IP address}<br>
<br>
<br>
The phones have the following set in pjsip.conf (snippet):<br>
type=endpoint<br>
disallow=all<br>
allow=g722<br>
allow=ulaw<br>
transport=transport-lan<br>
send_rpid=no<br>
send_pai=yes<br>
direct_media=yes<br>
tos_audio=46<br>
tos_video=34<br>
<br>
Is there something I'm doing wrong here?<br>
<br>
Thanks<span class=""><font color="#888888"></font></span></blockquote><div><br></div><div>Asterisk shouldn't crash.<br><br>Please file a bug report ASAP at <a href="http://issues.asterisk.org">issues.asterisk.org</a>, with a properly generated backtrace:<br><br><a href="https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace">https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace</a> <br></div></div><br>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div>
</div></div>