[asterisk-dev] Passing video calls / bearer capability thru PRI / How to add?

Bruno.Voigt at ic3s.de Bruno.Voigt at ic3s.de
Thu Jan 18 15:13:04 MST 2007


Hi all,

using latest asterisk-svn
I want to reflect an video call incoming via an PRI EuroISDN channel
to another outgoing PRI channel,
and I want the the outgoing channel to have the exact same
bearer capability "User information layer 1: G.7xx 384k Video (38)"

< Bearer Capability (len= 5)
< [ Ext: 1  Q.931 Std: 0  Info transfer capability: Unrestricted digital 
information (8)
<   Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
<   Ext: 1  User information layer 1: G.7xx 384k Video (38)

unfortunately using a simple extension like
  exten => 445,1,Dial(${TRUNK}/04109555502)
it is truncated to

> 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)

Where may I adjust/jump in to the source code to
have the Ext: 1  User information layer 1 passed thru unmodified ??
Or can it already be archived via configuration?

The transfer capability is already passed thru - but not the user 
information layer 1 :-(

TIA for any hints,
Bruno
---
bruno.voigt at ic3s.de

---
< Protocol Discriminator: Q.931 (8)  len=45
< Call Ref: len= 2 (reference 25914/0x653A) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 88 90 a6]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Unrestricted digital information (8)
<                              Ext: 1  Trans mode/rate: 64kbps, 
circuit-mode (16)
<                              Ext: 1  User information layer 1: G.7xx 
384k Video (38)
< [18 03 a1 83 9d]
< 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: 29 ]
< [6c 0c 21 83 31 37 35 32 36 30 39 36 31 31]
< Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
<                           Presentation: Presentation allowed of network 
provided number (3)  '1752609611' ]
< [70 08 c1 35 35 35 36 34 34 35]
< Called Number (len=10) [ Ext: 1  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '5556445' ]
< [7c 03 88 90 a6]
< IE: Low-layer Compatibility (len = 5)
-- Making new call for cr 25914
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 124 (cs0, Low-layer Compatibility)
q931.c:3294 q931_receive: call 25914 on channel 29 enters state 6 (Call 
Present)
q931.c:2570 q931_call_proceeding: call 25914 on channel 29 enters state 9 
(Incoming Call Proceeding)
> Protocol Discriminator: Q.931 (8)  len=11
> Call Ref: len= 2 (reference 25914/0x653A) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 04 e9 81 83 9d]
> Channel ID (len= 6) [ Ext: 1  IntID: Explicit  PRI  Spare: 0  Exclusive 
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  DS1 Identifier: 1
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 

3
>                       Ext: 1  Channel: 29 ]
    -- Accepting call from '01752609611' to '5556445' on channel 1/29, 
span 1


    -- Executing [445 at external-call:1] Dial("Zap/29-1", 
"Zap/r1/04109555502") in new stack
-- Making new call for cr 32771
    -- Requested transfer capability: 0x08 - DIGITAL
> Protocol Discriminator: Q.931 (8)  len=34
> Call Ref: len= 2 (reference 3/0x3) (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 04 e9 81 83 83]
> Channel ID (len= 6) [ Ext: 1  IntID: Explicit  PRI  Spare: 0  Exclusive 
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  DS1 Identifier: 1
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 

3
>                       Ext: 1  Channel: 3 ]
> [6c 03 41 81 30]
> Calling Number (len= 5) [ Ext: 0  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user 
number passed network screening (1)  '0' ]
> [70 0c c1 30 34 31 30 39 35 35 35 35 30 32]
> Called Number (len=14) [ Ext: 1  TON: Subscriber Number (4)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '04109555502' ]
q931.c:2879 q931_setup: call 32771 on channel 3 enters state 1 (Call 
Initiated)
    -- Called r1/04109555502
--


More information about the asterisk-dev mailing list