Touch Command Not Behaving For Future Calls In Asterisk 1.4.41

Report
Question
Hi All,

It's small issue but making a big problem for my application. I have CentOS release 5.8 (Final) with asterisk 1.4.41 installed. I am using 1.4.41 because Flite work in this version.

problem is that when I make changes on .call file to make it future call file with *touch *command then it not changed.

[root@server tmp]# touch -t 201207052137 1341509545.39.call [root@server tmp]# ll -rw-r--r-- 1 root root 52 Jul 5 2012 1341509545.39.call

.call file's time is missed with year only that's asterisk make call after move to outgoing folder.

please give your suggestion. If I am wrong then correct me ...

--

Thanks and regards

Virendra Bhati +91-9718300881 E-mail-: virbhati@gmail.com Skype id:- virbhati2 New Delhi(India)
Asterisk Users 3.2 years ago 3 Answers

Answers ( 3 )

  1. SamyGo
    +1
    July 6, 2012 at 00:46 am
    Reply

    Hi, Did you get anything working on it !! See the permission for the user running asterisk process and see if that user can touch files like that. Regards, Sammy

  2. virendra bhati
    +1
    July 6, 2012 at 00:58 am
    Reply

    Thanks Gohar,

    I found the issue was copy file to outbound folder not moving. that's why after making future time asterisk start reading file.



    --

    Thanks and regards

    Virendra Bhati +91-9718300881 Asterisk Developer E-mail-: virbhati@gmail.com Skype id:- virbhati2 New Delhi(India)

  3. Gohar Ahmed
    +1
    July 6, 2012 at 01:02 am
    Reply

    Yeah, that's what I was saying J good it fixed it.



    BR

    Gohar

    From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] Hi All,

    It's small issue but making a big problem for my application. I have CentOS release 5.8 (Final) with asterisk 1.4.41 installed. I am using 1.4.41 because Flite work in this version.

    problem is that when I make changes on .call file to make it future call file with touch command then it not changed.

    [root@server tmp]# touch -t 201207052137 1341509545.39.call [root@server tmp]# ll -rw-r--r-- 1 root root 52 Jul 5 2012 1341509545.39.call

    .call file's time is missed with year only that's asterisk make call after move to outgoing folder.

    please give your suggestion. If I am wrong then correct me ...

    --

    Thanks and regards

    Virendra Bhati +91-9718300881 E-mail-: virbhati@gmail.com Skype id:- virbhati2 New Delhi(India)





    -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello

    asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users



    -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello

    asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users



    --

    Thanks and regards

    Virendra Bhati +91-9718300881 Asterisk Developer E-mail-: virbhati@gmail.com Skype id:- virbhati2 New Delhi(India)

 Prev question

Next question