Tuesday 21 June 2011

ccdial between elastix or FreePBX

CCdial interconnecting with Elastix

CCDIAL  is: 2.0.5-174 IP Address: 192.168.1.2
Elastix Version is: 1.5.2-2 IP Address: 192.168.1.3

The trunk is IAX2 as follows:  [ Remember IAX2 doesn't have port conflicts like SIP ]

ccdial: with  Carrier Name: Elastix

Registration String: register=> ccdial1:yoursecret@192.168.1.3:4569 [ SIP port number used ]

Account Entry:
[elastix1]
host=dynamic
username=ccdial
secret=yoursecret
type=friend
disallow=all
allow=ulaw
allow=alaw
qualify=yes
context=from-internal

Protocol: IAX2

Dialplan Entry:
exten => _XXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXX.,2,Dial(IAX2/elastix1/${EXTEN},,tTor)
exten => _XXXXXXX.,3,Hangup

ServerIP: 192.168.1.2


Elastix:
Trunk: ccdial1

Dial Rules:  XX.

Trunk Name: ccdial1

Peer Details:
host=192.168.1.2
type=friend
username=ccdial
secret=secret
dissallow=all
allow=ulaw&alaw
qualify=yes
context=from-internal

Register String:
elastix1:secret@192.168.1.2


OUTBOUND ROUTE:
Route Name: ccdial
Intracompany Routing: (checked)
Dial Patterns:
8|XXX
8|XXXX
Trunk Sequence:
IAX2/ccdial

No comments:

Post a Comment