<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>ok then... sorry it took so long, but I already posted it yesterday but it was rejected by the list's moderator as it exceeded 40k in size :(</div><div>so i'll resend it now: part #1 is this, part #2 will only contain the attachment with working "direct"-Video (not early media) for comparison...</div>
<div><br></div><div>---</div><div><br>1) i tried with asterisk 11.6... no change. i.e. same behaviour as with asterisk 12.2 --> no preview video </div><div>(i verified with wireshark that - as with asterisk 12.2 - the h264 data is sent from the caller to asterisk, but isn't forwarded to the callee... only the audio (g722) is passed on)</div>

<div><br></div><div><br></div><div>2) setup:</div><div>the caller is 301 (linphone on windows) calling 306 (Grandstream 3175v2 with preview enabled)</div><div><br></div><div>2.1) sip.conf:</div><div>[general]<br>context=unauthenticated<br>

allowguest=yes<br>srvlookup=no<br>udpbindaddr=0.0.0.0<br>tcpenable=yes  <br>tcpbindaddr=0.0.0.0 <br>callcounter=yes<br>textsupport=yes<br>accept_outofcall_messages=yes<br>outofcall_message_context=messages-sip<br>auth_message_requests=no<br>

insecure=invite</div><div>directmedia=no</div><div>prematuremedia=yes<br>progressinband=never</div><div><br></div><div>[office-phone](!)<br>type=friend<br>context=LocalSets<br>host=dynamic<br>nat=force_rport,comedia<br>dtmfmode=auto</div>

<div>disallow=all<br>allow=g722<br>allow=ulaw<br>allow=alaw</div><div>videosupport=yes<br>allow=h264</div><div># define some devices<br>[301](office-phone)<br>secret=pwd301 </div><div>[306](office-phone)<br>secret=pwd306</div>

<div><br></div><div>2.2) extensions.conf</div><div>...</div><div>[LocalSets]</div><div>...</div><div>exten => 306,hint,SIP/306<br>exten => 306,1,NoOp(dial 306)<br> same => n,Dial(SIP/306)</div><div>...</div><div>

<br></div><div><br></div><div><br></div><div>3) debug-logs:</div><div>I used "core set debug 9" and "core set verbose 9" and "sip set debug on"</div><div><br></div><div>i attached two files:</div>

<div><br></div><div>3.1) "asterisk-debug-earlymedia.txt" in which I dial 306 from 301 and after some (5?) seconds i press "preview" on the grandstream. after that, the grandstream only allows me to choose beween "Accept Audio" and "Reject" - no "Accept Video" as I would expect... another 5 seconds later i hang up.</div>

<div><br></div><div>3.2) "asterisk-debug-videodirect.txt" here I push the "Accept Video" button instead of the "preview" button; here the video works!</div><div><br></div><div><br></div><div>

thanks a lot for your support!</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br></div>
</div></div></div><br></div>