Summary:ASTERISK-18752: Problems of Text Messaging in Asterisk 10
Reporter:Dunling Li (dli)Labels:
Date Opened:2011-10-24 19:24:22Date Closed:2011-11-21 14:09:25.000-0600
Versions:10.0.0-beta2 Frequency of
Environment:Ubuntu, 1 or 2 Asterisk 10 boxes, Twinkle sip phone, Sipsimple on Android Attachments:( 0) asterisk-sip-messaging-bug-report.tar
Description:Problem 1:
There are two SIP phones, which are connected to different Asterisk 10 boxes. SIP messages can be transmitted between two SIP phones. My dialplan is the follows:
exten => 2, n, MessageSend(sip:2@, ${Message(from)})

Problem 2:
My dialplan in extension.conf is the follows:
exten => 2, n, MessageSend(sip:2, ${Message(from)})

The SIP messages can be transmitted between two SIP phones in the same Asterisk, but the receiver display the sender name as
"sip: senderphonenumber@host", instead of sender's phone number

Comments:By: David Woolley (davidw) 2011-10-25 05:28:54.473-0500

Your dialplan is invalid (n should be 1).  It might be working due to some unspecified semantics for n in the first entry in a context.

To report a SIP bug you need to provide sip set debug traces and sip history information, at verbosities and debug levels specifed in the bug reporting rules.

This problem is, at most, minor, as it will affect very few people.

By: Leif Madsen (lmadsen) 2011-10-31 13:46:44.254-0500

Agreed, the dialplan in invalid in this bug report. You'll need to provide a more complete description which includes all the applicable configuration that would be required to reproduce this issue. Additionally console output showing what is happening on both boxes would be incredibly helpful.

By: Leif Madsen (lmadsen) 2011-11-21 14:09:20.194-0600

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines

By: Dunling Li (dunling) 2011-12-22 06:21:19.991-0600

The same problems occur at the latest Asterisk 10.0.0. I would like to request to reopen this issue. More detail test cases and corresponding fixed source codes are attached here.  The submitted files are based on Asterisk 10 revision 348603 and tests were performed on Ubuntu 10.04.3. Please see readme.txt for detail description.

By: Dunling Li (dunling) 2011-12-22 06:22:57.958-0600

Please see readme.txt for details