[Home]

Summary:ASTERISK-01721: rtptimeout is not right - scary stuff!!!!!
Reporter:scaredycat (scaredycat)Labels:
Date Opened:2004-05-28 15:38:54Date Closed:2011-06-07 14:05:16
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Ok, first up i'll lay out the setup in use:

my * box -> gateway * box -> * box acting as pstn gateway

Phones in use:

Cisco 7940 running POS-06-1-00
DECT phone connected to TDM40B
local PSTN line connected via X100P

rtptimeout set at 15

So,

I make a call that's routed through the local * to gateway * box to the pstn * box from the cisco calling the number that the X100P is attached to...

I answer the call..
I then mute the cisco..
15 seconds later the gateway box says it's hung up it's call

Show channels on the gateway shows no channels
show channels on the pstn box shows my connection
show channels on the local box shows my connection

I'm STILL connected! The call isnt terminated...

Sanitised log in additional information:


****** ADDITIONAL INFORMATION ******


PSTN * server:

  -- Accepting AUTHENTICATED call from <ip-address-of-gateway>, requested format = 4, actual format = 4
   -- Executing SetCallerID("IAX2[xxxxxxxxxxxx-calls@xxxxxxxxxxxx-calls]/2", "yyyyyyyy") in new stack
   -- Executing Dial("IAX2[xxxxxxxxxxxx-calls@xxxxxxxxxxxx-calls]/2", "ZAP/g1/zzzzzzzzzzzzzzzz|120|r") in new stack
   -- Called g1/zzzzzzzzzzzzzzzz
   -- Zap/1-1 is ringing
   -- Zap/1-1 answered IAX2[xxxxxxxxxxxx-calls@xxxxxxxxxxxx-calls]/2


*CLI> show channels


       Channel  (Context    Extension    Pri )   State Appl.         Data
       Zap/1-1  (default    s            1   )      Up Bridged Call  IAX2[xxxxxxxxxxxx-calls@xxxxxxxxxxxx-calls]/2
IAX2[xxxxxxxxxxxx-calls@xxxxxxxxxxxx-calls]/2  (xxxxxxxxxxxx-calls 31320254363  2   )      Up Dial          ZAP/g1/zzzzzzzzzzzzzzzz|120|r
2 active channel(s)


Gateway server:

  -- Hungup 'IAX2[ip-address-of-gateway:4569]/6'
 == Spawn extension (stuff, aaaaaaaaaaa, 5) exited non-zero on 'IAX2[blibble@blibble]/5'
   -- Hungup 'IAX2[blibble@blibble]/5'


*CLI> show channels
       Channel  (Context    Extension    Pri )   State Appl.         Data
0 active channel(s)



Local Server:

       Channel  (Context    Extension    Pri )   State Appl.         Data
       Zap/2-1  (internal       s            1   )      Up Bridged Call  Zap/1-1
       Zap/1-1  (pstn       s            7   )      Up Dial          ZAP/2|16|tr
IAX2[<ip-address-of-gateway>:4569]/4  (           s            1   )      Up Bridged Call  SIP/2205-9a96
 SIP/2205-9a96  (sip        aaaaaaaa  3   )      Up Dial          IAX2/blah:blah@<ip-address-of-gateway>/bbbbbbbbb@stuff|60
4 active channel(s)
Comments:By: scaredycat (scaredycat) 2004-05-28 20:15:52

ok,

This doesn't appear to be an rtptimeout issue, it was just highlighted by the use of it... more of an IAX2 issue..

*1 -> *2 -> *3  

The call is initiated by 1 routed through 2 to 3, and once 1 is connected to 3 via 2, 2 drops out but the call remains up. It's as if the equivalent of a SIP reinvite took place but with IAX2!

Can someone else with 3 * boxes test this ...

SC

By: scaredycat (scaredycat) 2004-05-28 20:27:27

ok...

notransfer=yes

apparently

it's been a long week....

By: Brian West (bkw918) 2004-05-28 20:36:49

PEBKAC