Hey,<br><br>You can&#39;t set bypass_media=true in {} or it will not take effect unless that b leg itself becomes an a leg some day.<br>you need to execute set on bypass_media=true on the leg before you call bridge to trigger it.<br>
<br>Alternatively you could set {bypass_media_after_bridge=true} or set it on A leg as described above on either leg and it will do the bypass once the audio is flowing.<br><br><br><div class="gmail_quote">On Fri, Dec 11, 2009 at 11:14 AM, Kristian Kielhofner <span dir="ltr">&lt;<a href="mailto:kristian.kielhofner@gmail.com">kristian.kielhofner@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello everyone,<br>
<br>
  PB here:<br>
<br>
<a href="http://pastebin.freeswitch.org/11482" target="_blank">http://pastebin.freeswitch.org/11482</a><br>
<br>
FS rev 15909.  The relevant bits from the log are here (starting<br>
around line 135):<br>
<br>
#<br>
2009-12-11 12:06:12.875158 [DEBUG] switch_ivr.c:548<br>
sofia/pjsip/<a href="mailto:nobody@192.168.4.253">nobody@192.168.4.253</a> Command Execute<br>
bridge({originate_timeout=30,bypass_media=true,origination_caller_id_number=1111,origination_caller_id_name=Tara<br>
Ousley}sofia/voalte/<a href="mailto:huttoj@192.168.4.17">huttoj@192.168.4.17</a>)<br>
#<br>
EXECUTE sofia/pjsip/<a href="mailto:nobody@192.168.4.253">nobody@192.168.4.253</a><br>
bridge({originate_timeout=30,bypass_media=true,origination_caller_id_number=1111,origination_caller_id_name=Tara<br>
Ousley}sofia/voalte/<a href="mailto:huttoj@192.168.4.17">huttoj@192.168.4.17</a>)<br>
#<br>
2009-12-11 12:06:12.875158 [DEBUG] switch_ivr_originate.c:1735<br>
variable string 0 = [originate_timeout=30]<br>
#<br>
2009-12-11 12:06:12.875158 [DEBUG] switch_ivr_originate.c:1735<br>
variable string 1 = [bypass_media=true]<br>
#<br>
2009-12-11 12:06:12.875158 [DEBUG] switch_ivr_originate.c:1735<br>
variable string 2 = [origination_caller_id_number=1111]<br>
#<br>
2009-12-11 12:06:12.875158 [DEBUG] switch_ivr_originate.c:1735<br>
variable string 3 = [origination_caller_id_name=Tara Ousley]<br>
<br>
bypass_media=true yet the SDP of the outgoing INVITE looks like this:<br>
<br>
#<br>
send 1032 bytes to udp/[192.168.4.17]:5060 at 12:06:12.876994:<br>
#<br>
   ------------------------------------------------------------------------<br>
#<br>
   INVITE <a href="mailto:sip%3Ahuttoj@192.168.4.17">sip:huttoj@192.168.4.17</a> SIP/2.0<br>
#<br>
   Via: SIP/2.0/UDP 192.168.2.10:5062;rport;branch=z9hG4bK1K6mc3NcmmaNr<br>
#<br>
   Max-Forwards: 69<br>
#<br>
   From: &quot;Tara Ousley&quot; &lt;<a href="mailto:sip%3A1111@192.168.2.10">sip:1111@192.168.2.10</a>&gt;;tag=0tU8SN9pvejNK<br>
#<br>
   To: &lt;<a href="mailto:sip%3Ahuttoj@192.168.4.17">sip:huttoj@192.168.4.17</a>&gt;<br>
#<br>
   Call-ID: 802f4045-4215-42a2-91a6-ff9cf18b1aa8<br>
#<br>
   CSeq: 124148250 INVITE<br>
#<br>
   Contact: &lt;<a href="http://sip:mod_sofia@192.168.2.10:5062" target="_blank">sip:mod_sofia@192.168.2.10:5062</a>&gt;<br>
#<br>
   User-Agent: Voalte Voice<br>
#<br>
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,<br>
REGISTER, REFER, NOTIFY<br>
#<br>
   Supported: timer, precondition, path, replaces<br>
#<br>
   Allow-Events: talk, refer<br>
#<br>
   Content-Type: application/sdp<br>
#<br>
   Content-Disposition: session<br>
#<br>
   Content-Length: 271<br>
#<br>
   X-voalte-call-id: 898ef33c-50f2-487c-9e8d-8c6fcee15ab8<br>
#<br>
   Remote-Party-ID: &quot;Tara Ousley&quot;<br>
&lt;<a href="mailto:sip%3A1111@192.168.2.10">sip:1111@192.168.2.10</a>&gt;;party=calling;screen=yes;privacy=off<br>
#<br>
<br>
#<br>
   v=0<br>
#<br>
   o=FreeSWITCH 1260508000 1260508001 IN IP4 192.168.2.10<br>
#<br>
   s=FreeSWITCH<br>
#<br>
   c=IN IP4 192.168.2.10<br>
#<br>
   t=0 0<br>
#<br>
   m=audio 25172 RTP/AVP 9 0 101<br>
#<br>
   a=rtpmap:9 G722/8000<br>
#<br>
   a=rtpmap:0 PCMU/8000<br>
#<br>
   a=rtpmap:101 telephone-event/8000<br>
#<br>
   a=fmtp:101 0-16<br>
#<br>
   a=silenceSupp:off - - - -<br>
#<br>
   a=ptime:20<br>
<br>
192.168.2.10 is the address of my FS box...<br>
<br>
--<br>
Kristian Kielhofner<br>
<a href="http://www.astlinux.org" target="_blank">http://www.astlinux.org</a><br>
<a href="http://blog.krisk.org" target="_blank">http://blog.krisk.org</a><br>
<a href="http://www.star2star.com" target="_blank">http://www.star2star.com</a><br>
<a href="http://www.submityoursip.com" target="_blank">http://www.submityoursip.com</a><br>
<a href="http://www.voalte.com" target="_blank">http://www.voalte.com</a><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>