[asterisk-bugs] [Asterisk 0012417]: Realtime Dial Crash

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 11 09:32:25 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12417 
====================================================================== 
Reported By:                bgitonga
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12417
Category:                   . I did not set the category correctly.
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             04-10-2008 18:51 CDT
Last Modified:              04-11-2008 09:32 CDT
====================================================================== 
Summary:                    Realtime Dial Crash
Description: 
I’m using asterisk realtime with Postgres and UnixODBC.
When you have the trunk defines in realtime, and dial a number, asterisk
crashes, but when you have the trunk defines in sip.conf, it works ok.


For example dialing using the following defined in sip.conf will dial out
ok but the database entry does not work in realtime and causes asterisk to
crash. This works in asterisk-1.4.18 but not asterisk-1.4.19

Exten=> _1NXNNXXXXXX,1,Dial(SIP/${EXTEN}@trunk1|60)


//This Works
[trunk1]
type=friend
username=username
secret=secret
callerid="Name" <NUM>
host=Provider IP
canreinvite=yes
context=context
dtmfmode=rfc2833
disallow=all
allow=ulaw



//This Does not work
INSERT INTO sip_buddies(name,callerid,canreinvite,context,dtmfmode,host,
,type,disallow,allow,username,secret)
VALUES
('trunk1','Name <NUM>','yes','context','rfc2833',’Provider
IP','friend','all','ulaw','username','sectret');

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0012362 Asterisk crashes everytime i try to dia...
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 04-11-08 09:32  
---------------------------------------------------------------------- 
Closing, as this is a duplicate of issue
http://bugs.digium.com/view.php?id=12362, which has been fixed. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-11-08 09:32  putnopvut      Status                   new => resolved     
04-11-08 09:32  putnopvut      Resolution               open => fixed       
04-11-08 09:32  putnopvut      Assigned To               => putnopvut       
04-11-08 09:32  putnopvut      Note Added: 0085342                          
======================================================================




More information about the asterisk-bugs mailing list