[asterisk-users] Proper Hangup message

Doug Lytle support at drdos.info
Wed Jul 9 11:08:49 CDT 2008


Nhadie wrote:
> Hi,
>
> How do i send proper message when hanging up?
>
> [from-trunk]
> exten => _1234XXXX,1,Dial(SIP/${EXTEN}|30|t)
> exten => _1234XXXX,n,Hangup
>
>   

Ask the telco what cause code they expect:


asterisk*CLI> core show application hangup

  -= Info about application 'Hangup' =-

[Synopsis]
Hang up the calling channel

[Description]
  Hangup([causecode]): This application will hang up the calling channel.
If a causecode is given the channel's hangup cause will be set to the given
value.

Doug


-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list