Hi!

I've got asterisk 1.2.7.1 with visdn patch 662 and when I try to dial with visdn using a HFC-S it works depending on the phone. If I use a Grandstream BT-102 it works, but when I use a Nokia E61 I get the
trace appended.
The strange thing is, the SIP phone is indicating a ring from the moment the warnings about indication are
displayed, and keeps ringing for about 30 sec.

I also have a separate question, is it possible to use a specific channel with BRI cards in asterisk? The same way I would use ZAP/1 for the first channel and check if that channel is available.

   -- Executing Dial("SIP/104-c807", "VISDN/visdn0/107") in new stack
   -- Calling visdn0 on VISDN/null
   -- Calling on interface 'visdn0'
q931 visdn0:TEI[0]: call.c:305 GET (1 => 2)
q931 visdn0:TEI[0]: call.c:306 HOLD (2 => 3)
q931 visdn0:TEI[0]: DLC autorelease timer stopped
q931 visdn0:CALL[102.O]: call.c:311 GET (1 => 2)
q931 visdn0:CALL[102.O]: chan_visdn.c:805 GET (2 => 3)
q931 visdn0:CALL[102.O]: chan_visdn.c:340 GET (3 => 4)
q931 visdn0:CALL[102.O]: SETUP-REQ
q931 visdn0:TEI[0]: message.c:64 GET (2 => 3)
q931 visdn0:CALL[102.O]: Sending message:
q931 ->  message type: SETUP (5)
q931 ->  VL IE 0 ===> 4 (Bearer Capability) -- length 3
q931 ->    Coding Standard = CCITT (0)
q931 ->    Information Transfer Capability = Speech (0)
q931 ->    Transfer mode = Circuit (0)
q931 ->    Information Transfer Rate = 64 kbps (16)
q931 ->    User information layer 1 protocol = g.711 a-law (3)
q931 ->  VL IE 1 ===> 108 (Calling Party Number) -- length 5
q931 ->    Type of number = Unknown (0)
q931 ->    Numbering plan = Unknown (0)
q931 ->    Presentation indicator = Presentation allowed (0)
q931 ->    Screening indicator = User provided, not screened (0)
q931 ->    Number = 104
q931 ->  VL IE 2 ===> 112 (Called Party Number) -- length 4
q931 ->    Type of number = Unknown (0)
q931 ->    Numbering plan = Unknown (0)
q931 ->    Number = 107
q931 ->  VL IE 3 ===> 125 (High Layer Compatibility) -- length 2
q931 ->    Coding standard = CCITT (0)
q931 ->    Characteristics identification = Telephony (1)
q931 ->  SO IE 4 ===> 161 (Sending Complete)
q931
q931 visdn0:TEI[0]: DLC is disconnected, requesting connection
q931 visdn0:TEI[0]: DLC is awaiting connection: message queued
q931 visdn0:CALL[102.O]: call.c:392 GET (4 => 5)
q931 visdn0:CALL[102.O]: call.c:1900 Timer T303 started
q931 visdn0:CALL[102.O]: U0_NULL_STATE ==to==> U1_CALL_INITIATED
q931 visdn0:CALL[102.O]: chan_visdn.c:2234 PUT (5 => 4)
   -- set timeout = 5000
q931 visdn0:CALL[102.O]: chan_visdn.c:940 PUT (4 => 3)
   -- Called visdn0/107
   -- visdn0: MPH-ERROR-INDICATION: 1
   -- set timeout = 4823
   -- visdn0: MPH-ACTIVATE-INDICATION
   -- set timeout = 4763
   -- visdn0: MPH-ERROR-INDICATION: 2
   -- set timeout = 4763
q931 visdn0:TEI[0]: DL-ESTABLISH-CONFIRM
q931 visdn0:CALL[102.O]: input.c:57 GET (3 => 4)
q931 visdn0:CALL[102.O]: input.c:69 PUT (4 => 3)
q931 visdn0:TEI[0]: Releasing message
q931 visdn0:TEI[0]: message.c:44 PUT (3 => 2)
q931 visdn0:TEI[0]: input.c:75 HOLD (2 => 3)
q931 Releasing message
   -- set timeout = 4748
q931 visdn0:TEI[0]: input.c:931 GET (2 => 3)
q931 visdn0:TEI[0]: Received message:
q931 <-  call reference = 102.O (len 1)
q931 <-  message_type = CALL PROCEEDING (2)
q931 visdn0:CALL[102.O]: call.c:420 GET (3 => 4)
q931 visdn0:CALL[102.O]: Got CALL PROCEEDING
q931 <-  VL IE 1 ===> 24 (Channel Identification) length=(1)
q931 <-    Interface id = Implicit (0)
q931 <-    Interface type = Basic (0)
q931 <-    Pref/Excl = Exclusive (1)
q931 <-    D channel ident = Is not D channel (0)
q931 <-    Coding standard = CCITT (0)
q931 <-    Channels = B1
q931 visdn0:CALL[102.O]: call.c:404 PUT (4 => 3)
q931 visdn0:CALL[102.O]: call.c:3865 Timer T303 stopped
q931 visdn0:CALL[102.O]: No channel proposed in setup, using indicated channel B1
q931 visdn0[B1]: changed state from AVAILABLE to SELECTED
q931 visdn0:CALL[102.O]: U1_CALL_INITIATED ==to==> U3_OUTGOING_CALL_PROCEEDING
q931 visdn0[B1]: changed state from SELECTED to CONNECTED
q931 visdn0:CALL[102.O]: chan_visdn.c:374 GET (3 => 4)
q931
q931 visdn0:CALL[102.O]: input.c:1210 PUT (4 => 3)
q931 visdn0:TEI[0]: Releasing message
q931 visdn0:TEI[0]: message.c:44 PUT (3 => 2)
   -- set timeout = -1
   -- visdn_q931_connect_channel
   -- Connecting streamport 000032 to chan 000002
   -- visdn_q931_proceeding_indication
q931 visdn0:CALL[102.O]: chan_visdn.c:4368 PUT (3 => 2)
   -- set timeout = -1
   -- VISDN/visdn0/102.O is proceeding passing it to SIP/104-c807
q931 visdn0:TEI[0]: input.c:931 GET (2 => 3)
q931 visdn0:TEI[0]: Received message:
q931 <-  call reference = 102.O (len 1)
q931 <-  message_type = DISCONNECT (69)
q931 visdn0:CALL[102.O]: call.c:420 GET (2 => 3)
q931 visdn0:CALL[102.O]: Got DISCONNECT
q931 <-  VL IE 1 ===> 8 (Cause) length=(2)
q931 <-    Coding standard = CCITT (0)
q931 <-    Location = User (0)
q931 <-    Cause value = Unallocated (1)
q931 <-  VL IE 2 ===> 30 (Progress Indicator) length=(2)
q931 <-    Coding standard = CCITT (0)
q931 <-    Location = Public network serving local user (2)
q931 <- Description = In-band information or appropriate pattern now available (8)
q931 <-  VL IE 3 ===> 30 (Progress Indicator) length=(2)
q931 <-    Coding standard = CCITT (0)
q931 <-    Location = Public network serving local user (2)
q931 <-    Description = Destination address is non-ISDN (2)
q931 visdn0:CALL[102.O]: U3_OUTGOING_CALL_PROCEEDING ==to==> U12_DISCONNECT_INDICATION
q931 visdn0:CALL[102.O]: chan_visdn.c:374 GET (3 => 4)
q931
q931 visdn0:CALL[102.O]: input.c:1210 PUT (4 => 3)
q931 visdn0:TEI[0]: Releasing message
q931 visdn0:TEI[0]: message.c:44 PUT (3 => 2)
   -- set timeout = -1
   -- visdn_q931_disconnect_indication
   -- In-band informations available
q931 visdn0:CALL[102.O]: chan_visdn.c:4368 PUT (3 => 2)
   -- set timeout = -1
   -- Inband information available
May 22 10:07:30 WARNING[12148]: chan_sip.c:2721 sip_indicate: Don't know how to indicate condition 42 May 22 10:07:30 WARNING[12148]: channel.c:2049 ast_indicate: Unable to handle indication 42 for 'SIP/104-c807'
   -- Call disconnected
May 22 10:07:30 WARNING[12148]: chan_sip.c:2721 sip_indicate: Don't know how to indicate condition 43 May 22 10:07:30 WARNING[12148]: channel.c:2049 ast_indicate: Unable to handle indication 43 for 'SIP/104-c807'
q931 visdn0:TEI[0]: input.c:931 GET (2 => 3)
q931 visdn0:TEI[0]: Received message:
q931 <-  call reference = 102.O (len 1)
q931 <-  message_type = RELEASE (77)
q931 visdn0:CALL[102.O]: call.c:420 GET (2 => 3)
q931 visdn0:CALL[102.O]: Got RELEASE
q931 <-  VL IE 1 ===> 8 (Cause) length=(2)
q931 <-    Coding standard = CCITT (0)
q931 <-    Location = User (0)
q931 <-    Cause value = Unallocated (1)
q931 visdn0[B1]: changed state from CONNECTED to AVAILABLE
q931 visdn0:TEI[0]: message.c:64 GET (3 => 4)
q931 visdn0:CALL[102.O]: Sending message:
q931 ->  message type: RELEASE COMPLETE (90)
q931
q931 visdn0:TEI[0]: Releasing message
q931 visdn0:TEI[0]: message.c:44 PUT (4 => 3)
q931 visdn0:CALL[102.O]: U12_DISCONNECT_INDICATION ==to==> U0_NULL_STATE
q931 visdn0:CALL[102.O]: call.c:372 PUT (3 => 2)
q931 visdn0:CALL[102.O]: chan_visdn.c:374 GET (2 => 3)
q931
q931 visdn0:CALL[102.O]: input.c:1210 PUT (3 => 2)
q931 visdn0:TEI[0]: Releasing message
q931 visdn0:TEI[0]: message.c:44 PUT (3 => 2)
   -- set timeout = -1
   -- visdn_q931_disconnect_channel
   -- visdn_q931_release_indication
q931 visdn0:CALL[102.O]: chan_visdn.c:4368 PUT (2 => 1)
   -- set timeout = -1
   -- visdn_hangup VISDN/visdn0/102.O
q931 visdn0:CALL[102.O]: chan_visdn.c:1852 PUT (1 => 0)
q931 visdn0:CALL[102.O]: Freeing call
q931 visdn0:TEI[0]: DLC autorelease timer started
q931 visdn0:TEI[0]: call.c:360 PUT (2 => 1)
   -- set timeout = 9999
   -- visdn_hangup VISDN/visdn0/102.O DONE
 == Everyone is busy/congested at this time (1:0/0/1)
 == Auto fallthrough, channel 'SIP/104-c807' status is 'CHANUNAVAIL'
q931 visdn0:TEI[0]: DLC autorelease timer fired
   -- set timeout = -1
q931 visdn0:TEI[0]: DL-RELEASE-CONFIRM
q931 Releasing message
   -- set timeout = -1
   -- visdn0: MPH-DEACTIVATE-INDICATION
   -- set timeout = -1


_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to