[Asterisk-Users] Outgoing call: hangup after answer

2005-10-08 Thread Goran Skular



Hi,
 
When we make an 
outgoing call on ISDN (zaphfc) with overlap dialing we get immidiate hangup 
after answer. But when we place a full number before dialing everything is ok. 
Any help appriciated!! Thanks
 
here is info with 
debug:
 
  == Primary 
D-Channel on span 1 up    -- Executing Dial("SIP/200-164c", 
"zap/g1/|100|tc") in new stack-- Making new call for cr 
192    -- Requested transfer capability: 0x00 - 
SPEECH> Protocol Discriminator: Q.931 (8)  len=22> Call Ref: 
len= 1 (reference 64/0x40) (Originator)> Message type: SETUP (5)> 
[04 03 80 90 a3]> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 
0  Info transfer capability: Speech 
(0)>  
Ext: 1  Trans mode/rate: 64kbps, circuit-mode 
(16)>  
Ext: 1  User information layer 1: A-Law (35)> [18 01 81]> 
Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Preferred 
Dchan: 
0>    
ChanSel: B1 
channel 
]> [6c 05 21 80 32 30 30]> Calling Number (len= 7) [ Ext: 0  
TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) 
(1)>   
Presentation: Presentation permitted, user number not screened (0) '200' 
]> [70 01 c1]> Called Number (len= 3) [ Ext: 1  TON: 
Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) 
'' ]    -- Called g1/< Protocol Discriminator: Q.931 
(8)  len=11< Call Ref: len= 1 (reference 192/0xC0) 
(Terminator)< Message type: SETUP ACKNOWLEDGE (13)< [18 01 
89]< Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, 
Exclusive Dchan: 
0<    
ChanSel: B1 
channel 
]< [1e 02 82 88]< Progress Indicator (len= 4) [ Ext: 1  
Coding: CCITT (ITU) standard (0) 0: 0   Location: Public network 
serving the local user 
(2)<   
Ext: 1  Progress Description: Inband information or appropriate pattern now 
available. (8) ]-- Processing IE 24 (cs0, Channel Identification)-- 
Processing IE 30 (cs0, Progress Indicator)> Protocol Discriminator: Q.931 
(8)  len=8> Call Ref: len= 1 (reference 64/0x40) 
(Originator)> Message type: INFORMATION (123)> [70 02 c1 
39]> Called Number (len= 4) [ Ext: 1  TON: Subscriber Number 
(4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '9' ]> 
Protocol Discriminator: Q.931 (8)  len=8> Call Ref: len= 1 
(reference 64/0x40) (Originator)> Message type: INFORMATION (123)> 
[70 02 c1 35]> Called Number (len= 4) [ Ext: 1  TON: Subscriber 
Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '5' 
]< Protocol Discriminator: Q.931 (8)  len=4< Call Ref: len= 1 
(reference 192/0xC0) (Terminator)< Message type: CALL PROCEEDING 
(2)    -- Zap/1-1 is making progress passing it to 
SIP/200-164c< Protocol Discriminator: Q.931 (8)  len=12< Call 
Ref: len= 1 (reference 192/0xC0) (Terminator)< Message type: ALERTING 
(1)< [1e 02 84 88]< Progress Indicator (len= 4) [ Ext: 1  
Coding: CCITT (ITU) standard (0) 0: 0   Location: Public network 
serving the remote user 
(4)<   
Ext: 1  Progress Description: Inband information or appropriate pattern now 
available. (8) ]< [1e 02 84 82]< Progress Indicator (len= 4) [ 
Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Public 
network serving the remote user 
(4)<   
Ext: 1  Progress Description: Called equipment is non-ISDN. (2) ]-- 
Processing IE 30 (cs0, Progress Indicator)-- Processing IE 30 (cs0, Progress 
Indicator)
 
    -- Zap/1-1 is ringing, hanging 
up.
 
 
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Delivered, 
peerstate Call Received> Protocol Discriminator: Q.931 (8)  
len=8> Call Ref: len= 1 (reference 64/0x40) (Originator)> Message 
type: DISCONNECT (69)> [08 02 81 90]> Cause (len= 4) [ Ext: 
1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private 
network serving the local user 
(1)>  
Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) 
]    -- Hungup 'Zap/1-1'< Protocol Discriminator: 
Q.931 (8)  len=4< Call Ref: len= 1 (reference 192/0xC0) 
(Terminator)< Message type: RELEASE (77)NEW_HANGUP DEBUG: Calling 
q931_hangup, ourstate Null, peerstate Release Request> Protocol 
Discriminator: Q.931 (8)  len=8> Call Ref: len= 1 (reference 
64/0x40) (Originator)> Message type: RELEASE COMPLETE (90)> [08 02 
81 90]> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 
0   Location: Private network serving the local user 
(1)>  
Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) 
]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate 
NullNEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate 
Null    -- Executing Macro("SIP/200-164c", "hangupcall") in 
new stack    -- Executing ResetCDR("SIP/200-164c", "w") in 
new stack    -- Executing NoCDR("SIP/200-164c", "") in new 
stack    -- Executing Wait("SIP/200-164c", "5") in new 
stack  == Spawn extension (macro-hangup

[Asterisk-Users] Outgoing call: hangup after answer

2005-10-12 Thread Goran Skular










For your information.. if someone get in
the same trouble.. problem is solved, but not with the software…

 

We just changed our BRI NT device with a
different one.. from now on it works very well…

 

We had Elcon NT1+2a/b and now it is
replaced with Santis ISDN NT1+2ab

 

Here is pri debug:



 

 

 

-- Making new call for cr 143

    -- Requested transfer
capability: 0x00 - SPEECH

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

> Call Ref: len= 1 (reference 15/0xF)
(Originator)

> Message type: SETUP (5)

> [04 03 80 90 a3]

> Bearer Capability (len= 5) [ Ext:
1  Q.931 Std: 0  Info transfer capability: Speech (0)

> 
Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)

> 
Ext: 1  User information layer 1: A-Law (35)

> [18 01 81]

> Channel ID (len= 3) [ Ext: 1 
IntID: Implicit, Other Spare: 0, Preferred Dchan: 0

>   
ChanSel: B1 channel


]

> [6c 05 21 80 32 30 30]

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

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

> [70 01 c1]

> Called Number (len= 3) [ Ext: 1 
TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan
(E.164/E.163) (1) '' ]

    -- Called g1/

< Protocol Discriminator: Q.931
(8)  len=11

< Call Ref: len= 1 (reference 143/0x8F)
(Terminator)

< Message type: SETUP ACKNOWLEDGE (13)

< [18 01 89]

< Channel ID (len= 3) [ Ext: 1 
IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0

<   
ChanSel: B1 channel


]

< [1e 02 82 88]

< Progress Indicator (len= 4) [ Ext:
1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Public
network serving the local user (2)

<  
Ext: 1  Progress Description: Inband information or appropriate pattern
now available. (8) ]

-- Processing IE 24 (cs0, Channel
Identification)

-- Processing IE 30 (cs0, Progress
Indicator)

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

> Call Ref: len= 1 (reference 15/0xF)
(Originator)

> Message type: INFORMATION (123)

> [70 02 c1 30]

> Called Number (len= 4) [ Ext: 1 
TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan
(E.164/E.163) (1) '0' ]

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

> Call Ref: len= 1 (reference 15/0xF)
(Originator)

> Message type: INFORMATION (123)

> [70 02 c1 39]

 

…

 

> Called Number (len= 4) [ Ext: 1 
TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan
(E.164/E.163) (1) '0' ]

< Protocol Discriminator: Q.931
(8)  len=4

< Call Ref: len= 1 (reference 143/0x8F)
(Terminator)

< Message type: CALL PROCEEDING (2)

    -- Zap/1-1 is making
progress passing it to SIP/200-7b76

< Protocol Discriminator: Q.931
(8)  len=8

< Call Ref: len= 1 (reference 143/0x8F)
(Terminator)

< Message type: ALERTING (1)

< [1e 02 84 88]

< Progress Indicator (len= 4) [ Ext:
1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Public
network serving the remote user (4)

<  
Ext: 1  Progress Description: Inband information or appropriate pattern
now available. (8) ]

-- Processing IE 30 (cs0, Progress
Indicator)

 

n  
Zap/1-1 is ringing

 

 

NEW_HANGUP DEBUG: Calling q931_hangup,
ourstate Call Delivered, peerstate Call Received

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

> Call Ref: len= 1 (reference 15/0xF)
(Originator)

> Message type: DISCONNECT (69)

> [08 02 81 90]

> Cause (len= 4) [ Ext: 1  Coding:
CCITT (ITU) standard (0) 0: 0   Location: Private network serving the
local user (1)

> 
Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]

    -- Hungup 'Zap/1-1'

 

 





Hi,





 





When we make an outgoing call on ISDN (zaphfc) with overlap dialing
we get immidiate hangup after answer. But when we place a full number before
dialing everything is ok. Any help appriciated!! Thanks





 





here is info with debug:





 

…

 





< [1e 02 84 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard
(0) 0: 0   Location: Public network serving the remote user (4)
<  
Ext: 1  Progress Description: Inband information or appropriate pattern
now available. (8) ]
< [1e 02 84 82]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard
(0) 0: 0   Location: Public network serving the remote user (4)
<  
Ext: 1  Progress Description: Called equipment is non-ISDN. (2) ]
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 30 (cs0, Progress Indicator)






 





    -- Zap/1-1 is ringing, hanging up.





 





 






NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Delivered, peerstate Call
Received
> Protocol Discriminator: Q.931 (8)  len=8
> Call Ref: len= 1 (reference 64/0x40) (Originator)
> Message type: DISCONNECT (69)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (