Sorry for writing English, but it's more easy for me than Arabic as I am taking to much time to write in Arabic , anyways I will give you an example with some hints, if that didn't work you can send me the Config.
Example:
I am having Site A and Site B
Site A: Extension Range 1XXX, if we say that we will use the Loopback interface as an IP between the sites ex. 10.1.1.1
Site B: Extension Range 2XXX, Loopback interface IP 10.1.1.2
Hint: The most important thing that I need you to try it, is to make sure that there is connectivity between the sites using the Loopback interface (I mean the interface responsible for dial-peer config).
ex: Go to Site A router (10.1.1.1) then try to ping site B using site A IP: Ping 10.1.1.2 source 10.1.1.1 , then;
Go to Site B router (10.1.1.2), try to ping site A: Ping 10.1.1.1 source 10.1.1.2
After that the connectivity is okay, then I will start the configuration.
In Order to make Site A calls site B(2XXX):
Router A:
SiteA (config)#
Dial-peer voice 1 voip (1 is the tag number and make sure that Dial-peer 1 is not conf before, otherwise choose another number)
Destination-pattern 2... (2... it means the other site pattern)
Session target ipv4:10.1.1.2 (The Ip of the other site that I tried to ping it before)
In Order to make Site B calls site A(1XXX):
Router B:
SiteB (config)#
Dial-peer voice 1 voip (No problem to make it 1 as the router A as they are different routers)
Destination-pattern 1... (1... it means the other site pattern)
Session target ipv4:10.1.1.1 (The Ip of the other site that I tried to ping it before)
If all of that didn't help please ask me to give you my email so you send me the config files.:ah2:
المفضلات