Good morning,

I believe you're talking about how to get the status of a call that has been 
started by a .call file in the outgoing spool folder. If this is true then 
here's a quick example to point you in the right direction

In the .call file you'd have to have something like
Context: testcall
Extension: start
Priority: 1

Once the call was connected the dialplan would begin in the start section. If 
for whatever reason the dialout failed then the dialplan would begin in the 
failed section. In this example it sets the userfield in the cdrs to a 
failed/success message.

[testcall]
exten => start,1,Set(CDR(userfield)=Call success)
exten => start,2,Hangup()
exten => failed,1,Set(CDR(userfield)=Call failed)
exten => failed,2,Hangup()

This is likely why the EXTEN var would contain "failed". I'm sure the Hangup 
under failed is not required but it's a good practice. If this is not what 
you're looking for please post more information.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Le Manach Patrice 
SEWAN
Sent: May-12-09 5:02 AM
To: [email protected]
Subject: [Callweaver-users] FAILED CALL STATUS

Hi,

are there any solutions with last release ?

Best regards,

Patrice

----- Original Message -----
From: Le Manach Patrice SEWAN<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Sent: Tuesday, January 06, 2009 1:38 PM
Subject: FAILED CALL STATUS

Hi,

I doesn't know how get the status of a call by outgoing spool way in case the 
line is busy or unreachable.

The differents variables (DIALSTATUS, HANGUPCAUSE, REASON, CAUSECODE)  doesn't 
return usefull value.

the only way i found is EXTEN var who contains "failed".

Best regards,

Patrice
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to