[Freeswitch-users] FreeSWITCH ends the calls after receiving DTMF from the Callee.
Anthony Minessale
anthony.minessale at gmail.com
Fri Feb 10 21:32:03 MSK 2012
I tried this lua script which should be the same thing:
b_leg = freeswitch.Session("sofia/internal/foo at bar.com", session);
freeswitch.bridge(session, b_leg);
See if you get the same problem running this lua code, I was passing dtmf fine.
Internally, the code should not even use a callback capable of ending
the call as you described unless your program has an input callback of
dtmf handler function.
Also make sure you are on a recent build of FS.
On Fri, Feb 10, 2012 at 12:21 PM, Srini K <aksrini at hotmail.com> wrote:
> Anthony,
> Thanks for your response.
> I have not defined any of these input_callback or dtmf_callback.
>
> I have attached the log with debug level.
> http://pastebin.freeswitch.org/18360
>
> Thanks in advance.
>
> Regards
> Srini
>
>
>
>> Date: Thu, 9 Feb 2012 19:06:39 -0600
>
>> From: anthony.minessale at gmail.com
>> To: freeswitch-users at lists.freeswitch.org
>> Subject: Re: [Freeswitch-users] FreeSWITCH ends the calls after receiving
>> DTMF from the Callee.
>>
>> do you have input_callback or dtmf_callback or anything defined?
>>
>> On Thu, Feb 9, 2012 at 6:37 PM, Srini K <aksrini at hotmail.com> wrote:
>> > Iam using the latest FreeSWITCh version (updated today morning).
>> >
>> > FS terminates on receiving any DTMF digits from the callee. I have not
>> > set
>> > bridge_terminate_key.
>> >
>> > I have created an oubound session and bridging the inbound and oubound
>
>> > session. Code snippet is
>> >
>> > var session = new ManagedSession("{origination_caller_id_number=" +
>> > callerIdNumber + ",originate_timeout=8" + "}sofia/gateway/408xxxxyyyy");
>> > string outBoundUuid = session.GetVariable("uuid");
>> > if (string.IsNullOrEmpty(outBoundUuid))
>> > { // Log error;
>> > return;
>> > }
>> > freeswitch.bridge(inboundSession, session);
>> >
>> > Also I have tried setting hangup_after_bridge=false.
>> >
>> > Regards
>> > Srini
>> >
>> >
>> >
>> >> Date: Thu, 9 Feb 2012 18:17:45 -0600
>> >
>> >> From: anthony.minessale at gmail.com
>> >> To: freeswitch-users at lists.freeswitch.org
>> >> Subject: Re: [Freeswitch-users] FreeSWITCH ends the calls after
>> >> receiving
>> >> DTMF from the Callee.
>> >>
>> >> the obvious reason would be setting bridge_terminate_key=1
>> >> but I don't know where your bridge is being started based on your
>> >> description or what version of the code you are using.
>> >>
>> >> On Thu, Feb 9, 2012 at 6:06 PM, Srini K <aksrini at hotmail.com> wrote:
>> >> > Any reason that it didn't return success. Anything Iam missing it
>> >> > out.
>> >> >
>> >> >
>> >> >> Date: Thu, 9 Feb 2012 17:33:01 -0600
>> >> >> From: anthony.minessale at gmail.com
>> >> >> To: freeswitch-users at lists.freeswitch.org
>> >> >> Subject: Re: [Freeswitch-users] FreeSWITCH ends the calls after
>> >> >> receiving
>> >> >> DTMF from the Callee.
>> >> >
>> >> >>
>> >> >> bridge with input_callback and did not return success.
>> >> >>
>> >> >> On Thu, Feb 9, 2012 at 5:28 PM, Srini K <aksrini at hotmail.com> wrote:
>> >> >> > Hi,
>> >> >> > I have configured FreeSWITCH to receive DTMF by
>> >> >> >
>> >> >> > <param name="liberal-dtmf" value="true"/>
>> >> >> > <variable direction="both" name="dtmf_type" value="info"/>
>> >> >> >
>> >> >> > in both sip_profile internal and external files.
>> >> >> >
>> >> >> > Iam using mod managed and I have subscribed to receive DTMF
>> >> >> > events.
>> >> >> > I can process DTMF from Caller without any problem. When I receive
>> >> >> > DTMF
>> >> >> > from
>> >> >> > the callee as Sip Info, I do receive the DTMF event from the
>> >> >> > FreeSWITCH
>> >> >> > and
>> >> >> > immediately FreeSWITCH disconnects the call.
>> >> >> >
>> >> >> > Snapshot of the log is...
>> >> >> >
>> >> >> > [DEBUG] sofia.c:7229 INFO DTMF(1)
>> >> >> > [DEBUG] sofia.c:7307 dispatched freeswitch event for INFO
>> >> >> > [DEBUG] switch_core_session.c:875 Send signal
>> >> >> > sofia/external/yyyyyyyyyy
>> >> >> > [BREAK]
>> >> >> > [DEBUG] switch_ivr_bridge.c:383 sofia/external/yyyyyyyyyy ended
>> >> >> > call
>> >> >> > via
>> >> >> > DTMF
>> >> >> > [DEBUG] switch_ivr_bridge.c:384 Send signal
>> >> >> > sofia/external/xxxxxxxxxx at 10.10.2.3 [BREAK]
>> >> >> > [DEBUG] switch_ivr_bridge.c:586 BRIDGE THREAD DONE
>> >> >> > [sofia/external/yyyyyyyyyy]
>> >> >> >
>> >> >> > Whether Iam missing anything in the config?
>> >> >> >
>> >> >> > Thanks in advance.
>> >> >> > Srini
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > _________________________________________________________________________
>> >> >> > Professional FreeSWITCH Consulting Services:
>> >> >> > consulting at freeswitch.org
>> >> >> > http://www.freeswitchsolutions.com
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > Official FreeSWITCH Sites
>> >> >> > http://www.freeswitch.org
>> >> >> > http://wiki.freeswitch.org
>> >> >> > http://www.cluecon.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
>> >> >> googletalk:conf+888 at conference.freeswitch.org
>> >> >> pstn:+19193869900
>> >> >>
>> >> >>
>> >> >>
>> >> >> _________________________________________________________________________
>> >> >> Professional FreeSWITCH Consulting Services:
>> >> >> consulting at freeswitch.org
>> >> >> http://www.freeswitchsolutions.com
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Official FreeSWITCH Sites
>> >> >> http://www.freeswitch.org
>> >> >> http://wiki.freeswitch.org
>> >> >> http://www.cluecon.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
>> >> >
>> >> >
>> >> >
>> >> > _________________________________________________________________________
>> >> > Professional FreeSWITCH Consulting Services:
>> >> > consulting at freeswitch.org
>> >> > http://www.freeswitchsolutions.com
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > Official FreeSWITCH Sites
>> >> > http://www.freeswitch.org
>> >> > http://wiki.freeswitch.org
>> >> > http://www.cluecon.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
>> >> googletalk:conf+888 at conference.freeswitch.org
>> >> pstn:+19193869900
>> >>
>> >>
>> >> _________________________________________________________________________
>> >> Professional FreeSWITCH Consulting Services:
>> >> consulting at freeswitch.org
>> >> http://www.freeswitchsolutions.com
>> >>
>> >>
>> >>
>> >>
>> >> Official FreeSWITCH Sites
>> >> http://www.freeswitch.org
>> >> http://wiki.freeswitch.org
>> >> http://www.cluecon.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
>> >
>> >
>> > _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> >
>> >
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.freeswitch.org
>> > http://www.cluecon.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
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.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
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list