[Freeswitch-users] Resend: Issues with SIP + TCP?

Kristian Kielhofner kristian.kielhofner at gmail.com
Mon Oct 26 08:47:20 PDT 2009


Tony,

  It seemed strange to me too (I'm using TCP in other places).

  I'll take another look at this with your suggestions for debugging.

  Thanks!

On Mon, Oct 26, 2009 at 11:25 AM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:
> i cant seem to reproduce it.
>
> originate sofia/internal/1235 at conference.freeswitch.org;transport=tcp 9998
>
> I get a working call and trace.
>
> Could you possibly have a dns error?  I know it's an ip but it may still
> fail if it has no dns.
>
> try
>
> sofia loglevel all 9
>
> and look for other errors.
>
>
>
>
> On Mon, Oct 26, 2009 at 9:56 AM, Kristian Kielhofner
> <kristian.kielhofner at gmail.com> wrote:
>>
>> I originally sent this last Friday but I've been unable to confirm it
>> ever made it to the list.
>>
>> Hello everyone,
>>
>>  I'm having some issues with SIP and TCP.  I've used it before with
>> success but I'm seeing some strange behavior...
>>
>>  Level 7 debugs with siptrace on both profiles.  UDP invite from
>> softphone comes in on port 5062, it's supposed to bridge to
>> 10.70.0.62.  When configured to use UDP FS sends an INVITE (nothing
>> currently answers) while TCP doesn't send anything (confirmed with
>> siptrace and packet sniffer).  I confirmed this behavior with a
>> gateway configured for TCP and appending ;transport=tcp to a bridge
>> line.
>>
>>  This is trunk rev 15211 on an Intel Mac running Snow Leopard.  I've
>> also confirmed this behavior on an Intel Linux machine running Ubuntu
>> (not sure of version ATM).
>>
>> TCP:
>>
>> http://pastebin.freeswitch.org/10825
>>
>> UDP:
>>
>> http://pastebin.freeswitch.org/10826
>>
>> dialplan (UDP):
>>
>>   <extension name="smhpbx">
>>     <condition field="destination_number" expression="^(7887)$">
>>       <action application="set" data="call_timeout=60"/>
>>       <action application="set" data="effective_caller_id_name=Voalte
>> Test"/>
>>       <action application="set"
>> data="effective_caller_id_number=19412848354"/>
>>       <action application="bridge" data="sofia/avaya/7887 at 10.70.0.62"/>
>>     </condition>
>>   </extension>
>>
>> dialplan (TCP):
>>
>>   <extension name="smhpbx">
>>     <condition field="destination_number" expression="^(7887)$">
>>       <action application="set" data="call_timeout=60"/>
>>       <action application="set" data="effective_caller_id_name=Voalte
>> Test"/>
>>       <action application="set"
>> data="effective_caller_id_number=19412848354"/>
>>       <action application="bridge"
>> data="sofia/avaya/7887 at 10.70.0.62;transport=tcp"/>
>>     </condition>
>>   </extension>
>>
>>  Any thoughts?
>>
>> Thanks!
>>
>> --
>> Kristian Kielhofner
>> http://www.astlinux.org
>> http://blog.krisk.org
>> http://www.star2star.com
>> http://www.submityoursip.com
>> http://www.voalte.com
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com



More information about the FreeSWITCH-users mailing list