Configure your Asterisk
To configure your Asterisk with FlyNumber, check out these example configurations below.
First, configure your SIP trunk or extension to connect with FlyNumber. Ensure that your Asterisk server is set to receive incoming calls via SIP or IAX2, depending on your setup.
Make sure to whitelist our IP addresses to avoid any disruptions in service. This step is crucial for maintaining a stable connection between your Asterisk server and FlyNumber.
It's unlimited incoming minutes when configured this way (except toll-free or metered).
If you prefer to configure IAX instead of SIP, check out our IAX configuration page for detailed instructions.
Examples
extensions.conf
[from-flynum]
exten => _X.,1,Ringing
exten => _X.,n,Answer
exten => _X.,n,Echo
exten => _X.,n,Wait(600)
exten => _X.,n,Hangup
sip.conf
[flynum-ny]
host=46.19.209.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-fra]
host=46.19.210.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-la]
host=46.19.212.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-mia]
host=46.19.213.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-sg]
host=46.19.214.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
iax.conf
[flynum-iax-us]
type=user
permit=46.19.209.42
context=from-flynum
[flynum-iax-eu]
type=user
permit=46.19.210.42
context=from-flynum