TIPS How to do this

shetu

Member
Joined
Nov 28, 2014
Messages
105
Reaction score
7
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,833
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:

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,319
Messages
137,015
Members
14,549
Latest member
mawa1213