[Freeswitch-users] Ringback when running G729 codec
Anthony Minessale
anthony.minessale at gmail.com
Wed Sep 30 16:16:49 PDT 2009
This is unrelated,
use ring_ready instead of pre_answer
On Wed, Sep 30, 2009 at 11:26 AM, Keith Laaks <keithl at voxtelecom.co.za>wrote:
> Hi,
>
> I am testing a trunk version from the weekend and have moved configs
> over from a box pre 1.04. Looks like Rev: 15011, but the box was built
> by someone else - so not 100% certain of exact number.
>
> With :
> <action application="pre_answer"/>
> <action application="sleep" data="20000"/>
> <action application="answer"/>
>
> I am not getting ringback after the 'pre_answer'.
>
> Was testing with G722 and G729 on the inbound leg.
>
> I wonder if it's related to this?
>
> Best Regards
>
> Keith
>
>
>
>
> On Fri, 2009-09-25 at 13:30 -0500, Anthony Minessale wrote:
> > fixed in latest trunk,
> > please test
> > thank you
> >
> > On Fri, Sep 25, 2009 at 6:17 AM, Hound Dog <d_hound at ymail.com> wrote:
> > Hi,
> >
> > very happy with freeswitch as a PBX/softswitch/SBC system its
> > working solidly for a few weeks now - just great
> >
> >
> > I have a question regarding ringback tones - custom or regular
> > - I cant get freeswitch to send ringback using G729
> >
> > I used the following settings ( it will just play one of the
> > IVR prompts as ringback (filename
> > ivr-to_repeat_these_options) - I took it from the G729
> > encoded files package , it has PCMA , G729 G723 extensions )
> >
> > <extension name="inbound_routing">
> > <condition field="destination_number"
> > expression="^4420885767(0\d)$">
> > <action application="set"
> >
> data="ringback=/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options"/>
> > <action application="set"
> > data="instant_ringback=true"/>
> > <action application="bridge" data="user/10
> > $1"/>
> > </condition>
> > </extension>
> >
> > when I call with G711 enabled , it plays the file no problems
> > - see log
> >
> > 2009-09-25 11:29:58.641361 [DEBUG] sofia.c:3289 Channel
> > sofia/external/442078562107 at 80.80.80.80 entering state
> > [early][183]
> > 2009-09-25 11:29:58.641361 [DEBUG] switch_core_session.c:630
> > Send signal sofia/external/442078562107 at 80.80.80.80 [BREAK]
> > 2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1718
> > Raw Codec Activation Success L16 at 8000hz 1 channel 20ms
> > 2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1745
> > Play Ringback File
> >
> [/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options.PCMA]
> > 2009-09-25 11:29:58.641361 [INFO] mod_native_file.c:82 Opening
> > File
> >
> [/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options.PCMA]
> 8000hz
> > 2009-09-25 11:29:58.889369 [DEBUG] sofia.c:3289 Channel
> > sofia/internal/sip:1006 at 82.80.131.233:40505 entering state
> > [proceeding][180]
> >
> >
> > when I call with G729 only - I get silence , and freeswitch
> > only send the comfort noise packet and no RTP , see log
> >
> > 2009-09-25 11:28:57.437537 [DEBUG] sofia.c:3289 Channel
> > sofia/external/442078562107 at 80.80.80.80 entering state
> > [early][183]
> > 2009-09-25 11:28:57.437537 [DEBUG] switch_core_session.c:630
> > Send signal sofia/external/442078562107 at 80.80.80.80 [BREAK]
> > 2009-09-25 11:28:57.685536 [DEBUG] sofia.c:3289 Channel
> > sofia/internal/sip:1006 at 82.80.131.233:40505 entering state
> > [proceeding][180]
> > 2009-09-25 11:28:57.685536 [NOTICE] sofia.c:3353 Ring-Ready
> > sofia/internal/sip:1006 at 82.80.131.233:40505!
> >
> > mod_native_file works well for me when used in applications
> > and plays G729 files no problem
> >
> > any ideas why is that happening , any suggestions on how to
> > resolve ?
> >
> > thanks
> > Ori
> >
> >
> >
> >
> >
> > _______________________________________________
> > 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 <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090930/bad20d24/attachment-0002.html
More information about the FreeSWITCH-users
mailing list