Hi,
im running a sip trunk between freepbx vm (10.0.0.168) and a call manager cisco (192.168.4.254).
The cisco call manager manages 20 cisco phones and 20 numbers like this 0662290XXX
I installed a vm with freepbx on my site and i created a sip trunk to the remote call manager on the remote site.
So freepbx manages site A with extension numbers 100x, instead the call manager manages extension numbers XXX on remote (site B)
freepbx sip trunk config:
host=192.168.4.254
type=friend
port=5060
insecure=port,invite
nat=no
disallow=all
allow=alaw,ulaw
qualify=yes
context=from-internal
dtmf=rfc2833
canreinvite=no
Call manager sip:
dial-peer voice 101 voip
destination-pattern 10[0-9][0-9]
session protocol sipv2
session target ipv4:10.0.0.168
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
Here is the problem:
i can call from 100x number to XXX numbers without problems and viceversa.
i can assign a "public number (0662290XXX) to a cisco phone XXX on the call manager… but how do i assign a number like 0662290XXX to an asterisk phone on site A 10XX?
Is it possible?
Thank you in advance