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." _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users