<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Modify Diversion user URI to +E164 format with Lua Script in Call Control</title>
    <link>https://community.cisco.com/t5/call-control/modify-diversion-user-uri-to-e164-format-with-lua-script/m-p/3457408#M525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to modify the SIP User portion of the diversion URI to the E164 format. For the moment the CUCM sends the number in international format (00...) because Voicemail MASK is invoked (see CSCsm96435&lt;SPAN style="color: #444444; font-size: 18px; font-family: Arial, Helvetica, sans-serif;"&gt; Diversion header interaction with Voice Mail Box mask)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an Lua script example on how to strip the '00' and replace this with '+' for the user portion of the diversion URI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Luk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 15:06:01 GMT</pubDate>
    <dc:creator>Luk Nicolaers</dc:creator>
    <dc:date>2015-08-20T15:06:01Z</dc:date>
    <item>
      <title>Modify Diversion user URI to +E164 format with Lua Script</title>
      <link>https://community.cisco.com/t5/call-control/modify-diversion-user-uri-to-e164-format-with-lua-script/m-p/3457408#M525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to modify the SIP User portion of the diversion URI to the E164 format. For the moment the CUCM sends the number in international format (00...) because Voicemail MASK is invoked (see CSCsm96435&lt;SPAN style="color: #444444; font-size: 18px; font-family: Arial, Helvetica, sans-serif;"&gt; Diversion header interaction with Voice Mail Box mask)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an Lua script example on how to strip the '00' and replace this with '+' for the user portion of the diversion URI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Luk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 15:06:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/modify-diversion-user-uri-to-e164-format-with-lua-script/m-p/3457408#M525</guid>
      <dc:creator>Luk Nicolaers</dc:creator>
      <dc:date>2015-08-20T15:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Diversion user URI to +E164 format with Lua Script</title>
      <link>https://community.cisco.com/t5/call-control/modify-diversion-user-uri-to-e164-format-with-lua-script/m-p/3457409#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There aren't any official Cisco scripts to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tricky part is that there can be multiple Diversion Headers in the INVITE, and you'd have to process them all to make sure you're getting what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 12:11:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/modify-diversion-user-uri-to-e164-format-with-lua-script/m-p/3457409#M526</guid>
      <dc:creator>Mark Stover</dc:creator>
      <dc:date>2015-08-21T12:11:37Z</dc:date>
    </item>
  </channel>
</rss>

