Jump to content

Dtmf Eingabe In Kanonisches Format Konvertieren


arothfuss

Recommended Posts

  • Most Valued User

Hallo Tom,

 

mit dem Befehl

 

PBXScript.ConvertToCanonical sRufnummer

 

wird im Trace das dann die Nummer Kanonisch angezeigt.

 

12 14:51:41.196 002284 Info SrvPBXCtl  0991C278 0000165d SScrServer::GetCallingNumReq            () returning '0211123456'
12 14:51:41.197 002284 Info SrvScript  07AAAA80 0000165d SPBXScript::OutputTrace                 () Get CallingNumber, rc = 0211123456
12 14:51:41.197 002284 Info SrvScrAPI  07AAAA80 0000165d SPBXScript::ConvertToCanonical          (0211123456)
12 14:51:41.197 002284 Inf3 SrvGk      078ACD18 0000165d SGkImpl::GetNumberConverterByEntity     (U:306, L:1)
12 14:51:41.197 002284 Inf3 SrvGk      078CC178 0000165d SNumberConv::ConvNum                    ('0211123456', InboundCalled, prefix '')
12 14:51:41.197 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(International,<all plans>,°) -> (<unknown type>,<all plans>,+°), result=1
12 14:51:41.197 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(National,<all plans>,°) -> (<unknown type>,<all plans>,+49°), result=1
12 14:51:41.197 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(Subscriber,<all plans>,00°) -> (<unknown type>,<all plans>,+°), result=1
12 14:51:41.197 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(Subscriber,<all plans>,0°) -> (<unknown type>,<all plans>,+49°), result=1
12 14:51:41.197 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(Subscriber,<all plans>,°) -> (<unknown type>,<all plans>,+49711°), result=1
12 14:51:41.197 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+300°) -> (<all types>,<all plans>,+30°), result=1
12 14:51:41.197 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+310°) -> (<all types>,<all plans>,+31°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+320°) -> (<all types>,<all plans>,+32°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+330°) -> (<all types>,<all plans>,+33°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+340°) -> (<all types>,<all plans>,+34°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+410°) -> (<all types>,<all plans>,+41°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+430°) -> (<all types>,<all plans>,+43°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+440°) -> (<all types>,<all plans>,+44°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+450°) -> (<all types>,<all plans>,+45°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+460°) -> (<all types>,<all plans>,+46°), result=1
12 14:51:41.198 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+470°) -> (<all types>,<all plans>,+47°), result=1
12 14:51:41.199 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+480°) -> (<all types>,<all plans>,+48°), result=1
12 14:51:41.199 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,+490°) -> (<all types>,<all plans>,+49°), result=1
12 14:51:41.199 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,000°) -> (<all types>,<all plans>,+°), result=1
12 14:51:41.199 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,00°) -> (<all types>,<all plans>,+49°), result=1
12 14:51:41.199 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () attempted rule=(<unknown type>,<all plans>,0°) -> (<all types>,<all plans>,+49711°), result=0
12 14:51:41.199 002284 Inf2 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () transformed (0211123456,<unknown type>,<unknown plan>) => (+49711211123456,<unknown type>,<unknown plan>) by rule (<unknown type>,<all plans>,0°) -> (<all types>,<all plans>,+49711°)
12 14:51:41.199 002284 Inf3 SrvGk      078CC188 0000165d SNumberRepl::auxReplace                 () no rule found for input=(+49711211123456,<unknown type>,<unknown plan>)
12 14:51:41.199 002284 Info SrvGk      078CC178 0000165d SNumberConv::ConvNum                    (InboundCalled,)
~0000165d From: '0211123456',''
~0000165d To:   '+49711211123456','',Canonical
12 14:51:41.200 002284 Info SrvPBXCtl  0991C278 0000165d SScrServer::ConvertToCanonical          () returning '+49711211123456'
12 14:51:41.200 002284 Info SrvPBXCtl  0991C278 0000165d SScrServer::GetCallingNumReq            () returning '0211123456'
12 14:51:41.200 002284 Info SrvScript  07AAAA80 0000165d SPBXScript::OutputTrace                 () Get CallingNumber, rc = 0211123456
12 14:51:41.200 002284 Info SrvScript  07AAAA80 0000165d SPBXScript::OutputTrace                 () 0211123456

 

Allerdings wenn ich mit mir danach gleich ein

PBXScript.OutputTrace sRufnummer

kommt die Nummer wieder im eingegebenen Format.

12 14:51:41.200 002284 Info SrvScript  07AAAA80 0000165d SPBXScript::OutputTrace                 () 0211123456

 

 

Deshalb die Frage:

wird mit dem konvertieren auch gleich der Inhalt der Variable geändert oder muss die noch irgendwie upgedatet werden? 

 

 

Was ich eigentlich machen will:

 

Kunde kann eine Rufnummer eingeben und diese wird per Mail zugestellt.

Die Rufnummer soll aber im kanonischen Format in der Mail angezeigt werden.

 

LG Andre

 

 

 

 

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.