TIPS How to do this

shetu

Member
Joined
Nov 28, 2014
Messages
136
Reaction score
10
Hi
I want to implement this in pbx in flash.
Here is main Link : http://ipvoice.pl/downloads/dinstar/How_to_Config_DWG_with_Asterisk.pdf


sip.conf


[general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes

[101]
type=friend
secret=101
host=dynamic
context=from-internal
username=101

[dwg]
type=friend
secret=dwg
host=dynamic
context=from-PSTN
username=dwg


extensions.conf

[default]

[from-internal]
exten => 101,1,Dial(sip/101,10)
exten => 9.,1,Dial(sip/dwg/${EXTEN:1},30)

[from-PSTN]
exten => s ,1,Goto(from-internal,101,1)
 

jroper

Guru
Joined
Oct 20, 2007
Messages
3,832
Reaction score
71
Hi

I might take a different approach, simply accept and authenticate everything from DWG, and then use inbound routes to send the calls where you want them.

in trunks in FreepBX

Trunk name: DWG

host=<<IP address of DWG>>
type=peer
insecure = port,invite
context=from-trunk
allowoverlap=no

Now configure inbound routes in FreePBX for inbound calls, and outbound routes.


Joe
 
Last edited by a moderator:

Members online

No members online now.

Forum statistics

Threads
25,812
Messages
167,767
Members
19,241
Latest member
nana1
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top