Void sending ANM or release the call with a differen cause code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Look for expliciatanm setting in chan_dahdi.conf

On Friday 21 November 2008 23:20, Rafael Visser wrote:
> Hi guys
>
> I have an asterisk 1.6 working as an ivr conected to an
> ericsson switch with libss7 1.0.2, and it's application
> only querys a data base and plays some messages.
>
> For every call received,  asterisk sends ANM to the
> switch so in this way ericsson considers that the call
> was good.
> Even if we dont' put answer/proceed command on the dial
> plan, on the first play command, anm is sent
>
>
> But let's say the DataBase is down, and we would like to
> play "this service is out order".
> Asterisk will send ANM to the switch anyway, like a
> regular call.
>
>
>
> Question:
> How can i void sending ANM messages and/or  release the
> call with a different cause code when the there is some
> errors on the applicationsl?
>
>
> Thanks in advance..
>
> rv
>
>
> Dial Example Plan lines (with no answer proceed)
> ===============================================
> exten => 783781111,1,NoOp()
> exten => 783781111,n,Wait(5)
> exten => 783781111,n(goodbye),Playback(vm-goodbye)
> exten => 783781111,n,Hangup()
>
>
>
>
>
> trace of the call with ANM
> ==========================
>
> Len = 64 [ 92 91 3d 85 c6 49 70 d2 2d 00 01 00 40 00 0a
> 03 02 09 07 83 90 90 40 99 99 0f 31 02 00 5a 3f 08 04 93
> 95 95 17 02 00 87 ] FSN: 17 FIB 1LI>
> BSN: 18 BIB 1
> <[0] MSU
> [ 92 91 3d ]
>         Network Indicator: 2 Priority: 0 User Part: ISUP
> (5) [ 85 ]
> asusis-iOPC 2497 DPC 2502 SLS 13
> asusis-i[ c6 49 70 d2 ]
>                 CIC: 45
>                 [ 2d 00 ]
>                 Message Type: IAM
>                 [ 01 ]
>                 --FIXED LENGTH PARMS[4]--
>                 Nature of Connection Indicator:
>                         Satellites in connection: 0
> asusis-ims1*CLI>        Continuity Check: Check not
> required (0) Outgoing half echo control device: not
> included (0) [ 00 ]
>                 Forward Call Indicators:
>                         Nat/Intl Call Ind: call to be
> treated as a national call (0)
>                         End to End Method Ind: no
> end-to-end method(s) available (0)
>                         Interworking Ind: no interworking
> encountered (0) End to End Info Ind: no end-to-end
> information available (0)
>                         ISDN User Part Ind: ISDN user
> part not used all the way (0)
>                         ISDN User Part Pref Ind: ISDN
> user part not preferred all the way (1)
>                         ISDN Access Ind: originating
> access non-ISDN (0) SCCP Method Ind: no indication (0) [
> 40 00 ]
>                 Calling Party's Category:
>                         Category: Ordinary calling
> subscriber (10) [ 0a ]
>                 Transmission Medium Requirements:
>                         N x 64kbit/s unrestricted or
> possibly spare (3) [ 03 ]
> asusis-ims1*CLI>--VARIABLE LENGTH PARMS[1]--
>                 Called Party Number:
>                         Nature of address: 3
>                         NI: 1
>                         Numbering plan: 1
>                         Address signals: 09049999#
>                         [ 07 83 90 90 40 99 99 0f ]
>                 --OPTIONAL PARMS--
> asusis-ims1*CLI>Propagation Delay Counter:
> asusis-ims1*CLI>        Delay: 0ms
>                         [ 31 02 00 5a ]
>                 Location Number:
>                         [ 3f 08 04 93 95 95 17 02 00 87 ]
>                 User Service Information:
>                         [ 1d 03 80 90 a3 ]
>                 Calling Party Number:
> asusis-ims1*CLI>        Nature of address: 3
> asusis-ims1*CLI>        NI: 0
>                         Numbering plan: 1
>                         Presentation: 0
>                         Screening: 3
>                         Address signals: 0971200152
>                         [ 0a 07 03 13 90 17 02 10 25 ]
>                 Optional forward call indicator:
>                         [ 08 01 80 ]
> asusis-ims1*CLI>Parameter Compatibility Information:
>                         [ 39 04 31 d0 3f c0 ]
>
> Unhandled optional parameter 0x31 'Propagation Delay
> Counter' [0x0 0x5a ]
> Unhandled optional parameter 0x3f 'Location Number'
> [0x4 0x93 0x95 0x95 0x17 0x2 0x0 0x87 ]
> Unhandled optional parameter 0x8 'Optional forward call
> indicator' [0x80 ]ims1*CLI>
> Unhandled optional parameter 0x39 'Parameter
> Compatibility Information' [0x31 0xd0 0x3f 0xc0 ]
>     -- Accepting call to '09049999' on CIC 45
>     -- Executing [09049999 at ss7:1] Answer("DAHDI/44-1",
> "") in new stack -- Executing [09049999 at ss7:2]
> Wait("DAHDI/44-1", "5") in new stack Len = 14 [ 91 93 0b
> 85 c1 89 71 d2 2d 00 06 40 14 00 ] FSN: 19 FIB 1
> BSN: 17 BIB 1
>
> >[0] MSUms1*CLI>
>
> [ 91 93 0b ]CLI>
>         Network Indicator: 2 Priority: 0 User Part: ISUP
> (5) [ 85 ]
>         OPC 2502 DPC 2497 SLS 13
>         [ c1 89 71 d2 ]
>                 CIC: 45
> asusis-ims1*CLI>[ 2d 00 ]
> asusis-ims1*CLI>Message Type: ACM
>                 [ 06 ]
>                 --FIXED LENGTH PARMS[1]--
>                 Backward Call Indicator:
>                         Charge indicator: 0
> asusis-ims1*CLI>        Called party's status indicator:
> 0 Called party's category indicator: 0 End to End method
> indicator: 1 Interworking indicator: 0 End to End
> information indicator: 0 ISDN user part indicator: 1
> asusis-ims1*CLI>        Holding indicator: 0
>                         ISDN access indicator: 1
>                         Echo control device indicator: 0
> asusis-ims1*CLI>        SCCP method indicator: 0
>                         [ 40 14 ]
>
> Len = 12 [ 91 94 09 85 c1 89 71 d2 2d 00 09 00 ]
> FSN: 20 FIB 1
> BSN: 17 BIB 1
>
> >[0] MSU
>
> [ 91 94 09 ]
>         Network Indicator: 2 Priority: 0 User Part: ISUP
> (5) asusis-i[ 85 ]I>
>         OPC 2502 DPC 2497 SLS 13
>         [ c1 89 71 d2 ]
> asusis-ims1*CLI>CIC: 45
> asusis-ims1*CLI>[ 2d 00 ]
>                 Message Type: ANM         
> <------------------------ here [ 09 ]
>
>     -- Executing [09049999 at ss7:3] Playback("DAHDI/44-1",
> "vm-goodbye") in new stack
>     -- <DAHDI/44-1> Playing 'vm-goodbye.slin' (language
> 'es') -- Executing [09049999 at ss7:4] Hangup("DAHDI/44-1",
> "") in new stack == Spawn extension (ss7, 09049999, 4)
> exited non-zero on 'DAHDI/44-1' -- Executing [h at ss7:1]
> Answer("DAHDI/44-1", "") in new stack == Spawn extension
> (ss7, h, 1) exited non-zero on 'DAHDI/44-1' -- Hungup
> 'DAHDI/44-1'
> Len = 16 [ 91 95 0d 85 c1 89 71 d2 2d 00 0c 02 00 02 81
> 90 ] FSN: 21 FIB 1LI>
> BSN: 17 BIB 1
>
> >[0] MSU
>
> [ 91 95 0d ]
>         Network Indicator: 2 Priority: 0 User Part: ISUP
> (5) [ 85 ]
> asusis-iOPC 2502 DPC 2497 SLS 13
>         [ c1 89 71 d2 ]
>                 CIC: 45
>                 [ 2d 00 ]
>                 Message Type: REL
>                 [ 0c ]
>                 --VARIABLE LENGTH PARMS[1]--
> asusis-ims1*CLI>Cause Indicator:
> asusis-ims1*CLI>        Coding Standard: 0
>                         Location: 1
>                         Cause Class: 1
>                         Cause Subclass: 0
>                         Cause: Normal call clearing (16)
>                         [ 02 81 90 ]
>
> Len = 12 [ 95 92 09 85 c6 49 70 d2 2d 00 10 00 ]
> FSN: 18 FIB 1LI>
> BSN: 21 BIB 1LI>
> <[0] MSUms1*CLI>
> [ 95 92 09 ]
>         Network Indicator: 2 Priority: 0 User Part: ISUP
> (5) [ 85 ]
>         OPC 2497 DPC 2502 SLS 13
>         [ c6 49 70 d2 ]
>                 CIC: 45
> asusis-ims1*CLI>[ 2d 00 ]
> asusis-ims1*CLI>Message Type: RLC
> asusis-ims1*CLI>[ 10 ]
>
> _______________________________________________
> --Bandwidth and Colocation Provided by
> http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss7



[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux