[Freeswitch-users] Gafachi Again
Klaus Teller
klaus.teller at gmx.net
Tue Jul 29 21:21:31 PDT 2008
I just did the following:
new_session1 = new Session();
new_session1.originate(new_session2, 'sofia/gateway/sip.gafachi.com/1'+callee_number, 15);
new_session1.setVariable("effective_caller_id_number", caller_number);
new_session1.setVariable("effective_caller_id_name", 'Klaus Teller');
As a result, I have the callee number being shown on its own display as caller. That is on the called device the number callee_number is being displayed instead of caller_number.
What am i doing wrong?
Klaus.
-------- Original-Nachricht --------
> Datum: Tue, 29 Jul 2008 23:55:18 -0400
> Von: Michael Jerris <mike at jerris.com>
> An: "freeswitch-users at lists.freeswitch.org" <freeswitch-users at lists.freeswitch.org>
> Betreff: Re: [Freeswitch-users] Gafachi Again
> Just do setVariable on the two effective variable names, and omit the
> first of those 3.
>
> Mike
>
> On Jul 29, 2008, at 11:50 PM, "Klaus Teller" <klaus.teller at gmx.net>
> wrote:
>
> > Thanks, that was the problem. But then now, I'm still having the
> > problem with the caller ID not being sent. I set the following call
> > data properties:
> >
> >
> >
> > new_session1.setCallerData("caller_number_number", caller_number);
> > new_session1.setCallerData("effective_caller_id_number",
> > caller_number);
> > new_session1.setCallerData("effective_caller_id_name", 'Klaus
> > Teller');
> >
> > But this doesn't seem to help.
> >
> > Any idea?
> >
> > Thanks again.
> >
> > klaus.
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Tue, 29 Jul 2008 23:40:14 -0400
> >> Von: Michael Jerris <mike at jerris.com>
> >> An: "freeswitch-users at lists.freeswitch.org"
> <freeswitch-users at lists.freeswitch.org
> >> >
> >> Betreff: Re: [Freeswitch-users] Gafachi Again
> >
> >> Why do you have a leading / before sofia?
> >>
> >> Mike
> >>
> >> On Jul 29, 2008, at 11:30 PM, "Klaus Teller" <klaus.teller at gmx.net>
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>> i have a javscript script that was working with Freeswitch 1.0. The
> >>> only issue i had is that outgoing dialing via Gafachi was not
> >>> transmitting the caller ID. Then I upgraded to the current trunk
> >>> version (FreeSwitch Version 1.0.trunk (9205)). But now I'm not able
> >>> to place calls anymore.
> >>>
> >>> The error message i get is the following:
> >>>
> >>> =====
> >>> 2008-07-29 23:21:11 [ERR] switch_core_session.c:249
> >>> switch_core_session_outgoing_channel() Could not locate channel type
> >>> 2008-07-29 23:21:11 [ERR] switch_ivr_originate.c:926
> >>> switch_ivr_originate() Cannot create outgoing channel of type []
> >>> cause: [CHAN_NOT_IMPLEMENTED]
> >>> 2008-07-29 23:21:11 [WARNING] mod_spidermonkey.c:2923
> >>> session_originate() Cannot Create Outgoing Channel! [/sofia/gateway/
> >>> sip.gafachi.com/14155465584]
> >>> ===
> >>>
> >>> The exact same script is able to place outbound calls via Les.net.
> >>> And here is what i do in the script:
> >>>
> >>> ======
> >>> new_session2 = new Session();
> >>> new_session2.setCallerData("caller_number_number", caller_number);
> >>> new_session2.originate(null, '/sofia/gateway/sip.gafachi.com/
> >>> 1'+callee_number, 15);
> >>> new_session2.setAutoHangup(true);
> >>> =======
> >>>
> >>> Any idea?
> >>>
> >>> Thanks,
> >>> Klaus.
> >>>
> >>> --
> >>> GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit
> >>> Pas
> >>> try Passion!
> >>>
> >>
> http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
> >>>
> >>> _______________________________________________
> >>> 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
> >
> > --
> > GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> > Jetzt dabei sein:
> http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
> >
> > _______________________________________________
> > 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
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
More information about the FreeSWITCH-users
mailing list