This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Main(string[] args) | |
{ | |
var logger = NLog.LogManager.LoadConfiguration("NLog.Staging.config").GetCurrentClassLogger(); | |
try | |
{ | |
// your startup code goes there | |
} | |
catch (Exception exception) | |
{ | |
//NLog: catch setup errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Main(string[] args) | |
{ | |
var logger = NLog.Web.NLogBuilder.ConfigureNLog("NLog.Staging.config").GetCurrentClassLogger(); | |
try | |
{ | |
// your startup code goes there | |
} | |
catch (Exception exception) | |
{ | |
//NLog: catch setup errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"virtualNumber": "+61280024775", | |
"callPlan": { | |
"CallPlanId": "10ef4a10-c627-46b9-ad4d-d9972209e680", | |
"TemplateId": "5f17b93b-2331-429a-a7d7-a10ce029ce7f", | |
"Name": "Fake CTC callplan", | |
"Description": "", | |
"IsPublished": false, | |
"CreatedOn": "2019-09-03T00:52:13+00:00", | |
"ModifiedOn": "2020-02-13T15:56:40.800171+00:00", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Database: csncallconnectstgeventstore, csncallconnectprodeventstore */ | |
ALTER TABLE public.assignments | |
ALTER COLUMN event_created_at TYPE timestamp without time zone ; | |
ALTER TABLE public.dealers | |
ALTER COLUMN created_at TYPE timestamp without time zone ; | |
ALTER TABLE public.dealers | |
ALTER COLUMN modified_at TYPE timestamp without time zone ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Database: csntelephonystgeventstore, csntelephonyprodeventstore */ | |
ALTER TABLE public.numbers | |
ADD COLUMN frozen_at timestamp with time zone; | |
ALTER TABLE public.numbers | |
ALTER COLUMN number_modified TYPE timestamp without time zone ; | |
ALTER TABLE public.numbers | |
ALTER COLUMN number_created TYPE timestamp without time zone ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** csntelephony */ | |
ALTER TABLE public.numbers_pool | |
ADD COLUMN frozen_at timestamp with time zone; | |
/** | |
* For numbers that free, and previously claimed; | |
* set the release date to the date modified | |
*/ | |
UPDATE public.numbers_pool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Autofac; | |
using Windows.UI.Xaml.Controls; | |
using Windows.UI.Xaml.Navigation; | |
namespace NPos.Common.UWP.UI | |
{ | |
public sealed class BasePageParams | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
context=default | |
[first-asterisk] | |
type=user | |
context=from-first-asterisk | |
host=dynamic | |
secret=unsecuredpassword | |
disallow=all | |
allow=ulaw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[from-zoiper] | |
exten=100,1,Answer() | |
same=n,Wait(1) | |
same=n,Playback(hello-world) | |
same=n,Dial(SIP/100@second-asterisk,3600) | |
same=n,Hangup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
context=default | |
[zoiper] | |
type=friend | |
context=from-zoiper | |
host=dynamic | |
secret=unsecuredpassword | |
disallow=all | |
allow=ulaw |
NewerOlder