[Asterisk-video] h324m outbound call - no user information layer 1 in bearer

Dawid dhns at poczta.fm
Tue Feb 23 09:00:36 CST 2010


I got problem with outbound video calls. There is no 'user information 
layer 1' centent in Bearer Capability header, but i know that should be 
something like this: 'User information layer 1: H.223/H.245 Multimedia 
(38)'.
The LLC header is unnecessary becouse my GSM operator supports only 
Bearer. Incoming 3g calls working great.

I've got Asterisk 1.4.22 with llc path, llc patched libpri and Sangoma 
A104d QUAD T1/E1 AFT card.


My extensions.conf:

[from-local]
exten => _X.,1,h324m_call(${EXTEN}@3Gout)

[3Gout]
exten => _X.,1,Set(CHANNEL(transfercapability)=VIDEO)
exten => _X.,2,NoOp(transfer=${CHANNEL(transfercapability)})
exten => _X.,3,Set(CHANNEL(userinformationlayer1)=38)
exten => _X.,4,NoOp(ul1=${CHANNEL(userinformationlayer1)})
exten => _X.,5,Dial(Zap/g0/${EXTEN})

[from-pstn]
exten => _X.,1,h324m_gw(${EXTEN}@video)

[video]
exten => _X.,1,Dial(SIP/${EXTEN})


CLI messages:

e1-1*CLI> 
 

     -- Executing [534543545 at from-sip:1] 
h324m_call("SIP/21222212-08286f90", "534543545 at 3Gout") in new stack 

     -- Executing [534543545 at 3Gout:1] 
Set("Local/534543545 at 3Gout-8419,2", "CHANNEL(transfercapability)=VIDEO") 
in new stack
     -- Executing [534543545 at 3Gout:2] 
NoOp("Local/534543545 at 3Gout-8419,2", "transfer=VIDEO") in new stack 

     -- Executing [534543545 at 3Gout:3] 
Set("Local/534543545 at 3Gout-8419,2", "CHANNEL(userinformationlayer1)=38") 
in new stack
     -- Executing [534543545 at 3Gout:4] 
NoOp("Local/534543545 at 3Gout-8419,2", "ul1=38") in new stack 

     -- Executing [534543545 at 3Gout:5] 
Dial("Local/534543545 at 3Gout-8419,2", "Zap/g0/534543545") in new stack 

-- Making new call for cr 32773 
 

     -- digital call, setting user information layer 1 to 38 (0x26) 
 

     -- dahdi call: h324musellc=0, ast->userinformationlayer1=38 
 

     -- Requested transfer capability: 0x18 - VIDEO 
 

 > Protocol Discriminator: Q.931 (8)  len=40 
 

 > Call Ref: len= 2 (reference 5/0x5) (Originator) 
 

 > Message type: SETUP (5) 
 

 > [04 02 88 90]I> 
 

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

 > [18 03 a9 83 81] 
 

 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0 
Exclusive  Dchan: 0 

 >                        ChanSel: As indicated in following octets 
 

 >                       Ext: 1  Coding: 0  Number Specified  Channel 
Type: 3 

 >                       Ext: 1  Channel: 1 ] 
 

 > [6c 0b 21 80 37 32 39 31 30 36 33 36 36] 
 

 > Calling Number (len=13) [ Ext: 0  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1) 

 >                           Presentation: Presentation permitted, user 
number not screened (0)  '21222212' ] 

 > [70 0a a1 35 33 34 35 34 33 35 34 35] 
 

 > Called Number (len=12) [ Ext: 1  TON: National Number (2)  NPI: 
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '534543545' ] 

 > [a1]e-e1-1*CLI> 
 

 > Sending Complete (len= 1)
q931.c:3326 q931_setup: call 32773 on channel 1 enters state 1 (Call 
Initiated)
     -- Called g0/534543545
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0 
Exclusive  Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
<                       Ext: 1  Channel: 1 ]
-- Processing IE 24 (cs0, Channel Identification)
q931.c:3883 q931_receive: call 32773 on channel 1 enters state 3 
(Outgoing call  Proceeding)
     -- Zap/1-1 is proceeding passing it to Local/534543545 at 3Gout-8419,2
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message type: DISCONNECT (69)


e1-1*CLI> dahdi show channel 1
Channel: 1-1*CLI>
File Descriptor: 15
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID: 732343433
Calling TON: 33
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: ISDN PRI
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 0 taps unless TDM bridged, currently OFF
PRI Flags:
PRI Logical Span: Implicit
H324M Signalling: use 'Bearer Capability' IE
Hookstate (FXS only): Onhook


----------------------------------------------------------------------
Codziennie 11 tys. ofert pracy
Sprawdz >>> http://link.interia.pl/f25ac




More information about the asterisk-video mailing list