<!-- Kamailio Pull Request Template -->

<!--
IMPORTANT:
  - for detailed contributing guidelines, read:
    https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
  - pull requests must be done to master branch, unless they are backports
    of fixes from master branch to a stable branch
  - backports to stable branches must be done with 'git cherry-pick -x ...'
  - code is contributed under BSD for core and main components (tm, sl, auth, 
tls)
  - code is contributed GPLv2 or a compatible license for the other components
  - GPL code is contributed with OpenSSL licensing exception
-->

#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes 
that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)

#### Description
This commits adding some new functions to Get and Change forwarding info in 
ISUP part of SIP-I/SIP-T messages.

sipt_forwarding(origin, nai) - updates the IAM in the body if it exists, 
setting (or adding) the forwarding number to origin with the nature address 
specified in nai

$sipt_redirection_info - Returns "Redirecting reason" or -1 if no redirection 
info found.

$sipt_redirection_number - Returns number to which redirection will trigered

sipt_redirection_number_nai - Returns NAI for redirection number from ISUP

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1498

-- Commit Summary --

  * sipt: Add functions to work with forwarding info (#18)

-- File Changes --

    M src/modules/sipt/doc/sipt_admin.xml (72)
    M src/modules/sipt/sipt.c (149)
    M src/modules/sipt/ss7.h (6)
    M src/modules/sipt/ss7_parser.c (138)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1498.patch
https://github.com/kamailio/kamailio/pull/1498.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1498
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to