[asterisk-dev] Controlling disconnect causes

Wilmar Campos wilmar.campos at gmail.com
Wed Jun 7 16:34:10 MST 2006


I am trying to use the Congestion application for the  last couple of weeks,
but it has a behavior in wich the disconection cause is 3f instead of 34.

Can i use:
    exten => i,1,SetVar(PRI_CAUSE=1)
    ; invalid extension dialed - PRI_CAUSE=unallocated number
    exten => i,2,Hangup
    ; send the DISCONNECT message
    ; This will in most cases result in a network generated recording like
    "The number you have dialed has been disconnected ..."

To se the disconnect cause on the SIP or H323 channel before hangup the call
completly?

Help will be really apreciate here.

Thanks,

WIlmar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060607/3b99934b/attachment.htm


More information about the asterisk-dev mailing list