[Freeswitch-users] A few questions after upgrade to trunk

Seven Du dujinfang at gmail.com
Wed Mar 17 08:03:12 PDT 2010


No.

FreeSWITCH runs on public IP.  my gtalk client behind NAT.  As I said,
old versions(e.g. 14696) work on the same server with the same config.

2010/3/17 Anthony Minessale <anthony.minessale at gmail.com>:
> Were you using gtalk and FS both behind nat with the public gtalk server by
> any chance?
> This setup requires special configuration.
>
>
> On Wed, Mar 17, 2010 at 5:01 AM, Seven Du <dujinfang at gmail.com> wrote:
>>
>> 2010/3/16 Anthony Minessale <anthony.minessale at gmail.com>:
>> > Are you bridging to sip or some ivr and making dingaling wait until the
>> > call
>> > answers?
>> >
>>
>> no I was originate dingaling/... &echo,   also tried originate
>> dingaling/...  extension XML public (which will hit dialplan and
>> answer() after client answers), neither work.
>>
>>
>> > gtalk is sort of missing key telephony features like the concept of pdd
>> > and
>> > indication progress etc.
>> >
>> > Try answering the call in your dialplan before you bridge.
>> >
>> > I think the gtalk client is getting impatient because you did not answer
>> > soon enough with an ip choice
>> > so it starts sending all these extra ones at you and gave up on the one
>> > we
>> > chose.
>> >
>> >
>>
>> I tested on another server runing FreeSWITCH Version 1.0.trunk
>> (16958M), it works.
>>
>> see http://pastebin.freeswitch.org/12463
>>
>> interesting, messages like the same, but I see the working version has
>> one more line on line 174:
>>
>> http://pastebin.freeswitch.org/12463 line: 173 to 175
>> 2010-03-17 09:41:08.524787 [DEBUG] switch_rtp.c:1189 Not using a timer
>> 2010-03-17 09:41:08.525781 [NOTICE] mod_dingaling.c:1156 Channel
>> [dingaling/gmail.com/seven at idapted.com] has been answered
>> 2010-03-17 09:41:08.525781 [DEBUG] mod_dingaling.c:1189
>> (dingaling/gmail.com/seven at idapted.com) State Change CS_INIT ->
>> CS_ROUTING
>>
>>
>> http://pastebin.freeswitch.org/12453  line 217 - 218  (rev16992M)
>>
>> 2010-03-16 09:39:21.603723 [DEBUG] switch_rtp.c:1189 Not using a timer
>> 2010-03-16 09:39:21.613769 [DEBUG] mod_dingaling.c:1189
>> (dingaling/gmail.com/seven at idapted.com) State Change CS_INIT ->
>> CS_ROUTING
>>
>> Do you see any other difference? Thanks.
>>
>>
>> > On Tue, Mar 16, 2010 at 4:53 AM, Seven Du <dujinfang at gmail.com> wrote:
>> >>
>> >> 2010/3/16 Anthony Minessale <anthony.minessale at gmail.com>:
>> >> > FS would prefer you run your kernel at 1000hz you are probably on a
>> >> > VM
>> >> > if
>> >> > its 10000hz
>> >> >
>> >>
>> >> It's a  physical machine. And I'm also running 20 skype clients. as
>> >> 100HZ is recommended for skypiax. I think the kernel should be 100 or
>> >> 250 HZ. weird.
>> >>
>> >>
>> >> here is the dingaling log with dl_debug on
>> >>
>> >> http://pastebin.freeswitch.org/12453
>> >> My public IP is 220.231.26.130, and nat to 192.168.1.27(me)
>> >>
>> >>
>> >> still get this message on client:
>> >>
>> >> Sorry! The voice chat with language_lesson failed because of a network
>> >> problem at 5:39 PM. Please try again.
>> >>  Click here to report this to Google
>> >>
>> >>
>> >>
>> >> Thanks.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> >
>> >> > On Mon, Mar 15, 2010 at 11:01 AM, Seven Du <dujinfang at gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> Thanks, It's late now, I will get logs tomorrow. I tested both on
>> >> >> Windows client and web site on Mac. They both work on the other two
>> >> >> instances of FreeSWITCH I mentioned in this thread.
>> >> >>
>> >> >> btw, can you give me a hint on the timer warning?
>> >> >>
>> >> >> 2010/3/16 Anthony Minessale <anthony.minessale at gmail.com>:
>> >> >> > you would have to execute
>> >> >> >
>> >> >> > dl_debug on
>> >> >> >
>> >> >> > to get a trace that would tell us anything about that?
>> >> >> >
>> >> >> > Are you using the windows gtalk client or the web site?
>> >> >> > We are following google who have been pushing for the online
>> >> >> > client
>> >> >> > embedded
>> >> >> > in the gmail website.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On Mon, Mar 15, 2010 at 4:27 AM, Seven Du <dujinfang at gmail.com>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> here is the client:
>> >> >> >>
>> >> >> >> <profile type="client">
>> >> >> >>  <param name="name" value="gmail.com"/>
>> >> >> >>  <param name="login" value="xx at gmail.com/talk"/>
>> >> >> >>  <param name="password" value="password"/>
>> >> >> >>  <param name="server" value="talk.google.com"/>
>> >> >> >>  <param name="dialplan" value="XML"/>
>> >> >> >>  <param name="contex" value="public"/>
>> >> >> >>  <param name="message" value="FreeSWITCH"/>
>> >> >> >>  <param name="rtp-ip" value="auto"/>
>> >> >> >>  <!-- if you are behind NAT, you should probably use stun -->
>> >> >> >>  <!--<param name="ext-rtp-ip" value="stun:stun.xten.com"/> -->
>> >> >> >>  <param name="auto-login" value="true"/>
>> >> >> >>  <param name="auto-reply" value="Welcome"/>
>> >> >> >>  <param name="sasl" value="plain"/>
>> >> >> >>  <param name="tls" value="true"/>
>> >> >> >>  <param name="exten" value="5000"/>
>> >> >> >> <!-- <param name="local-network-acl" value="localnet.auto"/> -->
>> >> >> >> </profile>
>> >> >> >>
>> >> >> >> 2010/3/15 Seven Du <dujinfang at gmail.com>:
>> >> >> >> > ALL,
>> >> >> >> >
>> >> >> >> > I just upgrade FS to 16992.
>> >> >> >> >
>> >> >> >> > 1) timer warning: How's possible the 10000 microseconds? audio
>> >> >> >> > sounds
>> >> >> >> > ok.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > [WARNING] switch_time.c:206 Timer resolution of 10000
>> >> >> >> > microseconds
>> >> >> >> > detected!
>> >> >> >> > Do you have your kernel timer set to higher than 1 kHz? You may
>> >> >> >> > experience audio problems.
>> >> >> >> >
>> >> >> >> > uname -a
>> >> >> >> > Linux xxx.idapted.com 2.6.22-14-server #1 SMP Tue Feb 12
>> >> >> >> > 08:27:05
>> >> >> >> > UTC
>> >> >> >> > 2008 i686 GNU/Linux
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > I used a script to check the interupts
>> >> >> >> >
>> >> >> >> > :~$ while :; do cat /proc/interrupts |grep LOC; sleep 1; done
>> >> >> >> > LOC:   14892854   14892843   14892841   14892830
>> >> >> >> > LOC:   14892955   14892944   14892942   14892931
>> >> >> >> > LOC:   14893056   14893045   14893043   14893032
>> >> >> >> > LOC:   14893157   14893146   14893144   14893133
>> >> >> >> > LOC:   14893258   14893247   14893245   14893234
>> >> >> >> > LOC:   14893359   14893348   14893346   14893335
>> >> >> >> > LOC:   14893460   14893449   14893447   14893436
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > 2) run dingaling with client mode. dingaling doesn't pick up
>> >> >> >> > answer.
>> >> >> >> > I
>> >> >> >> > originate a call from FS, the console blocks, gtalk client ring
>> >> >> >> > and
>> >> >> >> > it
>> >> >> >> > looks ok when I hit answer, but no sound, FS console still
>> >> >> >> > blocks.
>> >> >> >> > a
>> >> >> >> > few seconds later gtalk client shows:
>> >> >> >> >
>> >> >> >> > Sorry! The voice chat with language_lesson failed because of a
>> >> >> >> > network
>> >> >> >> > problem at 5:50 PM. Please try again.
>> >> >> >> >  Click here to report this to Google.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > here is a log with bgapi:
>> >> >> >> > http://pastebin.freeswitch.org/12434
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > rev 14696 works on the same server same conf. another server
>> >> >> >> > running
>> >> >> >> > 16958M works at the same time. I have no clue to check, is it
>> >> >> >> > related
>> >> >> >> > to the timer as in 1)? can some help me to take a look? let me
>> >> >> >> > know
>> >> >> >> > if
>> >> >> >> > you need "dl_debug on" logs.
>> >> >> >> >
>> >> >> >> > Thanks.
>> >> >> >> >
>> >> >> >>
>> >> >> >> _______________________________________________
>> >> >> >> 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:+19193869900
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > 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
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> _______________________________________________
>> >> >> 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:+19193869900
>> >> >
>> >> > _______________________________________________
>> >> > 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
>> >> >
>> >> >
>> >>
>> >> _______________________________________________
>> >> 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:+19193869900
>> >
>> > _______________________________________________
>> > 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
>> >
>> >
>>
>> _______________________________________________
>> 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:+19193869900
>
> _______________________________________________
> 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
>
>




More information about the FreeSWITCH-users mailing list