[Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Marco Mouta
Hi all,

I've created this test.call file and it is not running outgoing call files:

i've made mv test.call /var/spool/asterisk/outgoing and nothing happens

Channel: SIP/200
MaxRetries: 3
RetryTime: 40
WaitTime: 25
Context: from-internal
Extension: 200
Priority: 1

My asterisk is running with asterisk user. not root user.

Could you help me on ? Could this be a problem of file permissions?
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Tomislav Vojvodic
I copy/pasted

Channel: SIP/200
MaxRetries: 3
RetryTime: 40
WaitTime: 25
Context: from-internal
Extension: 200
Priority: 1

..and saved it as 'callme' ..

..and put chmod 777 callme

..and mv callme /var/spool/asterisk/outgoing/

All as root - and.. it's working ;)

(Tested on AAH 2.7)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marco Mouta
Sent: Tuesday, March 28, 2006 11:47 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Dial out .call files File permissions??

Hi all,

I've created this test.call file and it is not running outgoing call files:

i've made mv test.call /var/spool/asterisk/outgoing and nothing happens

Channel: SIP/200
MaxRetries: 3
RetryTime: 40
WaitTime: 25
Context: from-internal
Extension: 200
Priority: 1

My asterisk is running with asterisk user. not root user.

Could you help me on ? Could this be a problem of file permissions?
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Bruno De Luca

do u need to give the permission for user asterisk to uour file.

Bruno.

Marco Mouta wrote:

Hi all,

I've created this test.call file and it is not running outgoing call files:

i've made mv test.call /var/spool/asterisk/outgoing and nothing happens

Channel: SIP/200
MaxRetries: 3
RetryTime: 40
WaitTime: 25
Context: from-internal
Extension: 200
Priority: 1

My asterisk is running with asterisk user. not root user.

Could you help me on ? Could this be a problem of file permissions?
___
--Bandwidth and Colocation provided by Easynews.com --

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

  


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Tomislav Vojvodic
If you put 777 on some file, that means that anyone can read/write/execute
that file.. I think that file ownership isn't important in that case, but if
you want to set 'precise' permissions so that only user 'asterisk' can deal
with it.. then type

chmod 644 filename (owner can read/write, others can only read)

..or 

chmod 600 filename (only owner can read/write)

..and set file ownership to asterisk user (make sure that asterisk is really
running under asterisk user)

chown asterisk.asterisk filename

---

Just for the record, I'm really new with * so it is possible that what I'm
saying isn't correct. This is actually a linux question.. 

Anywayz, hope this helps.


Tomislav


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruno De Luca
Sent: Tuesday, March 28, 2006 12:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Dial out .call files File permissions??

do u need to give the permission for user asterisk to uour file.

Bruno.

Marco Mouta wrote:
 Hi all,

 I've created this test.call file and it is not running outgoing call
files:

 i've made mv test.call /var/spool/asterisk/outgoing and nothing happens

 Channel: SIP/200
 MaxRetries: 3
 RetryTime: 40
 WaitTime: 25
 Context: from-internal
 Extension: 200
 Priority: 1

 My asterisk is running with asterisk user. not root user.

 Could you help me on ? Could this be a problem of file permissions?
 ___
 --Bandwidth and Colocation provided by Easynews.com --

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

   

___
--Bandwidth and Colocation provided by Easynews.com --

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


__ NOD32 1.1459 (20060327) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Marco Mouta
Thank you for your fast reply!!!
It's working on for SIP:)

I've tried to my zapata and doesn't make the call, i get this:

 Attempting call on ZAP/g1964391121 for [EMAIL PROTECTED]:1 (Retry 2)

-- Attempting call on ZAP/[EMAIL PROTECTED] for
[EMAIL PROTECTED]:1 (Retry 1)
-- Attempting call on ZAP/[EMAIL PROTECTED] for
[EMAIL PROTECTED]:1 (Retry 2)
-- Attempting call on ZAP/[EMAIL PROTECTED] for
[EMAIL PROTECTED]:1 (Retry 1)

Do I need to define context to outbound calls through my ZAP ?

Thanks in advance,
Marco Mouta

On 3/28/06, Tomislav Vojvodic [EMAIL PROTECTED] wrote:
 I copy/pasted

 Channel: SIP/200
 MaxRetries: 3
 RetryTime: 40
 WaitTime: 25
 Context: from-internal
 Extension: 200
 Priority: 1

 ..and saved it as 'callme' ..

 ..and put chmod 777 callme

 ..and mv callme /var/spool/asterisk/outgoing/

 All as root - and.. it's working ;)

 (Tested on AAH 2.7)


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Marco Mouta
 Sent: Tuesday, March 28, 2006 11:47 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: [Asterisk-Users] Dial out .call files File permissions??

 Hi all,

 I've created this test.call file and it is not running outgoing call files:

 i've made mv test.call /var/spool/asterisk/outgoing and nothing happens

 Channel: SIP/200
 MaxRetries: 3
 RetryTime: 40
 WaitTime: 25
 Context: from-internal
 Extension: 200
 Priority: 1

 My asterisk is running with asterisk user. not root user.

 Could you help me on ? Could this be a problem of file permissions?
 ___
 --Bandwidth and Colocation provided by Easynews.com --

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


 ___
 --Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Marco Mouta
it's working , the problem was:
 Channel: ZAP/g1X

I changed to ZAP/g1/X

And it's working fine!
Thank you all



On 3/28/06, Marco Mouta [EMAIL PROTECTED] wrote:
 Thank you for your fast reply!!!
 It's working on for SIP:)

 I've tried to my zapata and doesn't make the call, i get this:

  Attempting call on ZAP/g1964391121 for [EMAIL PROTECTED]:1 (Retry 2)

 -- Attempting call on ZAP/[EMAIL PROTECTED] for
 [EMAIL PROTECTED]:1 (Retry 1)
 -- Attempting call on ZAP/[EMAIL PROTECTED] for
 [EMAIL PROTECTED]:1 (Retry 2)
 -- Attempting call on ZAP/[EMAIL PROTECTED] for
 [EMAIL PROTECTED]:1 (Retry 1)

 Do I need to define context to outbound calls through my ZAP ?

 Thanks in advance,
 Marco Mouta

 On 3/28/06, Tomislav Vojvodic [EMAIL PROTECTED] wrote:
  I copy/pasted
 
  Channel: SIP/200
  MaxRetries: 3
  RetryTime: 40
  WaitTime: 25
  Context: from-internal
  Extension: 200
  Priority: 1
 
  ..and saved it as 'callme' ..
 
  ..and put chmod 777 callme
 
  ..and mv callme /var/spool/asterisk/outgoing/
 
  All as root - and.. it's working ;)
 
  (Tested on AAH 2.7)
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Marco Mouta
  Sent: Tuesday, March 28, 2006 11:47 AM
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Subject: [Asterisk-Users] Dial out .call files File permissions??
 
  Hi all,
 
  I've created this test.call file and it is not running outgoing call files:
 
  i've made mv test.call /var/spool/asterisk/outgoing and nothing happens
 
  Channel: SIP/200
  MaxRetries: 3
  RetryTime: 40
  WaitTime: 25
  Context: from-internal
  Extension: 200
  Priority: 1
 
  My asterisk is running with asterisk user. not root user.
 
  Could you help me on ? Could this be a problem of file permissions?
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  Asterisk-Users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  Asterisk-Users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Tomislav Vojvodic
heh.. I just noticed that ;)

Heh, do you know maybe how to update time/date on all Cisco 7905 phones
through asterisk?

I need to increase time for 1 hour..



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marco Mouta
Sent: Tuesday, March 28, 2006 12:37 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Dial out .call files File permissions??

it's working , the problem was:
 Channel: ZAP/g1X

I changed to ZAP/g1/X

And it's working fine!
Thank you all



On 3/28/06, Marco Mouta [EMAIL PROTECTED] wrote:
 Thank you for your fast reply!!!
 It's working on for SIP:)

 I've tried to my zapata and doesn't make the call, i get this:

  Attempting call on ZAP/g1964391121 for [EMAIL PROTECTED]:1 (Retry 2)

 -- Attempting call on ZAP/[EMAIL PROTECTED] for
 [EMAIL PROTECTED]:1 (Retry 1)
 -- Attempting call on ZAP/[EMAIL PROTECTED] for
 [EMAIL PROTECTED]:1 (Retry 2)
 -- Attempting call on ZAP/[EMAIL PROTECTED] for
 [EMAIL PROTECTED]:1 (Retry 1)

 Do I need to define context to outbound calls through my ZAP ?

 Thanks in advance,
 Marco Mouta

 On 3/28/06, Tomislav Vojvodic [EMAIL PROTECTED] wrote:
  I copy/pasted
 
  Channel: SIP/200
  MaxRetries: 3
  RetryTime: 40
  WaitTime: 25
  Context: from-internal
  Extension: 200
  Priority: 1
 
  ..and saved it as 'callme' ..
 
  ..and put chmod 777 callme
 
  ..and mv callme /var/spool/asterisk/outgoing/
 
  All as root - and.. it's working ;)
 
  (Tested on AAH 2.7)
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Marco
Mouta
  Sent: Tuesday, March 28, 2006 11:47 AM
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Subject: [Asterisk-Users] Dial out .call files File permissions??
 
  Hi all,
 
  I've created this test.call file and it is not running outgoing call
files:
 
  i've made mv test.call /var/spool/asterisk/outgoing and nothing happens
 
  Channel: SIP/200
  MaxRetries: 3
  RetryTime: 40
  WaitTime: 25
  Context: from-internal
  Extension: 200
  Priority: 1
 
  My asterisk is running with asterisk user. not root user.
 
  Could you help me on ? Could this be a problem of file permissions?
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  Asterisk-Users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
  ___
  --Bandwidth and Colocation provided by Easynews.com --
 
  Asterisk-Users mailing list
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Marco Mouta
In fact i've never  done it. And i don't have any Cisco Phone...
If i find something i will report it here :)

Best regards,
Marco Mouta

On 3/28/06, Tomislav Vojvodic [EMAIL PROTECTED] wrote:
 heh.. I just noticed that ;)

 Heh, do you know maybe how to update time/date on all Cisco 7905 phones
 through asterisk?

 I need to increase time for 1 hour..



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Marco Mouta
 Sent: Tuesday, March 28, 2006 12:37 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Dial out .call files File permissions??

 it's working , the problem was:
  Channel: ZAP/g1X

 I changed to ZAP/g1/X

 And it's working fine!
 Thank you all



 On 3/28/06, Marco Mouta [EMAIL PROTECTED] wrote:
  Thank you for your fast reply!!!
  It's working on for SIP:)
 
  I've tried to my zapata and doesn't make the call, i get this:
 
   Attempting call on ZAP/g1964391121 for [EMAIL PROTECTED]:1 (Retry 2)
 
  -- Attempting call on ZAP/[EMAIL PROTECTED] for
  [EMAIL PROTECTED]:1 (Retry 1)
  -- Attempting call on ZAP/[EMAIL PROTECTED] for
  [EMAIL PROTECTED]:1 (Retry 2)
  -- Attempting call on ZAP/[EMAIL PROTECTED] for
  [EMAIL PROTECTED]:1 (Retry 1)
 
  Do I need to define context to outbound calls through my ZAP ?
 
  Thanks in advance,
  Marco Mouta
 
  On 3/28/06, Tomislav Vojvodic [EMAIL PROTECTED] wrote:
   I copy/pasted
  
   Channel: SIP/200
   MaxRetries: 3
   RetryTime: 40
   WaitTime: 25
   Context: from-internal
   Extension: 200
   Priority: 1
  
   ..and saved it as 'callme' ..
  
   ..and put chmod 777 callme
  
   ..and mv callme /var/spool/asterisk/outgoing/
  
   All as root - and.. it's working ;)
  
   (Tested on AAH 2.7)
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Marco
 Mouta
   Sent: Tuesday, March 28, 2006 11:47 AM
   To: Asterisk Users Mailing List - Non-Commercial Discussion
   Subject: [Asterisk-Users] Dial out .call files File permissions??
  
   Hi all,
  
   I've created this test.call file and it is not running outgoing call
 files:
  
   i've made mv test.call /var/spool/asterisk/outgoing and nothing happens
  
   Channel: SIP/200
   MaxRetries: 3
   RetryTime: 40
   WaitTime: 25
   Context: from-internal
   Extension: 200
   Priority: 1
  
   My asterisk is running with asterisk user. not root user.
  
   Could you help me on ? Could this be a problem of file permissions?
   ___
   --Bandwidth and Colocation provided by Easynews.com --
  
   Asterisk-Users mailing list
   To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
  
  
   ___
   --Bandwidth and Colocation provided by Easynews.com --
  
   Asterisk-Users mailing list
   To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
  
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --

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


 ___
 --Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Dial out .call files File permissions??

2006-03-28 Thread Peter Fern



Tomislav Vojvodic wrote:


If you put 777 on some file, that means that anyone can read/write/execute
that file.. I think that file ownership isn't important in that case, but if
you want to set 'precise' permissions so that only user 'asterisk' can deal
with it.. then type

chmod 644 filename (owner can read/write, others can only read)

..or 


chmod 600 filename (only owner can read/write)

..and set file ownership to asterisk user (make sure that asterisk is really
running under asterisk user)
 

It's also best to either create the file as the asterisk user, or change 
ownership before dropping it into the spool to avoid race conditions.



chown asterisk.asterisk filename
 


should be:

chown asterisk:asterisk filename

'.' as a separator is deprecated.



---

Just for the record, I'm really new with * so it is possible that what I'm
saying isn't correct. This is actually a linux question.. 


Anywayz, hope this helps.


Tomislav


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruno De Luca
Sent: Tuesday, March 28, 2006 12:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Dial out .call files File permissions??

do u need to give the permission for user asterisk to uour file.

Bruno.

Marco Mouta wrote:
 


Hi all,

I've created this test.call file and it is not running outgoing call
   


files:
 


i've made mv test.call /var/spool/asterisk/outgoing and nothing happens

Channel: SIP/200
MaxRetries: 3
RetryTime: 40
WaitTime: 25
Context: from-internal
Extension: 200
Priority: 1

My asterisk is running with asterisk user. not root user.

Could you help me on ? Could this be a problem of file permissions?
___
--Bandwidth and Colocation provided by Easynews.com --

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

 
   



___
--Bandwidth and Colocation provided by Easynews.com --

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


__ NOD32 1.1459 (20060327) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com



___
--Bandwidth and Colocation provided by Easynews.com --

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

 


___
--Bandwidth and Colocation provided by Easynews.com --

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