When I have Snom One Free installed on my Mac (dynamic ip), how do i test call my pbx?
I have a calling card trunk created, how do i route all incoming calls to an external termination server for making outbound calls please? And how do I add prefix to be automatically added to the numbers then called (from the destination server)?
Where in Snom One can I implement iax2 trunk script somewhat like:
sip.conf
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[James]
type=friend
host=xx.xxx.xxx.xx (allowed ip)
port=5060
nat=yes
qualify=yes
disallow=all
allow=g729
allow=ulaw
allow=g723
context=James
canreinvite=yes
[James-dialout]
type=friend
host=xx.xxx.xxx.xxx (external server ip, for making outbound calls)
port=5060
nat=yes
qualify=yes
disallow=all
allow=g729
;allow=ulaw
;allow=g723
context=James
canreinvite=yes
;;;;;;;;;;;;;;;;;;;
extensions.conf
;;;;;;;;;;;;;;;;;;;;;
[James]
exten => _xxxxxxxx,1,Answer()
exten => _xxxxxxxx,n,NoOp(CLI:${CALLERID(num)})
exten => _xxxxxxxx,n,DISA(no-password,disa_test)
[disa_test]
exten => _X.,1,Dial(SIP/0011103${EXTEN}@James-dialout)
(xxxxxxxx = did number)[/b]
Many Thanks