Please read:

Syntax of call files.



    * Specify where and how to call
          o Channel: <channel>: Channel to use for the outbound call
          o CallerID: Name <number> Caller ID, please note that it may
not work if you do not respect the format: CallerID: Some Name <1234>
          o MaxRetries: <number> Number of retries before failing (not
including the initial attempt, e.g. 0 = total of 1 attempt to make the
call)
          o RetryTime: <number> Seconds between retries, don't hammer
an unavailable phone
          o WaitTime: <number> Seconds to wait for an answer
          o Account: Set the account code to use.
    * If the call answers, connect it here
          o Context: <context-name> Context in extensions.conf
          o Extension: <ext> Extension definition in extensions.conf
          o Priority: <priority> Priority of extension to start with
          o Set: Set a variable for use in the extension logic
(example: file1=/tmp/to ); in Asterisk 1.0.x use 'SetVar' instead of
'Set'
          o Application: Asterisk Application to run (use instead of
specifiying context, extension and priority)
          o Data: The options to be passed to application

The "Channel" is ALWAYS dialed first.

On Mon, May 12, 2008 at 10:55 AM, Gerald Cox <[EMAIL PROTECTED]> wrote:
> How come whenever I invoke the outgoing fax part of callweaver, it dials
> without invoking Dial(), or anything else, in the extensions.conf?
>
> If there's no answer on the other end, it doesn't do anything that's in
> the extensions.conf.
>
> The file passed into the 'outgoing' folder is as follows:
> "Channel: SIP/VoIPout/15755237824
> MaxRetries: 0
> WaitTime: 30
>
> Set: LOCALSTATIONID=8005555555
> Set: LOCALHEADERINFO=8005555555
> Set: FAXFILE=/tmp/uploadTest.tif
> Set: NUMBER=15755237824
> CallerID:  <8005555555>
>
> Context: faxTest
> Extension: s
> priority: 1"
>
>
> The faxTest part of extensions.conf is as follows:
>
> "[faxTest]
> exten => s,1,Answer()
> exten => s,2,NoOp(NUMBER:${NUMBER})
> exten => s,3,Dial(SIP/[EMAIL PROTECTED])
> exten => s,4,NoOp(Fax Testing*****)
> exten => s,5,TxFAX(${FAXFILE},caller,ecm)
> exten => s,6,NoOp(NUMBER:${NUMBER})
> exten => h,1,NoOp(TX: REMOTESTATIONID is ${REMOTESTATIONID})
> exten => h,n,NoOp(TX: PHASEESTATUS is ${PHASEESTATUS})"
>
> If I comment out everything but 'TxFAX', it still dials and tries to
> send a fax.
>
> Anyone know how to make the outgoing fax use the stuff in
> extensions.conf?
>
> _______________________________________________
> Callweaver-users mailing list
> [email protected]
> http://lists.callweaver.org/mailman/listinfo/callweaver-users
>
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to