On Tue, Nov 19, 2019 at 9:24 AM Benoit Panizzon <benoit.paniz...@imp.ch> wrote:
> 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 > replaced by: CONNECTED_LINE_CALLER_SEND_SUB > > 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
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users