[Freeswitch-users] Max Number of files sent to session.execute("playback", file)

David Knell dave at 3c.co.uk
Tue Nov 11 22:32:36 PST 2008


Hi -

At a guess, this is the problem:

2008-11-11 18:53:03 [INFO] switch_rtp.c:1253 rtp_common_read() Auto Changing
port from 201.216.201.135:8000 to 201.216.201.133:18648

- FS has some "help cope with NAT" code which sends RTP back to where it 
came from,
rather than where it's been negotiated to be coming from.  This was 
troublesome for us a
few weeks ago but is now fixed; if you're using a revision of FS that's 
more than a couple
of weeks old, you might want to upgrade to the latest.

Cheers --

Dave
> Hi Guys,
>
> I have this problem when i'm trying to reproduce more than 8 prompts in a
> row.
> Here is code extract that simplifies the problem i'm having.
>
> If put something like this inside a script.py
>
>         session.execute("playback","1.wav")
>         session.execute("playback","2.wav")
>         session.execute("playback","3.wav")
>         session.execute("playback","4.wav")
>         session.execute("playback","5.wav")
>         session.execute("playback","6.wav")
>         session.execute("playback","7.wav")
>         session.execute("playback","8.wav")
>         session.execute("playback","9.wav") 
>
> The file 9.wav is not heard even though in the freeswitch.log it says that
> the file was sent to the module
>
> 2008-11-11 18:53:03 [DEBUG] switch_cpp.cpp:570 execute()
> CoreSession::execute.  app: playback data:9.wav
> 2008-11-11 18:53:03 [DEBUG] switch_ivr_play_say.c:912 switch_ivr_play_file()
> Codec Activated L16 at 8000hz 1 channels 20ms
> 2008-11-11 18:53:03 [DEBUG] switch_core_session.c:430
> switch_core_session_receive_message() Kill
> sofia/internal/221122 at 201.216.201.133 [BREAK]
> 2008-11-11 18:53:03 [INFO] switch_rtp.c:1253 rtp_common_read() Auto Changing
> port from 201.216.201.135:8000 to 201.216.201.133:18648
> 2008-11-11 18:53:03 [DEBUG] switch_ivr_play_say.c:1203
> switch_ivr_play_file() done playing file
>
> So do you have an idea why after the prompt number 8 the rest are not heard?
>
> I will thank any helps on this
>
>   


-- 
David Knell, Director, 3C Limited
T: 020 8114 8901  F: 020 3002 7257  M: 001 415 630 3031
http://www.3c.co.uk 





More information about the FreeSWITCH-users mailing list