[asterisk-bugs] [JIRA] (ASTERISK-27649) asterisk trunks showing wrong caller id
Diego Diaz (JIRA)
noreply at issues.asterisk.org
Thu Feb 1 00:29:12 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Diaz updated ASTERISK-27649:
----------------------------------
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 _???
was:
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)=14430678) [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 _???
> asterisk trunks showing wrong caller id
> ---------------------------------------
>
> Key: ASTERISK-27649
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27649
> Project: Asterisk
> Issue Type: Information Request
> Security Level: None
> Components: . I did not set the category correctly.
> Affects Versions: 11.25.3
> Environment: Asterisk under elastix ,
> Reporter: Diego Diaz
> Severity: Critical
>
> 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 _???
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list