[asterisk-bugs] [Asterisk 0015974]: Explicitly set CallerID is lost

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 30 11:17:52 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15974 
====================================================================== 
Reported By:                dimas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15974
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.26.1 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-28 05:20 CDT
Last Modified:              2009-09-30 11:17 CDT
====================================================================== 
Summary:                    Explicitly set CallerID is lost
Description: 
I have reported this to asterisk-dev mailing list but got no feedback.
Since I think it is a bug, I'm filling the issue on Mantis.

I have simple test context like:

context c1 {

        user => {
                Dial(SIP/1001,10);
        };

        conf => {
                CALLERID(num) = "9999";
                CALLERID(name) = "Test name";
                MeetMe(1234,d);
        };
}

Note that I set CallerID explicitly before joining meetme. I originate
call using CLI:

originate Local/user at c1 extension conf at c1

answer the call on 1001 softphone. I expect to see 9999 'Test name' in the
meetme. However:
 
*CLI> meetme list 1234 
User #: 01         user <no name>            Channel: SIP/1001-09abf998   
(unmonitored) 00:00:24
1 users in that conference.

Note the callerid is lost. After adding some debug information I found
that inside MeetMe the callerid is correct right before ast_streamfile
which plays  you are the only person in the conference  and incorrect right
after that ast_streamfile. I do not really understand logic why this
happens but it seems like bug to me.
====================================================================== 

---------------------------------------------------------------------- 
 (0111646) seanbright (manager) - 2009-09-30 11:17
 https://issues.asterisk.org/view.php?id=15974#c111646 
---------------------------------------------------------------------- 
What happens if you do this:
<pre>
    conf => {
        Answer();
        CALLERID(num) = "9999";
        CALLERID(name) = "Test name";
        MeetMe(1234,d);
    };
</pre> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-30 11:17 seanbright     Note Added: 0111646                          
======================================================================




More information about the asterisk-bugs mailing list