Thanks Anthony,<br><br>Finally managed to get a sip trace - could you do me a favor and take a look and/or give me some ideas of what to look for?<br><br><a href="http://pastebin.freeswitch.org/14300">http://pastebin.freeswitch.org/14300</a><br>
<br>I've highlighted lines 168 and 193. In between these lines is where the number is dialed and rings once, then picks up, then theres silence for a second or two, and that second SIP message is when I <span class="nu0"></span>start hearing audio.<br>
<br>Thanks,<br>Fraser<br><br><br>
<br><br><div class="gmail_quote">On Thu, Oct 21, 2010 at 6:44 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
its a blue message on cli<br>
<br>
It could also be the other side expecting us to send media first or<br>
something silly.<br>
try getting a sip trace and figure out when the rtp starts arriving.<br>
<br>
<br>
On Thu, Oct 21, 2010 at 12:32 PM, Fraser Redmond<br>
<div><div></div><div class="h5"><<a href="mailto:fraserredmond@gmail.com">fraserredmond@gmail.com</a>> wrote:<br>
> Sorry, yes, I am setting ignore_early_media=true in the first area. (Or are<br>
> you saying that should be off? I forget now why I needed it on, but there<br>
> was a reason I added it.)<br>
><br>
> Yes, the bridge doesn't start until after the A-leg has answered.<br>
><br>
> Thanks for the suggestion about nat/auto-changing port, I'll have a look<br>
> into that - would that be in the cli output or in a sip trace? I've already<br>
> looked and it's not appearing in the CLI output (with loglevel=debug),<br>
> haven't looked in the sip trace yet.<br>
><br>
> Cheers,<br>
> Fraser<br>
><br>
><br>
><br>
><br>
> On Thu, Oct 21, 2010 at 6:13 PM, Anthony Minessale<br>
> <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>><br>
>> are you setting ignore_early_media=true in the first vars=values area?<br>
>><br>
>> This looks like you could be calling one leg who is still not answered<br>
>> and then bridging it to another dest. The bridge app will wait for<br>
>> the first leg to answer before bridging.<br>
>><br>
>> Also if you have any NAT anywhere, look for an "auto-changing port"<br>
>> type message which can also be attributed to this due to a detection<br>
>> period for incorrect ports.<br>
>><br>
>><br>
>><br>
>> On Thu, Oct 21, 2010 at 12:00 PM, Fraser Redmond<br>
>> <<a href="mailto:fraserredmond@gmail.com">fraserredmond@gmail.com</a>> wrote:<br>
>> > event_socket:<br>
>> > api originate {vars=values}user/$fromExtn@Domain<br>
>> > 'set:bLegVars=values,transfer:$toNum xml outbound_call' inline<br>
>> ><br>
>> > then<br>
>> ><br>
>> > dialplan:<br>
>> > <action application="set"<br>
>> > data="effective_caller_id_number=+1800number"/><br>
>> > <action application="set" data="effective_caller_id_name="/><br>
>> > (set and/or export a bunch of other vars too)<br>
>> > <action application="set"<br>
>> ><br>
>> > data="dial_string=sofia/gateway/<a href="http://gatewayname.com/00$%7Bdestination_number%7D" target="_blank">gatewayname.com/00${destination_number}</a>"/><br>
>> > <action application="bridge" data="${dial_string}"/><br>
>> ><br>
>> > Cheers,<br>
>> > Fraser<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Thu, Oct 21, 2010 at 5:35 PM, Anthony Minessale<br>
>> > <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>> >><br>
>> >> how are you accomplishing that? by which technique?<br>
>> >><br>
>> >> On Thu, Oct 21, 2010 at 11:12 AM, Fraser Redmond<br>
>> >> <<a href="mailto:fraserredmond@gmail.com">fraserredmond@gmail.com</a>> wrote:<br>
>> >> > The call is originated from Freeswitch (via CLI) to a softphone, then<br>
>> >> > when<br>
>> >> > that is connected it bridges out to the gateway.<br>
>> >> ><br>
>> >> > Cheers,<br>
>> >> > Fraser<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > On Thu, Oct 21, 2010 at 4:28 PM, Anthony Minessale<br>
>> >> > <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>> >> >><br>
>> >> >> Where is the other side of this call coming from?<br>
>> >> >><br>
>> >> >> [ ( ) ] -> FS -> (PSTN via SIP)<br>
>> >> >><br>
>> >> >> What goes in the empty space above?<br>
>> ><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>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Anthony Minessale II<br>
>><br>
>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">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" target="_blank">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="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>> pstn:+19193869900<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>
><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>
><br>
><br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">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" target="_blank">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="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<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>
</div></div></blockquote></div><br>