[Freeswitch-users] Call keeps hanging up

Anthony Minessale anthony.minessale at gmail.com
Thu Mar 4 11:12:50 PST 2010


"Hello this is the United States Calling are we reaching... *click* See!, he
keeps hanging up, is there supposed to be someone there besides your wife
sir?"


On Thu, Mar 4, 2010 at 12:47 PM, Andrew Thompson <andrew at hijacked.us> wrote:

> On Thu, Mar 04, 2010 at 12:36:23PM -0600, Mark Sobkow wrote:
> > I'm having some difficulty with Freeswitch/Erlang processing.  An
> > operator dials in and registers by entering a PIN code, which triggers
> > an Erlang event handler callback and puts the call into park.  This
> works.
> >
> > A customer calls in, which triggers another Erlang event handler
> > callback and puts the call into park.  That works, too.
> >
> > Another thread of Erlang checks the operator and customer queues, and
> > uses uuid_bridge to join the two calls together.  That also works.
> >
> > What _doesn't_ work is that when the customer hangs up, I want the
> > operator A leg to go back into a park state, and it's hanging up
> > instead.  One suspicion I have is that because there is no dialplan
> > associated with the call (it's controlled by Erlang), there is no
> > dialplan to "continue" by setting hangup_after_bridge=false.  Either
> > that or maybe I need to set the variables on the new UUID returned by
> > the uuid_bridge command (though I thought that UUID was just the UUID
> > assigned to the command, not a new call identifier.)
> >
> > BTW, "pbx" is just an OTP rewrite of pieces of the standard
> > "freeswitch.erl" code.
> >
> >
> >     pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid
> > ++ " hangup_after_bridge false" ),
> >     pbx:api( uuid_setvar, Operator#pbx_operator_registry.operator_uuid
> > ++ " park_after_bridge true" ),
> >
>
> Try using park_after_bridge and catch the park event or
> transfer_after_bridge and set the dialplan location to transfer the call
> to.
>
> Andrew
>
> _______________________________________________
> 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:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100304/114285d5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list