[Freeswitch-users] blind transfer and outbound socket

Anthony Minessale anthony.minessale at gmail.com
Mon May 10 16:21:33 PDT 2010


I would hardly trust getting an email to tell you if it executed?
did you run your app in the foreground with some debug prints to STDERR to
see if its executing?
did you try using netcat or ngrep to monitor the wire ?


2010/5/10 Christian Löschenkohl <christian.loeschenkohl at xpirio.com>

> yes, and this is my problem
> it looks normal but the scripts are not executed (i send a email in the
> fist line of
> the script and there is no mail send to me here).
> the call is hung up without much comment, the dialplan runs through until
> the hangup -
> without the bridge command executed from the script.
>
> attended transfer is here, with this it works
> http://pastebin.freeswitch.org/12959
>
> the scripts do also work if i call the extension directly.
> the extension 50 also rings if i put the bridge in the dialplan - my only
> problem here
> is that it looks like the script is called but it is never executed.
>
> br
>
>
>
> Anthony Minessale wrote:
>
> > it looks like it works fine to me.
> >
> > the call transfers back to the dialplan where it again executes your
> > socket app and that app either does nothing
> > or hangs up.
> >
> > See line 789 of your pastebin.
> >
> >
> > 2010/5/10 Christian Löschenkohl <christian.loeschenkohl at xpirio.com
> > <mailto:christian.loeschenkohl at xpirio.com>>
> >
> >     the scripts do some database lookups (setting callers name) and do
> >     find the called
> >     user e.g. expand the called 50 to 50 at customer.domain.com
> >     <mailto:50 at customer.domain.com> and finaly do the call bridge.
> >
> >     the transfer itself is done by the phone/softclient with a refer
> >     packet, as far as i can see.
> >
> >     a debug trace is here
> >     http://pastebin.freeswitch.org/12958
> >
> >     br
> >
> >     Anthony Minessale wrote:
> >
> >      > what exactly does your script call to try to make it transfer?
> >      >
> >      > 2010/5/10 Christian Löschenkohl
> >     <christian.loeschenkohl at xpirio.com
> >     <mailto:christian.loeschenkohl at xpirio.com>
> >      > <mailto:christian.loeschenkohl at xpirio.com
> >     <mailto:christian.loeschenkohl at xpirio.com>>>
> >      >
> >      >     hello
> >      >
> >      >     i have a problem with a freeswitch hosted pbx system.
> >      >     when i call in to a extension (e.g. 40) an answer the call
> >     and then
> >      >     do a blind transfer to extension 50 it
> >      >     doesn't work.
> >      >     the outbound socket script do not work or do not get called
> >     in this
> >      >     case (no mail from the script).
> >      >
> >      >     on the other hand if i do a attended transfer it works as it
> >     should
> >      >     (sending mail in the script works).
> >      >     the same context, the same scripts.
> >      >
> >      >     we use snom 320 phones, the sip refer looks normal.
> >      >     blind transfer also doesn't work with a softclient (sjphone)
> >      >
> >      >     where could i start?
> >      >
> >      >     br
> >      >
> >      >     --
> >      >     Ing. Christian Löschenkohl
> >      >     Technische Leitung, Forschung & Entwicklung VoIP
> >      >
> >      >     xpirio
> >      >     Telekommunikation & Service GmbH
> >      >     Lakeside B04
> >      >     9020 Klagenfurt
> >      >     Austria
> >      >
> >      >     T  +43 (0) 5 77 11 - 1000
> >      >     F  +43 (0) 5 77 11 - 1002
> >      >     E  christian.loeschenkohl at xpirio.com
> >     <mailto:christian.loeschenkohl at xpirio.com>
> >      >     <mailto:christian.loeschenkohl at xpirio.com
> >     <mailto:christian.loeschenkohl at xpirio.com>>
> >      >
> >      >     _______________________________________________
> >      >     FreeSWITCH-users mailing list
> >      >     FreeSWITCH-users at lists.freeswitch.org
> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
> >      >     <mailto:FreeSWITCH-users at lists.freeswitch.org
> >     <mailto: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>
> >     <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> >      > <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >     <mailto:MSN%253Aanthony_minessale at hotmail.com<MSN%25253Aanthony_minessale at hotmail.com>
> >>
> >      > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> >     <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> >      > <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >     <mailto:PAYPAL%253Aanthony.minessale at gmail.com<PAYPAL%25253Aanthony.minessale at gmail.com>
> >>
> >      > IRC: irc.freenode.net <http://irc.freenode.net>
> >     <http://irc.freenode.net> #freeswitch
> >      >
> >      > FreeSWITCH Developer Conference
> >      > sip:888 at conference.freeswitch.org<sip%3A888 at conference.freeswitch.org>
> >     <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> >      > <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >     <mailto:sip%253A888 at conference.freeswitch.org<sip%25253A888 at conference.freeswitch.org>
> >>
> >      > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> >     <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> >      > <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >     <mailto:googletalk%253Aconf%252B888 at conference.freeswitch.org<googletalk%25253Aconf%25252B888 at conference.freeswitch.org>
> >>
> >      > pstn:+19193869900
> >      >
> >      >
> >      >
> >
> ------------------------------------------------------------------------
> >      >
> >      > _______________________________________________
> >      > FreeSWITCH-users mailing list
> >      > FreeSWITCH-users at lists.freeswitch.org
> >     <mailto: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
> >
> >
> >     --
> >     Ing. Christian Löschenkohl
> >     Technische Leitung, Forschung & Entwicklung VoIP
> >
> >     xpirio
> >     Telekommunikation & Service GmbH
> >     Lakeside B04
> >     9020 Klagenfurt
> >     Austria
> >
> >     T  +43 (0) 5 77 11 - 1000
> >     F  +43 (0) 5 77 11 - 1002
> >     E  christian.loeschenkohl at xpirio.com
> >     <mailto:christian.loeschenkohl at xpirio.com>
> >
> >     _______________________________________________
> >     FreeSWITCH-users mailing list
> >     FreeSWITCH-users at lists.freeswitch.org
> >     <mailto: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>
> > <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> > <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> > IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> > <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> > googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> > <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 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
>
>
> --
> Ing. Christian Löschenkohl
> Technische Leitung, Forschung & Entwicklung VoIP
>
> xpirio
> Telekommunikation & Service GmbH
> Lakeside B04
> 9020 Klagenfurt
> Austria
>
> T  +43 (0) 5 77 11 - 1000
> F  +43 (0) 5 77 11 - 1002
> E  christian.loeschenkohl at xpirio.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 <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>
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/20100510/670cede7/attachment-0001.html 


More information about the FreeSWITCH-users mailing list