hello list
i have 1 server installed with asterisk centos and digium card
i have installed the same configuration in another unit but in this unit
there is no card installed
i have created a sip trunk between the 2 servers like that
in the server 1 with card
sip.conf
[asterisk1]
type=freind
host=ipadresseserver2
context=internal
insecure=invite
allow=all
[2000]
type=friend
host=dynamic
context=internal
allow=all
extensions.conf
[internal]
exten => 2000,1,Dial(SIP/2000)
exten => 2000,n,Hangup()
exten => _1XXX,1,Dial(SIP/${EXTEN}@asterisk1)
exten => _1XXX,n,Hangup()
in the unit 2 without card
sip.conf
[asterisk2]
type=freind
host=ipadresseserver1
context=internal
insecure=invite
allow=all
[1000]
type=friend
host=dynamic
context=internal
allow=all
extensions.conf
[internal]
exten => 1000,1,Dial(SIP/1000)
exten => 1000,n,Hangup()
exten => _2XXX,1,Dial(SIP/${EXTEN}@asterisk2)
exten => _2XXX,n,Hangup()
i can call the 2000 from my unit and 1000 from my server without issue
my question how i can i do in order to call an external number from my
unit(server 2)
with my server 1 i can call the external number without issue
thanks and regards
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users