Registration String: register =>
SIPUSERNAME:
SIPPASSWORD@
IP OR HOSTNAME OF PROVIDER:5060
Some providers force the use of an IP some the use of a domain.
if your provider uses an unorthodox port change 5060 as appropriate
account entry;
[
N2P]
;
^NAME YOU WANT FOR YOUR CONTEXT^dtmfmode=inband
;
personal choice if you use GSM you will probably need to set this to rfc2833type=friend
;
I use friend as I do some funky stuff and am my own VoIP provider visit http://www.voip-info.org/wiki/view/Asterisk+sip+type for more infousername=
SIPUSERNAMEsecret=
SIPPASSWORDfromuser=
SIPUSERNAME;
May or may not be neededhost=
IP ADDRESS OF YOUR PROVIDERcanreinvite=no
allowguest=yes
;
These settings depend on a multitde of other factors. You may also require Nat=YES if your server doesnt have a public ipdisallow=all
allow=
alaw;
or your codex of choicecontext=trunkinbound
;
For inboundGlobals String:
not exactly needed but meh most people use one
TRUNKN2P=SIP/N2P
DialPlan;
exten => _X.,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _X.,n,Dial(${TRUNKN2P}/${EXTEN},,tTor)
exten => _X.,n,Hangup
I would consider altering the dialplan to 011.
but the way you handle the dialplan is entirely up to you. I personally have all numbers with 44XXXXXXXXXX and 0XXXXXXXXXX translating and my agents have an invalid context (agent-nodial) as their individual phone contexts.
There are lots of fancy things you can do with your dialplan but that's outside the scope of this reply.
DIDs are required for inbound under the -admin login- => INBOUND => Show DIDs.
that should be enough information to get you started. however you really should read the manual as it has all the relevant information you require and I believe is a requirement for posting on the forum. Also I have a tenancy to make silly little mistakes so take everything I have posted with a pinch of salt.