As you might have guessed, we'll be logging Call Detail Records into a table called cdr. Let's create the table:
1./opt/nuodb/bin/nuosql asteriskCDR --user asteriskUser --password mySecret123,1,Answer
04.exten => 123,2,SetMusicOnHold(default)
05.exten => 123,3,WaitMusicOnHold(2)
06.exten => 123,4,Hangup
07./etc/asterisk/sip.conf
08.[sipp]
09.type=friend
10.context=sipp
11.host=dynamic
12.user=sipp
13.canreinvite=no
14.disallow=all
15.allow=ulaw |