It is working. It was a stupid trailing space.
Thanks.

On Thu, Sep 11, 2008 at 8:39 PM, Adeel Ansari <[EMAIL PROTECTED]> wrote:

> No I was wrong, I suppose. Actually, I guess, these must be a trailing
> space in it. Will confirm tomorrow, hopefully. Thanks for your support.
>
>
> On Thu, Sep 11, 2008 at 6:16 PM, Adeel Ansari <[EMAIL PROTECTED]>wrote:
>
>> 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 <[EMAIL PROTECTED]>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 <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> your uuid variable must have some extra or missing characters in it.
>>>>
>>>>
>>>> On Wed, Sep 10, 2008 at 5:00 AM, Adeel Ansari <[EMAIL PROTECTED]>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 <
>>>>> [EMAIL PROTECTED]> wrote:
>>>>>
>>>>>> what's the error you get?
>>>>>>
>>>>>> On Fri, Aug 29, 2008 at 4:51 AM, Adeel Ansari <[EMAIL PROTECTED]>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@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:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>>>> GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>>>> IRC: irc.freenode.net #freeswitch
>>>>>>
>>>>>> FreeSWITCH Developer Conference
>>>>>> sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>>>> iax:[EMAIL PROTECTED]/888
>>>>>> googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>>>> pstn:213-799-1400
>>>>>>
>>>>>> _______________________________________________
>>>>>> Freeswitch-users mailing list
>>>>>> Freeswitch-users@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@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:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>>> GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>> IRC: irc.freenode.net #freeswitch
>>>>
>>>> FreeSWITCH Developer Conference
>>>> sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>>> iax:[EMAIL PROTECTED]/888
>>>> googletalk:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>> pstn:213-799-1400
>>>>
>>>> _______________________________________________
>>>> Freeswitch-users mailing list
>>>> Freeswitch-users@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
>>
>
>
>
> --
> Best,
> Adeel Ansari
>
> http://www.linkedin.com/in/adeelansari
>



-- 
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to