[asterisk-bugs] [JIRA] (ASTERISK-26957) manipulating ToHeader number with CallerID(DNID)
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Wed Jul 11 04:38:55 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-26957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp closed ASTERISK-26957.
----------------------------------
Resolution: Suspended
Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines
> manipulating ToHeader number with CallerID(DNID)
> ------------------------------------------------
>
> Key: ASTERISK-26957
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26957
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Applications/app_dial, Resources/res_pjsip_session
> Affects Versions: 13.15.0
> Environment: Centos 6.7, Asterisk 13.5
> Reporter: Yasin CANER
> Assignee: Unassigned
> Severity: Minor
> Labels: fax, pjsip
> Attachments: Asterik 13 Toph.jpg
>
>
> Hello all,
> Some kind of devices like FXS needs to wait Request Uri Number and ToHeader number must be same.if not , it declines the calls. in chan_sip,
> we can solve this problem with exclamation mark in Dial app but chan_pjsip doesnt have ability. So i added a function to set toheader with setting Callerid(DNID) variable in res_pjsip_session.c
> My toph
> {noformat}
> A caller ---> Asterisk-Trunk-1 || Asterisk-Trunk-2 --> Kamailio --> B callee
> INVITE --> Ruri : 08503027337 From : 08503023423 To : 08503027337 ---> Asterisk Trunk -1 --> Asterisk Trunk -2 ---> Ruri : 56428503027337 From : 908503023423 To : 8503027337----> Kamailio(carrier module) ----> Ruri : 8503027337 From : 908503023423 To : 8503023423
> {noformat}
>
> How is it work.
> Before dial application , setting Callerid(DNID) in dialplan , it effects.
> i tested function as below
> 1- 2 side PJSIP_SEND_SESSION_REFRESH(), it send re-invite to outgoing and incoming channels. No problem
> 2- Fax Re-invite, it send so many re-invite to negotiation for fax. No problem
> 3- Standard Call . No Problem
> 4- without setting Callerid(DNID) . No problem ,there isnt null pointer exception or crash
> 5- Setting 2 side Callerid(DNID) . there isnt problem.
> 6- chan_pjsip , CDR is checked , no problem.
> 7- chan_sip , it tested with or without Callerid(DNID) setting. there is not side effect. No problem.
> it didn't test on chan_sip
> Forum topic : https://community.asterisk.org/t/way-to-get-toheader-name-or-number/68717/6?u=ycaner
> commit is updated for format and fixed memory leak.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list