[asterisk-bugs] [JIRA] (ASTERISK-28977) PJSIP can't SET CallerId

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Fri Jul 3 12:53:25 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp closed ASTERISK-28977.
-------------------------------------

    Resolution: Configuration Issue

This is not an issue in Asterisk. You have set the "from_user" option on the PJSIP endpoint which sets the user portion of the From. Setting it in the dialplan will not override it. If you wish to convey callerid you will need to send it another way, such as using P-Asserted-Identity or Remote-Party-ID both of which can be enabled on the endpoint.

For further help please use the community forum[1].

[1] https://community.asterisk.org/

> PJSIP can't SET CallerId
> ------------------------
>
>                 Key: ASTERISK-28977
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28977
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.11.0
>            Reporter: Michal Paplaczyk
>            Severity: Critical
>
> Hello 
> I have a problem in changing CallerID if I use PJSIP protocol. Belowe is my current configuration. I tried to use another versions of assterisk together with FreePBX and problem was the same. I think  this is a protocol problem. Every time when i set callerid like:
> Set(CALLERID(num)=xxxxxxxxxx)
> i expect in INVITE in Header FROM:
> From: "xxxxxxxxxx" <sip:xxxxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=c76d13d2
> but i found 
> From: <sip:xxxxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=c76d13d2
> Could somebody can help me with this issue?
> [trunk-1]
> type=registration
> transport=transport-udp
> outbound_auth=trunk-1-auth
> server_uri=sip:xxxxxxxxxxx.xx:5060
> client_uri=sip:xxxxxxxxx at xxxxxxxxx.xx:5060
> contact_user=xxxxxxxx
> retry_interval=60
> forbidden_retry_interval=600
> expiration=3600
> line=yes
> outbound_proxy=sip:xxxxxxxxxxx.xx\;lr
> endpoint=trunk-1
> [trunk-1]
> type=endpoint
> transport=transport-udp
> context=from-abc
> disallow=all
> allow=alaw,ulaw,g729,gsm
> aors=trunk-1
> outbound_auth=trunk-1-auth
> from_user=xxxxxxxxx
> from_domain=xxxxxxx.xx
> [trunk-1]
> type=aor
> contact=sip:xxxxxxxxxxx.xx:5060
> outbound_proxy=sip:xxxxxxxxxxxx.xx\;lr
> [trunk-1]
> type=identify
> endpoint=trunk-1
> match=xxxxxxxxxxxxx.xx
> [trunk-1-auth]
> type=auth
> auth_type=userpass
> username=xxxxxxxx
> password=xxxxxxxxx



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



More information about the asterisk-bugs mailing list