[Home]

Summary:ASTERISK-27649: asterisk trunks showing wrong caller id
Reporter:Diego Diaz (trezeguet17)Labels:
Date Opened:2018-02-01 00:25:22.000-0600Date Closed:2020-01-14 11:20:58.000-0600
Priority:CriticalRegression?
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:11.25.3 Frequency of
Occurrence
Related
Issues:
Environment:Asterisk under elastix , Attachments:
Description:hello people i have problem with showing the right caller id for my IAXTRUNKS , i created two Iax2 trunks and i redirect the outgoing calls of each trunk trough only one sip trunk , but i configured my Dialplan with a different context for each iax trunk to display a different caller id in every outgoing call of those trunks , the thing here is both outgoing calls of these trunks display the same caller id  

here is my dialplan

[ Context 'from-s02' created by 'pbx_config' ]
 '_3XXXXXXXXX' =>  1. Set(CALLERID(num)=1443078)                [pbx_config]
                   2. Dial(SIP/une/03${EXTEN})                   [pbx_config]
                   3. Congestion()                               [pbx_config]
                   102. Busy()                                   [pbx_config]
 '_NZXXXXXX' =>    1. Set(CALLERID(num)=14430678)                [pbx_config]
                   2. Dial(SIP/une/05${EXTEN})                   [pbx_config]
                   3. Congestion()                               [pbx_config]
                   102. Busy()                                   [pbx_config]
 '_ZXXXXXX' =>     1. Set(CALLERID(num)=1443078)                [pbx_config]
                   2. Set(CALLERID(name)=1443078)               [pbx_config]
                   3. Noop(************** ${CALLERID(all)} ****************) [pbx_config]
                   4. Dial(SIP/une/${EXTEN})                     [pbx_config]
                   5. Congestion()                               [pbx_config]
                   104. Busy()                                   [pbx_config]

-= 3 extensions (14 priorities) in 1 context. =-
IPPBX*CLI> dialplan show from-s00
[ Context 'from-s00' created by 'pbx_config' ]
 '_3XXXXXXXXX' =>  1. Set(CALLERID(all)=1443072)                [pbx_config]
                   2. Dial(SIP/une/03${EXTEN})                   [pbx_config]
                   3. Congestion()                               [pbx_config]
                   102. Busy()                                   [pbx_config]
 '_NZXXXXXX' =>    1. Set(CALLERID(all)=1443072)                [pbx_config]
                   2. Dial(SIP/une/05${EXTEN})                   [pbx_config]
                   3. Congestion()                               [pbx_config]
                   102. Busy()                                   [pbx_config]
 '_ZXXXXXX' =>     1. Set(CALLERID(all)=1443072)                [pbx_config]
                   2. Set(CALLERID(name)=1443072)               [pbx_config]
                   3. Noop(************** ${CALLERID(all)} ****************) [pbx_config]
                   4. Dial(SIP/une/${EXTEN})                     [pbx_config]
                   5. Congestion()                               [pbx_config]
                   104. Busy()                                   [pbx_config]

you see , the caller id is different in every context , that is defined in the trunks  


rusiax]
disallow=all
context=from-s00
type=friend
qualify=yes
allow=ulaw
allow= alaw
host=so.rusipbx.com

[t_so02]
disallow=all
context=from-s02
type=friend
qualify=yes
allow=ulaw
allow= alaw
host=rusipbx.com


i want to know how to make each iax trunk shows its own caller id _???
Comments:By: Asterisk Team (asteriskteam) 2018-02-01 00:25:23.356-0600

We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

If this issue is actually a bug please use the Bug issue type instead.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

By: Asterisk Team (asteriskteam) 2018-02-01 00:25:23.895-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].