Can run from shell but not from Asterisk System command


Hi All, I have this strange problem on a newly installed PBX. I have other installs of that does not exhibit this problem. I can run from the console
/usr/sbin/fax2mail --cid-name "Console Execuation" --cid-number 61123123 --dest-exten 8960 -f /var/spool/asterisk/fax/1336702728.59 ... and an email will be emailed to me. The following does not produce an email.
exten => 1122,1,Answer
exten => 1122,n,System(/usr/sbin/fax2mail --cid-name "Console Execuation" --cid-number 61123123 --dest-exten 8960 -f /var/spool/asterisk/fax/1336702728.59)
exten => 1122,n,HangUp result from CLI
== Using SIP RTP CoS mark 5

Asterisk Users 3.2 years ago 1 Answer

Event response (AMI)


When I execute the Action commands set then the Event would response back.
How would I know which Action are they belong/reference to? For example: ACTION: Originate
Channel: SIP/test
Exten: 215
Timeout: 30000
Context: test
Priority: 1
ActionID: 111112222333 Response: Success
ActionID: 111112222333
Message: Originate successfully queued
Event response when I hang up the call: Event: Hangup
Privilege: call,all
Channel: SIP/test-0000007f
Uniqueid: 1336690030.189

Cause: 16
Cause-txt: Normal Clearing
As you can see, how would I know…

Asterisk Users 3.2 years ago 4 Answer

enabling dialing by sip uri


On 05/10/2012 09:39 AM, Arif Hossain wrote:
> I have following sip account :
> Name/username Host Dyn
> Forcerport ACL Port Status Description
> demo-alice/demo-alice D
> N 1080 Unmonitored
> demo-bob/demo-bob D
> N 5060 Unmonitored
> and i have set up the following extensions for them:
> [users]
> exten=>6001,1,Dial(SIP/demo-alice,20)
> exten=>6002,1,Dial(SIP/demo-bob,20)
> exten => _.,n,GotoIf($[${SIPDOMAIN} = ${ASTERISK_IP}]?unhandled)
> exten => _.,n,GotoIf($[${SIPDOMAIN} = ${ASTERISK_IP}:5060]?unhandled)
> exten => _.,n,Macro(uri-dial,${EXTEN}@${SIPDOMAIN})

Asterisk Users 3.2 years ago 3 Answer



I am using Fax-to-Email feature of FreePBX, now i am looking Email-To-Fax
option with freePBX, kindly update is it possible to have this feature with
kindly contact me on my email if anybody have this type of
solution. thanks.

Asterisk Users 3.2 years ago 0 Answer