The h extension is executed after the remote end peer01 rejects the call with a 408. I verified it by altering the dialplan as:

[test]
exten => _X.,1,Dial(SIP/12345@peer01,,,)

exten => i,1,Hangup(${HANGUPCAUSE})
exten => t,1,Hangup(${HANGUPCAUSE})
exten => h,1,NoOp("Hangup cause is: ${HANGUPCAUSE})
exten => h,n,Hangup(${HANGUPCAUSE})

and I saw in the Asterisk CLI that the correct hangupcause is shown.

--
Best regards,
Vlasis Hatzistavrou.



On 15/4/2011 5:01 μμ, Jim Dickenson wrote:
If what you showed is your whole dialplan then none of the i or t or h 
extensions are going to be executed for a non answered call.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to