Hi, How do i send proper message when hanging up? [from-trunk] exten => _1234XXXX,1,Dial(SIP/${EXTEN}|30|t) exten => _1234XXXX,n,Hangup With that, the other end receives a "call reject" if i don't answer the phone, but the telco said they need something like "No Answer" instead of "Call Reject". Is it possible to set that? Thanks Regards, Nhadie
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."
It looks like it's 19: http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause 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 > > With that, the other end receives a "call reject" if i don't answer the > phone, but the telco said they need something like "No Answer" instead > of "Call Reject". > > Is it possible to set that? Thanks > > Regards, > Nhadie > > > _______________________________________________ > -- 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 >