[asterisk-bugs] [Asterisk 0013354]: IAX variable feature does not work

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 29 03:15:54 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13354 
====================================================================== 
Reported By:                adomjan
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13354
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 139216 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-21 08:08 CDT
Last Modified:              2008-08-29 03:15 CDT
====================================================================== 
Summary:                    IAX variable feature does not work
Description: 
[Aug 21 15:06:29]     -- Executing [3622622223 at select_route:22]
Set("SIP/teszt-3622622222-11624170", "IAXVAR(foo)=1234") in new stack
[Aug 21 15:06:29]     -- Executing [3622622223 at select_route:23]
Dial("SIP/teszt-3622622222-11624170",
"IAX2/ssp02/3622622223 at our-users-internal,90,L(150000:5000)g") in new
stack
[Aug 21 15:06:29]     -- Limit Data for this call:
[Aug 21 15:06:29]     -- Called ssp02/3622622223 at our-users-internal
[Aug 21 15:06:29] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX
    Subclass: NEW    
[Aug 21 15:06:29]    Timestamp: 00018ms  SCall: 08750  DCall: 00000
[87.242.0.15:4569]
[Aug 21 15:06:29]    VERSION         : 2
[Aug 21 15:06:29]    CALLED NUMBER   : 3622622223
[Aug 21 15:06:29]    CODEC_PREFS     : (alaw)
[Aug 21 15:06:29]    CALLING NUMBER  : 3622622222
[Aug 21 15:06:29]    CALLING PRESNTN : 3
[Aug 21 15:06:29]    CALLING TYPEOFN : 0
[Aug 21 15:06:29]    CALLING TRANSIT : 0
[Aug 21 15:06:29]    CALLING NAME    : Teszt
[Aug 21 15:06:29]    LANGUAGE        : hu
[Aug 21 15:06:29]    CALLED CONTEXT  : our-users-internal
[Aug 21 15:06:29]    FORMAT          : 8
[Aug 21 15:06:29]    CAPABILITY      : 24584
[Aug 21 15:06:29]    ADSICPE         : 2
[Aug 21 15:06:29]    DATE TIME       : 2008-08-21  15:06:28
[Aug 21 15:06:29] 

====================================================================== 

---------------------------------------------------------------------- 
 (0091885) adomjan (reporter) - 2008-08-29 03:15
 http://bugs.digium.com/view.php?id=13354#c91885 
---------------------------------------------------------------------- 
I tryed apply this patch for asterisk-1.6.0 but failed:
patching file channels/chan_iax2.c
Hunk http://bugs.digium.com/view.php?id=1 succeeded at 628 (offset -27 lines).
Hunk http://bugs.digium.com/view.php?id=2 succeeded at 3712 (offset -33 lines).
Hunk http://bugs.digium.com/view.php?id=3 succeeded at 4167 (offset -89 lines).
Hunk http://bugs.digium.com/view.php?id=4 FAILED at 8289.
Hunk http://bugs.digium.com/view.php?id=5 FAILED at 8312.
Hunk http://bugs.digium.com/view.php?id=6 FAILED at 8341.
Hunk http://bugs.digium.com/view.php?id=7 succeeded at 8486 (offset 1 line).
Hunk http://bugs.digium.com/view.php?id=8 succeeded at 9124 (offset -94 lines).
Hunk http://bugs.digium.com/view.php?id=9 FAILED at 9185.
Hunk http://bugs.digium.com/view.php?id=10 succeeded at 9519 (offset -78 lines).
4 out of 10 hunks FAILED -- saving rejects to file
channels/chan_iax2.c.rej
patching file channels/iax2-parser.c
Hunk http://bugs.digium.com/view.php?id=1 FAILED at 923.
1 out of 1 hunk FAILED -- saving rejects to file
channels/iax2-parser.c.rej

I tryed to apply patch manualy, but failed, you are using the
ast_datastore_alloc function which is not available in the 1.6.0 only in
the trunk. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-29 03:15 adomjan        Note Added: 0091885                          
======================================================================




More information about the asterisk-bugs mailing list