[Asterisk-bugs] [Asterisk 0010258]: discrepacy in sendtext

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 20 11:16:33 CDT 2007


The issue 0010259 has been set as DUPLICATE OF the following issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10258 
====================================================================== 
Reported By:                agx
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10258
Category:                   Applications/app_sendtext
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.8  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-20-2007 11:00 CDT
Last Modified:              07-20-2007 11:16 CDT
====================================================================== 
Summary:                    discrepacy in sendtext
Description: 
SendText behave in a different way if channell is answered or not and in
dependency of the phone used

SendText should be consistent

Example: if channell is answered a GXP2000 display message onto the screen
while snom3X0 will not, so add_text in chan_sip.c shoul be changed to
address this:

static int add_text(struct sip_request *req, const char *text)
{
        /* XXX Convert \n's to \r\n's XXX */
        add_header(req, "Content-Type", "text/plain");
        add_header(req, "Content-Disposition", "desktop" );
        add_header_contentLength(req, strlen(text));
        add_line(req, text);
        return 0;
}

If channell is not answered there should be an option to have SendText
answer the channel itself otherwise on GXP2000 it will add the message into
the phone's SMS menù.

I'm not telling SendText that should work how i need, i'm just telling it
does not work in the same way on many phones.

IMHO it shoul be splitted in 2 apps: 1 to send the message onto the
display (usefull for AOC and other infoes during the call); 1 to send the
message into the phone's SMS area (usefull to send reminders and
notifications of stuffs happened);

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0010259 discrepacy in sendtext
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-20-07 11:16  file           Relationship added       has duplicate 0010259
======================================================================




More information about the asterisk-bugs mailing list