[Home]

Summary:ASTERISK-00696: New DSP routines cause SIP fax problems
Reporter:sbingner (sbingner)Labels:
Date Opened:2003-12-23 01:11:45.000-0600Date Closed:2011-06-07 14:00:36
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When dialing out of my Zap/1 interface from an ATA186 using SIP, it attempts to redirect to the nonexistant 'fax' extension and hangs.  It then ties up the Zap channel that was tried to call out of, until I kill -9 asterisk.

Uncommenting "#define OLD_DSP_ROUTINES" in dsp.c removes this problem.

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

   -- Executing Dial("SIP/user-9d03", "Zap/g0/BYEXTENSION") in new stack
   -- Called g0/6279811
   -- Zap/1-1 answered SIP/grace-9d03
   -- Redirecting Zap/1-1 to fax extension
agiel*CLI> show channels
       Channel  (Context    Extension    Pri )   State Appl.         Data          
AsyncGoto/Zap/1-1  (aaats      fax          1   )      Up (None)        (None)        
       Zap/1-1  (aaats      s            1   )      Up Bridged Call  SIP/user-903d
SIP/grace-903d  (user      6279811      1   )      Up Dial          Zap/g0/BYEXTENSION


I also did not seem to get this error when I forced the call to go out Zap/2 instead of Zap/1
Comments:By: sbingner (sbingner) 2003-12-23 01:15:28.000-0600

Note: numbers are different because I had restarted * between the two captures, but the behavior was the same for both calls

By: Brian West (bkw918) 2003-12-23 16:54:02.000-0600

Also do not use BYEXTENSION

By: sbingner (sbingner) 2003-12-23 17:39:43.000-0600

I had tested by using the actual number, and it had the same problems.  I'll update my config tho ;)

By: Brian West (bkw918) 2003-12-23 17:42:32.000-0600

Srange.. I'm not seeing the same problem.

By: zoa (zoa) 2003-12-23 17:54:31.000-0600

using iax2 to make a zaptel call to my cell phone:
-- Making new call for cr 32770
> Protocol Discriminator: Q.931 (8)  len=34
> Call Ref: len= 2 (reference 2/0x2) (Originator)
> Message type: SETUP (5)
> Bearer Capability (len= 3) [ 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)
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
>                       Ext: 1  Channel: 1 ]
> Calling Number (len= 4) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)
>                           Presentation: Unknown (67) '' ]
> Called Number (len=14) [ Ext: 1  TON: International Number (1)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '32485397745' ]
> Sending Complete (len= 0)
   -- Called g1/32485397745
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 32770/0x8002) (Terminator)
< Message type: CALL PROCEEDING (2)
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
<                       Ext: 1  Channel: 1 ]
-- Processing IE 24 (Channel Identification)

NOTICE[17426]: File chan_zap.c, Line 3562 (zt_read): Fax detected, but no fax extension



WTF ? :)

By: sbingner (sbingner) 2003-12-26 18:00:51.000-0600

I just had it happen again with the old DSP modules, but it wasnt until I'd been on hold for like 5 minutes this time... is there any debugging I should be watching? -- here's what happened:


   -- Executing Dial("SIP/grace-5ef4", "Zap/g0/18886429675") in new stack
   -- Called g0/18886429675
   -- Zap/1-1 answered SIP/grace-5ef4
   -- Redirecting Zap/1-1 to fax extension
agiel*CLI> show channels
       Channel  (Context    Extension    Pri )   State Appl.         Data          
AsyncGoto/Zap/1-1  (aaats      fax          1   )      Up (None)        (None)        
       Zap/1-1  (aaats      s            1   )      Up Bridged Call  SIP/grace-5ef4
SIP/grace-5ef4  (grace      18886429675  1   )      Up Dial          Zap/g0/18886429675
3 active channel(s)
agiel*CLI> soft hangup SIP/grace-5ef4
agiel*CLI> soft hangup Zap/1-1
Requested Hangup on channel 'SIP/grace-5ef4'
agiel*CLI> show channels
       Channel  (Context    Extension    Pri )   State Appl.         Data          
AsyncGoto/Zap/1-1  (aaats      fax          1   )      Up (None)        (None)        
       Zap/1-1  (aaats      s            1   )      Up Bridged Call  SIP/grace-5ef4
SIP/grace-5ef4  (grace      18886429675  1   )      Up Dial          Zap/g0/18886429675
3 active channel(s)
agiel*CLI> show channels
       Channel  (Context    Extension    Pri )   State Appl.         Data          
AsyncGoto/Zap/1-1  (aaats      fax          1   )      Up (None)        (None)        
       Zap/1-1  (aaats      s            1   )      Up Bridged Call  SIP/grace-5ef4
SIP/grace-5ef4  (grace      18886429675  1   )      Up Dial          Zap/g0/18886429675
3 active channel(s)
agiel*CLI> stop now
agiel*CLI>
agiel*CLI> exit

By: Brian West (bkw918) 2004-01-02 14:00:21.000-0600

This is related to bug 0000696

edited on: 01-02-04 13:47

By: sbingner (sbingner) 2004-01-05 23:27:40.000-0600

I have a fax extension on ANOTHER context, could it be that * is not checking if fax exists in current context, but rather if exten=>fax exists at all?

By: Brian West (bkw918) 2004-01-07 00:17:06.000-0600

please refer to bug 740 same issue