[asterisk-bugs] [JIRA] (ASTERISK-28535) Error when change my callerid(num)

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Sep 16 12:06:47 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248018#comment-248018 ] 

Richard Mudgett edited comment on ASTERISK-28535 at 9/16/19 12:06 PM:
----------------------------------------------------------------------

Thanks for the answer.

But in this case shouldn't the SRC remain the caller's number (8249)?
It is changing the SRC to destination (DST).
As in the example above:
SRC = 8001
DST = 8001

I believe that if I am dialing from 8249, SRC should look the same, only changing the destination (8001).
SRC = 8249
DST = 8001

At least it was like this in version 11.17

Settings below sample:

sip.conf
{noformat}
[8001]
name=8001
..
..
context=callcenter
..
{noformat}

extensions.conf
{noformat}
[callcenter]
exten => _X.,1,NoOp(Test: ${EXTEN} )
;
;Here returns de same number -> 8001. But there are other types of treatments to know where the user needs to dial.
;
same => n, Set(CALLERID(num)=${CURL(http://localhost/asterisk/prefixo.php?exten=${EXTEN})})
same => n, NoOp(Result: ${EXTEN} ) ; ==>> 8001
same => n, Dial(SIP/${EXTEN})
{noformat}


Thanks



was (Author: tel.medola):
Thanks for the answer.

But in this case shouldn't the SRC remain the caller's number (8249)?
It is changing the SRC to destination (DST).
As in the example above:
SRC = 8001
DST = 8001

I believe that if I am dialing from 8249, SRC should look the same, only changing the destination (8001).
SRC = 8249
DST = 8001

At least it was like this in version 11.17

Settings below sample:

sip.conf
[8001]
name=8001
..
..
context=callcenter
..

extensions.conf

[callcenter]
exten => _X.,1,NoOp(Test: ${EXTEN} )
;
;Here returns de same number -> 8001. But there are other types of treatments to know where the user needs to dial.
;
same => n, Set(CALLERID(num)=${CURL(http://localhost/asterisk/prefixo.php?exten=${EXTEN})})
same => n, NoOp(Result: ${EXTEN} ) ; ==>> 8001
same => n, Dial(SIP/${EXTEN})


Thanks


> Error when change my callerid(num)
> ----------------------------------
>
>                 Key: ASTERISK-28535
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28535
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/CallerID
>    Affects Versions: 13.11.2, 13.28.0, 13.28.1
>         Environment: CentOs 6.X; CentOs 7
> ARA with PostgreSQL
>            Reporter: Roberto
>            Assignee: Unassigned
>              Labels: pjsip
>
> When I change callerid (num), asterisk is improperly changing the ORIGIN number.
> Example:
> I am dialing from extension 8249 to extension 8001.
> If I change this way set(callerid (num)) = 8001
> ticketing looks like this:
> clid = "Extension 8249" <8001>
> src = 8001
> dst = 8001
> If I do not make a change, it is correctly, as below:
> clid = "Extension 8249" <8249>
> src = 8249
> dst = 8001
> In asterisk 11.17.1, I also change callerid (num) as explained above and the error does not occur.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list