Guys,

I have experimented with regex rules and back references when using
dialplan module, and it looks like the dialplan returns only the part
preceding the back reference, including it, but not what comes after.
Can anyone help me with experimenting it?

As an example:

match_op: 1
match_exp: user1
subst_exp: (.+)
repl_exp: sip:\[email protected]

Output from dp_translate:
"""
opensipsctl fifo dp_translate 99 user1
Output:: sip:user1
ATTRIBUTES:: 
"""

I would expect that the result would be Output:: sip:[email protected].

Am I the one doing anything wrong?

Ta,
DanB



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to