[asterisk-users] Global number rewriting rules affecting ALL headers?

Joshua C. Colp jcolp at sangoma.com
Tue Nov 19 07:28:04 CST 2019

On Tue, Nov 19, 2019 at 9:24 AM Benoit Panizzon <benoit.panizzon at imp.ch>

> Hi Joshua
> I had a shot at your suggestion, bug still no success.
> I fear the 181 is sent before the macro is called.
> I want to change the Diversion Header in the 181 message sent back to
> the caller to put the number it contains in the correct e164 format
> (stripping the 0 and adding +41 for Switzerland) but just any 'dialplan
> set' value would do for an example :-)
> Could you please make an example how to do that?
> PS: CONNECTED_LINE_CALLER_SEND_MACRO is depreciated and should be
> Do I have to call my routine [sub-routine] and end with ExitSub?

I don't have experience with the specific thing linked, I just remembered
it from seeing it in the past. Someone else may have more insight instead.

Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.sangoma.com & www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191119/ba175676/attachment.html>

More information about the asterisk-users mailing list