<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";
        mso-fareast-language:DE-AT;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.pln
        {mso-style-name:pln;}
span.pun
        {mso-style-name:pun;}
span.str
        {mso-style-name:str;}
span.E-MailFormatvorlage24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hey,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>does anybody have a qualified answer for me?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Can I increase the db field without harming anything else?<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></a></p><p class=MsoNormal><span style='mso-bookmark:_MailEndCompose'><span lang=EN-US style='color:#1F497D'>It looks like I also would need around 1024 digits for full EEA and nonEEA rating possibilities.<o:p></o:p></span></span></p><p class=MsoNormal><span style='mso-bookmark:_MailEndCompose'><span lang=EN-US style='color:#1F497D'>Work a round would be just to create more peering rules, but I am not sure if this works also with negative lookahead regex too.<o:p></o:p></span></span></p><p class=MsoNormal><span style='mso-bookmark:_MailEndCompose'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></span></p><p class=MsoNormal><span style='mso-bookmark:_MailEndCompose'><span lang=EN-US style='color:#1F497D'>Thanks.<o:p></o:p></span></span></p><p class=MsoNormal><span style='mso-bookmark:_MailEndCompose'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></span></p><span style='mso-bookmark:_MailEndCompose'></span><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='mso-fareast-language:DE-AT'>Von:</span></b><span lang=DE style='mso-fareast-language:DE-AT'> Spce-user [mailto:spce-user-bounces@lists.sipwise.com] <b>Im Auftrag von </b>Hohl Matthias<br><b>Gesendet:</b> Freitag, 16. Februar 2018 14:02<br><b>An:</b> 'Spce-user' <Spce-user@lists.sipwise.com><br><b>Betreff:</b> [Spce-user] Extend Database field for caller pattern and callee pattern<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'>Hello,<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'>I think I found a solution for my EEA and nonEEA Rating with direct subscriber reference to a peering group.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'>But i have to extend the provisioning.voip_peer_rules caller_pattern and callee_pattern datafield to about 512 digits. Currently it is about 64 digits.<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'>Is this possible to extend in mariadb without harming something else?<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'>MSG=</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#C42B44;mso-fareast-language:DE-AT'>"Failed to update peering rule (DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Data too long for column 'caller_pattern' at row 1 [for Statement "</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'>UPDATE </span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#C42B44;mso-fareast-language:DE-AT'>`provisioning`</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'>.</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#C42B44;mso-fareast-language:DE-AT'>`voip_peer_rules`</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'> SET </span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#C42B44;mso-fareast-language:DE-AT'>`caller_pattern`</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'> = ? WHERE ( </span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#C42B44;mso-fareast-language:DE-AT'>`id`</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'> = ? )</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#C42B44;mso-fareast-language:DE-AT'>"</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#333333;mso-fareast-language:DE-AT'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks.<o:p></o:p></span></p></div></body></html>