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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Sep 16 11:10:47 CDT 2019


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

Kevin Harwell commented on ASTERISK-28535:
------------------------------------------

I might be misunderstanding, but it sounds like it is working as it should be. The [CALLERID dialplan function |https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_CALLERID] gets or sets caller id data on the channel. So if you do something like this:
{noformat}
[globals]
TECH=PJSIP

exten => 8001,1,NoOp()
	same => n,Set(CALLERID(num)=8001)
 	same => n,Dial(${TECH}/${EXTEN},20)
	same => n,Hangup()
{noformat}
Then that will set the caller id number on the caller's channel. In your case the caller is '8249', so the 'num' gets set on the channel associated with '8249'.

> 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
>
> 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