[Asterisk-Users] Experience with SetTransferCapability

McGhee, Stefano Stefano.McGhee at studentuniverse.com
Tue Jan 3 12:14:20 MST 2006


Does anyone have exporience with the SetTransferCapability application?
I'm trying to use it, but it does not give the expected result.

My configuration is like this:

Telco<--->Definity<--->Asterisk<--->Brooktrout PRI card

The Definity communicates with the Asterisk using the Bearer 3.1K audio
setting.  This is because the Asterisk was placed in between an already
working setup.

In default situations, Calls from SIP ---> Asterisk ---> Brooktrout seem
to work OK.

Calls from Definity --> Asterisk ---> Brooktrout do not.  All I get is
silence and it seems as though (looking at pri debug span 2), the call
terminates immediately with the following output:

**********************************BEGUN DEBUG
OUTPUT******************************
asterisk*CLI>
-- Making new call for cr 32819
> Protocol Discriminator: Q.931 (8)  len=46
> Call Ref: len= 2 (reference 51/0x33) (Originator)
> Message type: SETUP (5)
> [04 02 88 90]
> Bearer Capability (len= 4) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Unrestricted digital information (8)
>                              Ext: 1  Trans mode/rate: 64kbps,
circuit-mode (16)
>                              Ext: 0  User information layer 1: Unknown
(24)
> [18 03 a1 83 82]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel
Type: 3
>                       Ext: 1  Channel: 2 ]
> [28 10 b1 4d 63 47 68 65 65 2c 20 53 74 65 66 61 6e 6f]
> Display (len=16) Charset: 31 [ McGhee, Stefano ]
> [6c 05 21 83 32 35 37]
> Calling Number (len= 7) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation allowed of
network provided number (3) '257' ]
> [70 05 80 35 31 33 33]
> Called Number (len= 7) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '5133' ]
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 51/0x33) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 82]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel
Type: 3
<                       Ext: 1  Channel: 2 ]
-- Processing IE 24 (cs0, Channel Identification)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 51/0x33) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 80 d8]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: User (0)
<                  Ext: 1  Cause: Unknown (88), class = Invalid message
(5) ]
-- Processing IE 8 (cs0, Cause)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8)  len=16
> Call Ref: len= 2 (reference 51/0x33) (Originator)
> Message type: RELEASE (77)
> [08 02 81 d8]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Unknown (88), class = Invalid message
(5) ]
> [7e 05 04 d8 1d 15 08]
> User-User Information (len= 7) [ 04 58 1d 15 08 ]
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 51/0x33) (Terminator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
asterisk*CLI>
***************************** END DEBUG OUTPUT ************************

Now, changing on calls to be routed to the Brooktrout to be explicitly
SetTransferCapability(SPEECH) works fine.  However, the default value is
SPEECH and the debug logs bear that out.  NOT setting the value doesn't
work.  Setting SetTransferCapability to DIGITAL and 3K1AUDIO seem to
have the same effect as not setting SetTransferCapability at all.
Oddly, the Info transfer capability I get for DIGITAL and 3K1AUDIO are
the same:  Unrestricted digital information (8).

Anyone have an idea what I might be missing?

Stefano McGhee
Manager of Information Systems
StudentUniverse.com
100 Talcott Avenue East
Watertown, MA, 02472
Email: stefano.mcghee at studentuniverse.com
Tel: 617.321.3257

StudentUniverse.com
Students Fly Cheaper





 



More information about the asterisk-users mailing list