[Freeswitch-users] transfer problem

covici at ccs.covici.com covici at ccs.covici.com
Tue Oct 26 14:41:21 PDT 2010


OK, here is the log to correspond with putting the export of the
variable http://pastebin.freeswitch.org/14330 .

Anthony Minessale <anthony.minessale at gmail.com> wrote:

> you need to learn to post logs to go with "it still doesn't work"
> every new change you make needs a new log.
> 
> 
> On Tue, Oct 26, 2010 at 2:21 PM,  <covici at ccs.covici.com> wrote:
> > HI.  Well, Here is the extension in conferences context, where I did an
> > export of the variable, but it is still not working -- how do I get the
> > variable to be on the original channel in this case 7034754612 as well
> > as the 202?
> >
> > <extension name="utah">
> > <condition field="destination_number" expression="^utah$">
> > <action application="export" data="force_transfer_context=conferences"/>
> > <action application="system" data="sayconf -a local -a utah -a
> > ${caller_id_number}  &amp;"/>
> > <action application="playback" data="conference/conf-muted.wav"/>
> > <action application="playback" data="conference/press_0_to_unmute.wav"/>
> > <action application="conference" data="utah at all"/>
> > </condition>
> > </extension>
> >
> > Anthony Minessale <anthony.minessale at gmail.com> wrote:
> >
> >> set the variable force_transfer_context to the desired context on all
> >> channels involved
> >>
> >> On Mon, Oct 25, 2010 at 7:06 PM,  <covici at ccs.covici.com> wrote:
> >> > I can capture the log, but let me tell you the steps.  202 does call
> >> > 7034754612, then it calls 7000, which is an ivr which transfers to an
> >> > extensionn in the context conferences, which in turn puts the caller in
> >> > a conference.  So 202 calls 7034754612 and then is in this conference
> >> > whose context is not default.  Now I flash the hook on 202, so
> >> > 7034754612 can hear the conference and also can hear 202.  Now, what I
> >> > was hoping would happen is that I could hang up 202 and 4754612 would be
> >> > in the conference, but instead 4754612 hangs up and  this seems to be
> >> > because the system tries to transfer 4754612 to theconference name but
> >> > in the default context and I get
> >> > 2010-10-25 17:09:46.137372 [DEBUG] mod_enum.c:204 Unable to lookup NAPTR
> >> > record for e164.org: valid domain but no data of requested type
> >> > and the 4754612 hangs up.
> >> >
> >> > I hope this clarifies what the problem is.
> >> >
> >> > Michael Collins <msc at freeswitch.org> wrote:
> >> >
> >> >> John,
> >> >>
> >> >> Perhaps I've missed something. Can you confirm exactly what steps you are
> >> >> taking? I don't want to make any assumptions. I can see that ext 202 calls
> >> >> out to 7034754612 and then 202 also makes a call to ext 7000. What I don't
> >> >> know is if that's a transfer or 3-way or what. Also, can you capture the log
> >> >> again, this time with a sip trace? Use "sofia global siptrace on".
> >> >>
> >> >> Thanks,
> >> >> MC
> >> >>
> >> >> On Mon, Oct 25, 2010 at 2:11 PM, <covici at ccs.covici.com> wrote:
> >> >>
> >> >> > Thanks for the correction -- however still same result.  I did not think
> >> >> > it would matter in this case because the call did reach the phone and
> >> >> > everything after that is local.  Question is why does it try to transfer
> >> >> > to the wrong context after the local extension hangs up?
> >> >> >
> >> >> > Michael Collins <msc at freeswitch.org> wrote:
> >> >> >
> >> >> > > John,
> >> >> > >
> >> >> > > I see two issues. At line #174 of your pastebin there is a message about
> >> >> > > "invalid gateway". I suspect that the gateway name should be "flowroute"
> >> >> > and
> >> >> > > not "fflowroute".
> >> >> > >
> >> >> > > At line #180 you have an invalid number format error. I would fix the
> >> >> > > invalid gateway first and retest as this second error may be a result of
> >> >> > the
> >> >> > > bad gateway.
> >> >> > >
> >> >> > > -MC
> >> >> > >
> >> >> > > On Mon, Oct 25, 2010 at 4:05 AM, <covici at ccs.covici.com> wrote:
> >> >> > >
> >> >> > > > OK, the debug log is here http://pastebin.freeswitch.org/14307.  The
> >> >> > > > relevant part of the configs is below.
> >> >> > > >    <extension name="conference_ivr">
> >> >> > > >      <condition field="destination_number" expression="^7000$">
> >> >> > > >        <action application="answer"/>
> >> >> > > > <action application="sleep" data="500"/>
> >> >> > > > <action application="set" data="api_hangup_hook=system sayconf -a local
> >> >> >  -a
> >> >> > > > ${caller_id_number} -a hung -a up"/>
> >> >> > > >        <action application="ivr" data="conference_ivr"/>
> >> >> > > >      </condition>
> >> >> > > >    </extension>
> >> >> > > > and the ivr just asks for passwords and send the call to an extension
> >> >> > in
> >> >> > > > context conferences.
> >> >> > > >
> >> >> > > > Hope this helps.
> >> >> > > >
> >> >> > > > Thanks.
> >> >> > > >
> >> >> > > > Michael Collins <msc at freeswitch.org> wrote:
> >> >> > > >
> >> >> > > > > Please supply the configs and a debug trace. My guess is that there's
> >> >> > > > > probably just a simple config element that is wrong or missing.
> >> >> > > > >
> >> >> > > > > -MC
> >> >> > > > >
> >> >> > > > > On Tue, Oct 19, 2010 at 9:49 AM, <covici at ccs.covici.com> wrote:
> >> >> > > > >
> >> >> > > > > > Hi.  I have an ivr which connects to conferences which I have in
> >> >> > their
> >> >> > > > > > own context rather than the default.  The problem is that if I call
> >> >> > > > > > someone else and have a 3-way between the other party and the
> >> >> > > > > > conference, its fine till I hang up and then fs tries to transfer
> >> >> > to
> >> >> > > > the
> >> >> > > > > > correct conference name, but uses default for the context instead.
> >> >> >  Is
> >> >> > > > > > this expected behavior or should I file a bug?
> >> >> > > > > >
> >> >> > > > > > Thanks.
> >> >> > > > > >
> >> >> > > > > > --
> >> >> > > > > > Your life is like a penny.  You're going to lose it.  The question
> >> >> > is:
> >> >> > > > > > How do
> >> >> > > > > > you spend it?
> >> >> > > > > >
> >> >> > > > > >         John Covici
> >> >> > > > > >         covici at ccs.covici.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
> >> >> > > > > >
> >> >> > > > >
> >> >> > > > > ----------------------------------------------------
> >> >> > > > > Alternatives:
> >> >> > > > >
> >> >> > > > > ----------------------------------------------------
> >> >> > > > > _______________________________________________
> >> >> > > > > 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
> >> >> > > >
> >> >> > > > --
> >> >> > > > Your life is like a penny.  You're going to lose it.  The question is:
> >> >> > > > How do
> >> >> > > > you spend it?
> >> >> > > >
> >> >> > > >         John Covici
> >> >> > > >         covici at ccs.covici.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
> >> >> > > >
> >> >> > >
> >> >> > > ----------------------------------------------------
> >> >> > > Alternatives:
> >> >> > >
> >> >> > > ----------------------------------------------------
> >> >> > > _______________________________________________
> >> >> > > 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
> >> >> >
> >> >> > --
> >> >> > Your life is like a penny.  You're going to lose it.  The question is:
> >> >> > How do
> >> >> > you spend it?
> >> >> >
> >> >> >         John Covici
> >> >> >         covici at ccs.covici.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
> >> >> >
> >> >>
> >> >> ----------------------------------------------------
> >> >> Alternatives:
> >> >>
> >> >> ----------------------------------------------------
> >> >> _______________________________________________
> >> >> 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
> >> >
> >> > --
> >> > Your life is like a penny.  You're going to lose it.  The question is:
> >> > How do
> >> > you spend it?
> >> >
> >> >         John Covici
> >> >         covici at ccs.covici.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
> >>
> >> _______________________________________________
> >> 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
> >
> > --
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> >
> >         John Covici
> >         covici at ccs.covici.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
> 
> _______________________________________________
> 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



More information about the FreeSWITCH-users mailing list