[asterisk-users] Waiting for a call to complete with AMI Originate

Scott Gifford sgifford at suspectclass.com
Thu Jul 23 00:54:23 CDT 2009


Matt Riddell <lists at venturevoip.com> writes:

> On 22/7/09 7:24 PM, Scott Gifford wrote:

[...]

>> In this case, I don't seem to have enough information to tell when the
>> call has failed and I should give up.  I do get a Hangup event, but I
>> don't see a way to distinguish it from other hang-up events from other
>> calls.
>
> For doing fax broadcasting we use the UserEvent function.
>
> exten => 
> h,n,UserEvent(SmoothTorque|SmoothTorqueFax:${PHASEESTATUS}-${campaignid}-${phonenumber})
>
> Then in the back end we parse the results.

Thanks, that worked great!  I didn't know about the UserEvent app, it
will be a very useful trick to have up my sleeve.  :-)

----Scott.



More information about the asterisk-users mailing list