[Freeswitch-users] Command working on console but not using RPC

Adeel Ansari adeel.gnome at gmail.com
Thu Sep 11 03:16:19 PDT 2008


No, I am quite sure, its not the case. Because before issuing it, I am
printing it on java console. Everything seems fine, but even then I got "No
such channel error". When I copy exactly same thing from the java console
and execute that on Freeswitch console, same command works. I tried several
times, it worked every damn time. But not with RPC. Thanks.

On Thu, Sep 11, 2008 at 4:09 PM, Adeel Ansari <adeel.gnome at gmail.com> wrote:

> Is there any chance that the session is somewhere in the middle of
> intitation, despite returning the uuid back, and I am trying to set the
> sched_hangup?
>
>
> On Wed, Sep 10, 2008 at 9:02 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> your uuid variable must have some extra or missing characters in it.
>>
>>
>> On Wed, Sep 10, 2008 at 5:00 AM, Adeel Ansari <adeel.gnome at gmail.com>wrote:
>>
>>> -ERR No Such Channel!
>>>
>>> But when I immediately switch to console and issue the same command with
>>> the same session uuid, it works.
>>> Thanks
>>>
>>> On Fri, Aug 29, 2008 at 9:04 PM, Anthony Minessale <
>>> anthony.minessale at gmail.com> wrote:
>>>
>>>> what's the error you get?
>>>>
>>>> On Fri, Aug 29, 2008 at 4:51 AM, Adeel Ansari <adeel.gnome at gmail.com>wrote:
>>>>
>>>>> The sched_hangup command is working, like charm, on console. But when I
>>>>> issue the command using RPC I am receiving error. Although, originate
>>>>> command is working through RPC.
>>>>>
>>>>> Below is how I am doing it, in java.
>>>>>
>>>>> =====
>>>>> client.execute("freeswitch.api", new Object[]{"sched_hangup","+6
>>>>> "+uuid);
>>>>> =====
>>>>>
>>>>> Thanks.
>>>>>
>>>>> --
>>>>> Best,
>>>>> Adeel Ansari
>>>>>
>>>>> http://www.linkedin.com/in/adeelansari
>>>>>
>>>>> _______________________________________________
>>>>> 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/
>>>>
>>>> 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:213-799-1400
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Best,
>>> Adeel Ansari
>>>
>>> http://www.linkedin.com/in/adeelansari
>>>
>>> _______________________________________________
>>> 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/
>>
>> 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:213-799-1400
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Best,
> Adeel Ansari
>
> http://www.linkedin.com/in/adeelansari
>



-- 
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080911/f3de68c3/attachment-0002.html 


More information about the FreeSWITCH-users mailing list