Hi,

On 2013-08-20 15:21, Frederic Van Espen wrote:
Hi,

There's contradicting information available online about redirecting
number and I'd like to have a clear answer on what works and what
doesn't.

I'm using libss7 trunk and asterisk 11.5.0 with the patches as
desribed in
https://issues.asterisk.org/jira/browse/SS7-27?focusedCommentId=208465&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-208465



In the dialplan I try to set the redirecting number with either:
exten => _X.,n,Set(_SS7_REDIRECTING_NUMBER=123456789)

There is no such variable anymore - use the REDIRECTING() and CONNECTEDLINE() functions as described here:
https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information

as an example from my test dialplan:
exten => _X.,n,SET(REDIRECTING(count,i)=$[${REDIRECTING(count)}+1])
exten => _X.,n,SET(REDIRECTING(from-num,i)=${EXTEN})
exten => _X.,n,SET(REDIRECTING(from-num-pres,i)=allowed)
exten => _X.,n,SET(REDIRECTING(to-num,i)=$[${EXTEN}+1])
exten => _X.,n,SET(REDIRECTING(to-num-pres,i)=allowed)
exten => _X.,n,SET(REDIRECTING(reason)=cfu)

this will redirect to the next extension for a nice endless loop :)

or
exten => _X.,n,Set(REDIRECTING(cfu)=123456789)

I don't see a redirecting number on the outgoing IAM. Am I doing
something wrong or am I missing a patch somewhere maybe?

Cheers,

Frederic

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-ss7

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-ss7

Reply via email to