DIDcomms is completely compatible with VICIdial and Asterisk.
These are some configurations that we have used with our clients to configure their Asterisk and VICIdial SIP/VoIP servers.
Our IP addresses for inbound/outbound:
- sip.franzcom.com
- 5.144.84.191
- 5.144.88.163
Account entry for OUTGOING SIP IP authentication.
username=
secret=
disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=g729 (do not use this codec unless you have a license, otherwise you will have connectivity issues with other VoIP/SIP providers)
type=peer
host=5.144.84.191
insecure=port,invite
nat=yes
qualify=yes
dtmfmode=rfc2833
canreinvite=no
Account entry for the OUTGOING SIP user username and password.
Register String:
<sip user>:<sip password>@sip.franzcom.com
or
username=sip_username
secret=sip_password
disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=g729 (do not use this codec unless you have a license, otherwise you will have connectivity issues with other VoIP/SIP providers)
type=friend
host=sip.franzcom.com
dtmfmode=rfc2833
qualify=yes
insecure=very
Dialplan entry our OUTGOING all calls to DIDcomms SIP trunk.
exten => _X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X,2,Dial(${TrunkID}/${EXTEN:$},,To)
exten => _X,3,Hangup
If above does not work then try this
exten => _X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X,2,Dial(SIP/${EXTEN:$}@TrunkID,,To)
exten => _X,3,Hangup
Account entry for INCOMING DID calls.
Register String:
<sip user>:<sip password>@sip.franzcom.com/<sip user>
or
disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=g729 (do not use this codec unless you have a license, otherwise you will have connectivity issues with other VoIP/SIP providers)
type=friend
dtmfmode=rfc2833
context=incoming
qualify=yes
insecure=very
nat=yes
host=sip.franzcom.com
username=sip_username
secret=sip_password
fromuser=sip_username
fromdomain=sip.franzcom.com
Account entry for the INCOMING SIP trunk.
disallow=all
allow=ulaw
allow=alaw
allow=g722
allow=g729 (do not use this codec unless you have a license, otherwise you will have connectivity issues with other VoIP/SIP providers)
type=peer
insecure=port,invite
dtmfmode=rfc2833
context=trunkinbound
nat=yes
host=5.144.84.191