[Asterisk-video] h324m video on Sangoma E1 problem

Klaus Darilion klaus.mailinglists at pernau.at
Tue Oct 27 05:20:49 CDT 2009



dhns at poczta.fm schrieb:
> I got problems to get incoming/outgoing video 3G calls working with
> Asterisk.
> 
> My stuff:
> asterisk 1.4.19.2 with app_h324m and amr codec,
> Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card
> EuroISDN E1 PRI trunk
> Wanrouter WANPIPE Release: 3.5.6
> Zaptel channel module.
> 
> Audio calls from Nokia E51 to Asterisk works great but I can't make video
> call via h324m_gw and h324m_loopback. Its seems to be connected but only

IIRC you should not use both of them, either use only h324m_loopback or 
use h324_m and the Echo() application.

> with 'waiting for video' message on phone display and then no audio.
> Softphone is sending audio (g711) and video (tried h263 or h263+) RTPs to

Are you using loopback or not? Loopback means, that everything is looped 
back (like Echo(), dialplan execution stops).

> asterisk. PRI signalization seems to be ok. I tried many different codecs and extensions dialplans.
> Anyone tried that configuration with success?
> 
> 
> my extesnions.conf :
> 
> [from-pstn]
> ;exten => _X.,1,Set(CHANNEL(transfercapability)=VIDEO)
> ;exten => _X.,1,Answer
> ;exten => _X.,1,h324m_loopback()
> exten => _X.,1,h324m_gw(${EXTEN}@video)
> 
> [video]
> ;exten => _X.,1,Answer
> ;exten => _X.,1,Set(CHANNEL(transfercapability)=VIDEO)
> ;exten => _X.,1,Set(CHANNEL(userinformationlayer1)=38)
> exten => _X.,1,Dial(SIP/${EXTEN})

That should work. Maybe there is a timing problem with your handset. 
There was a fix suggested some time ago:

     Turns out that increasing the retransmit delay
     from 20 to 2000 in H324CCSRLayer::GetNextPdu seems
     to have resolved the problem.

You should try this.

regards
klaus


> 
> 
> PRI span debug :
> 
> < Protocol Discriminator: Q.931 (8)  len=41
> < Call Ref: len= 2 (reference 12/0xC) (Originator)
> < Message type: SETUP (5)                         
> < [a1]*CLI>                                 
> < 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)                                  
> <                                User information layer 1: H.223/H.245
> Multimedia (38)                             
> < [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 83 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 allowed of network
> provided number (3)  '72xxxxxxx' ]       
> < [70 0a c1 37 32 39 31 30 36 33 36 36]                                   
>                                         
> < Called Number (len=12) [ Ext: 1  TON: Subscriber Number (4)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '72xxxxxxx' ]
> -- Making new call for cr 12                                              
>                                                        
> -- 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)                           
>                                                        
> q931.c:3551 q931_receive: call 12 on channel 1 enters state 6 (Call
> Present)                                                      
> q931.c:2816 q931_call_proceeding: call 12 on channel 1 enters state 9
> (Incoming Call Proceeding)                                  
>> Protocol Discriminator: Q.931 (8)  len=10                               
>                                                        
>> Call Ref: len= 2 (reference 12/0xC) (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 ]                              
>                                                        
> q931.c:2844 q931_alerting: call 12 on channel 1 enters state 7 (Call
> Received)
>> Protocol Discriminator: Q.931 (8)  len=5
>> Call Ref: len= 2 (reference 12/0xC) (Terminator)
>> Message type: ALERTING (1)
> q931.c:2951 q931_connect: call 12 on channel 1 enters state 8 (Connect
> Request)
>> Protocol Discriminator: Q.931 (8)  len=10
>> Call Ref: len= 2 (reference 12/0xC) (Terminator)
>> Message type: CONNECT (7)
>> [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 ]
> < Protocol Discriminator: Q.931 (8)  len=5
> < Call Ref: len= 2 (reference 12/0xC) (Originator)
> < Message type: CONNECT ACKNOWLEDGE (15)
> q931.c:3711 q931_receive: call 12 on channel 1 enters state 10 (Active)
> [Oct 20 14:12:57] NOTICE[3062]: chan_sip.c:15011 handle_request_subscribe:
> Received SIP subscribe for peer without mailbox: 72xxxxxxx
> < Protocol Discriminator: Q.931 (8)  len=9
> < Call Ref: len= 2 (reference 12/0xC) (Originator)
> < Message type: DISCONNECT (69)
> < [08 02 82 90]
> < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
> Location: Public network serving the local user (2)
> <                  Ext: 1  Cause: Normal Clearing (16), class = Normal
> Event (1) ]
> -- Processing IE 8 (cs0, Cause)
> q931.c:3826 q931_receive: call 12 on channel 1 enters state 12 (Disconnect
> Indication)
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
> peerstate Disconnect Request
> q931.c:2967 q931_release: call 12 on channel 1 enters state 19 (Release
> Request)
>> Protocol Discriminator: Q.931 (8)  len=9
>> Call Ref: len= 2 (reference 12/0xC) (Terminator)
>> Message type: RELEASE (77)
>> [08 02 81 90]I>
>> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
> Location: Private network serving the local user (1)
>>                  Ext: 1  Cause: Normal Clearing (16), class = Normal
> Event (1) ]
> < Protocol Discriminator: Q.931 (8)  len=5
> < Call Ref: len= 2 (reference 12/0xC) (Originator)
> < Message type: RELEASE COMPLETE (90)
> q931.c:3766 q931_receive: call 12 on channel 1 enters state 0 (Null)
> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
> NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
> 
> 
> ----------------------------------------------------------------------
> Wygraj samoch�d Seat Ibiza lub 50.000 z�!  
> We� udzia� w konkursie >> http://link.interia.pl/f23d7  
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video



More information about the asterisk-video mailing list