<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Unfortunately still not the correct result. CallerID still presented as +0201111111. Here the 3 rules i have now under Outbound Rewrite Rules for Caller:<div><br><div apple-content-edited="true"><span style="color: rgb(0, 0, 0); font-family: 'Myriad Pro'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: 'Myriad Pro'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: 'Myriad Pro'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><table class="table table-bordered table-striped table-highlight table-hover" style="position: static; z-index: auto;"><tbody><tr class="sw_action_row"><td><a href="https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=19&where=up&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules">
                    </a>
                    <a href="https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=19&where=down&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules">
                        <i class="icon-arrow-down"></i>
                    </a>
            </td>
            <td>Match: ^0([1-9]+)$</td>
            <td>Replacement: 31\1</td>
            <td>Description: Change 0XXXX to 31XXXX</td>
            <td class="ngcp-actions-column">
                            <div style="visibility: hidden;" class="sw_actions pull-right">
                    <a class="btn btn-small btn-primary" href="https://sbc01.nvoice.nl:1443/rewrite/6/rules/19/edit?back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules"><i class="icon-edit"></i></a><a data-confirm="Delete" class="btn btn-small btn-secondary" href="https://sbc01.nvoice.nl:1443/rewrite/6/rules/19/delete?back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules"><i class="icon-trash"></i></a>
                </div>
                        </td>
        </tr>
    
        <tr class="sw_action_row">
            <td>
                    <a href="https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=15&where=up&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules">
                        <i class="icon-arrow-up"></i>
                    </a>
                    <a href="https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=15&where=down&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules">
                        <i class="icon-arrow-down"></i>
                    </a>
            </td>
            <td>Match: ^(?:06)</td>
            <td>Replacement: 316</td>
            <td>Description: 316</td>
            <td class="ngcp-actions-column">
                            <div style="visibility: hidden;" class="sw_actions pull-right">
                    <a class="btn btn-small btn-primary" href="https://sbc01.nvoice.nl:1443/rewrite/6/rules/15/edit?back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules"><i class="icon-edit"></i></a><a data-confirm="Delete" class="btn btn-small btn-secondary" href="https://sbc01.nvoice.nl:1443/rewrite/6/rules/15/delete?back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules"><i class="icon-trash"></i></a>
                </div>
                        </td>
        </tr>
    
        <tr class="sw_action_row">
            <td>
                    <a href="https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=12&where=up&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules">
                        <i class="icon-arrow-up"></i>
                    </a>
                    <a href="https://sbc01.nvoice.nl:1443/rewrite/6/rules?move=12&where=down&back=https%3A%2F%2Fsbc01.nvoice.nl%3A1443%2Frewrite%2F6%2Frules">
                        <i class="icon-arrow-down"></i>
                    </a>
            </td>
            <td>Match: ^([1-9][0-9]+)$</td>
            <td>Replacement: 31\1</td>
            <td>Description: 3188</td></tr></tbody></table><div><br></div>
</span></span></div>
<br><div><div>Op 9 jul. 2014, om 15:54 heeft John Murray <<a href="mailto:john.murray@skyracktelecom.com">john.murray@skyracktelecom.com</a>> het volgende geschreven:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-GB" link="blue" vlink="purple" style="font-family: MyriadPro-Regular; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Roger hi,<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I think you need:<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Match Pattern: ^0([1-9]+)$<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Replacement pattern: 31\1<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Regards<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">John<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0cm 0cm;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;">From:</span></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;"><span class="Apple-converted-space"> </span><a href="mailto:spce-user-bounces@lists.sipwise.com" style="color: purple; text-decoration: underline;">spce-user-bounces@lists.sipwise.com</a><span class="Apple-converted-space"> </span>[<a href="mailto:spce-user-bounces@lists.sipwise.com" style="color: purple; text-decoration: underline;">mailto:spce-user-bounces@lists.sipwise.com</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of</b>Rogier Banis<br><b>Sent:</b><span class="Apple-converted-space"> </span>09 July 2014 14:45<br><b>To:</b><span class="Apple-converted-space"> </span>Spce-user<br><b>Subject:</b><span class="Apple-converted-space"> </span>[Spce-user] Problem with Caller ID Caller in outbound calls<o:p></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Hello list,<o:p></o:p></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">On a peer i need to create a rewrite rule for the caller ID of the caller. In this case a call comes in to our PBX and gets forwarded to a trunk. The incoming callerid of the caller is like 0201111111. This needs to be rewritten to 31201111111<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">In my rewrite rules for the trunk i created the following rule under outbound rewrite rules for caller:<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Match Pattern: ^(0[1-9]+)$<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Replacement pattern: 31\1<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">As you might suspect this doesn’t work otherwise i wouldn’t be mailing this list ;)) The CallerID gets presented on the final receiver phone as +0201111111<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Can you please shine some light on this rewrite rule?<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Any help is highly appreciated.<o:p></o:p></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span class="apple-style-span"><span style="font-family: 'Myriad Pro', serif;">With best regards,</span></span><span style="font-family: 'Myriad Pro', serif;"><br><br></span><span style=""><o:p></o:p></span></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><br><span><image001.png></span><o:p></o:p></span></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><br><br><span class="apple-style-span"><b>Rogier Banis</b></span><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span class="apple-style-span"><b><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;">CTO</span></b></span><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span class="apple-style-span"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;">Hoflaan 6</span></span><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><br><span class="apple-style-span">3956 EE Leersum</span><br><span class="apple-style-span">the Netherlands </span><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><br><span class="apple-style-span">T. +3188 7777 500</span><br><span class="apple-style-span">F. +3188 7777 501</span><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><br><br><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span class="apple-style-span"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;">E.<span class="Apple-converted-space"> </span><a href="mailto:rogier@ningaloo.nl" style="color: purple; text-decoration: underline;">rogier@ningaloo.nl</a></span></span><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><br><br><o:p></o:p></span></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 9pt; font-family: 'Myriad Pro', serif;"><br><br style="orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px;"><br></span><o:p></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div></div></div></blockquote></div><br></div></body></html>