Answer the question
In order to leave comments, you need to log in
How to properly set up forwarding from sip to mobile in freepbx?
Good day.
There is a provided trunk from the provider without authentication by login and password of the form:
type=peer
nat=no
insecure=port,invite
host=xx.xx.xx.xx
dtmfmode=inband
disallow=all
allow=alaw
type=user
there is also naked freepbx and the need to set up forwarding from this trunk to a mobile phone, and later to another trunk.
how to do it right?
Answer the question
In order to leave comments, you need to log in
Three steps:
Get a new virtual SIP number
From the destination trunk - Virtual SIP number
In the virtual SIP number - write your mobile phone number in FollowMe
Why is it so difficult? because sooner or later someone will want that there would be no calls after 19-00 and Time Conditions will have to be built into the scheme
I don't know about "correct".
But, one of the options is to add a line to the trunk:
And in the file /etc/asterisk/extensions_custom.conf add:
[mobile903]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Dial(SIP/979035550055,60,m(default)tw)
exten => s,n,Hangup
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question