[asterisk-bugs] [Asterisk 0013939]: Didn't call UPDATE or INSERT query to database

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 21 01:16:29 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13939 
====================================================================== 
Reported By:                nord
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13939
Category:                   Functions/func_odbc
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-20 06:19 CST
Last Modified:              2008-11-21 01:16 CST
====================================================================== 
Summary:                    Didn't call UPDATE or INSERT query to database
Description: 
writesql like ignored.
Does not work writesql(no any changes in database).
but if you will write : readsql=UPDATE clients SET name='someone'
You will get FETCH ERROR, but changes will be done.
In any case writesql like ignored.

No error, no warrnings....
====================================================================== 

---------------------------------------------------------------------- 
 (0095242) nord (reporter) - 2008-11-21 01:16
 http://bugs.digium.com/view.php?id=13939#c95242 
---------------------------------------------------------------------- 
extensions.conf

[sip_user]
exten => _[0-9].,1,Verbose(${UPD_VALUE(111)})
exten => _[0-9].,2,Dial(SIP/${EXTEN},30,gL(5000:0:0))
exten => _[0-9].,3,Hangup()

console output 

  == Using SIP RTP CoS mark 5
  == Using UDPTL CoS mark 5
    -- Executing [111 at sip_user:1] Verbose("SIP/111-b7da7350", "111") in
new stack
111
switch*CLI>
    -- Executing [111 at sip_user:2] Dial("SIP/111-b7da7350",
"SIP/111,30,gL(5000:0:0)") in new stack
    -- Setting call duration limit to 5.000 seconds.
  == Using SIP RTP CoS mark 5
  == Using UDPTL CoS mark 5
    -- Called 111
    -- SIP/111-082332f0 is ringing
    -- SIP/111-082332f0 answered SIP/111-b7da7350
    -- Native bridging SIP/111-b7da7350 and SIP/111-082332f0
    -- Executing [111 at sip_user:3] Hangup("SIP/111-b7da7350", "") in new
stack
  == Spawn extension (sip_user, 111, 3) exited non-zero on
'SIP/111-b7da7350' 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-21 01:16 nord           Note Added: 0095242                          
======================================================================




More information about the asterisk-bugs mailing list