انا بشرح اللي عندي

عندي راوتر 2921 وابغى اسويه CME وكمان gateway وعندي ipvpn , sip trunk من الاتصالات عشان اربطه مع القرع الاخر
بالنسبه لل configuration حق sip trun كالتالي
--------------------------------------------------------
ال ip address من الاتصالات
interface GigabitEthernet0/1.2517
encapsulation dot1Q 2517
ip address 10.196.178.10 255.255.255.252

interface GigabitEthernet0/1.2528
encapsulation dot1Q 2528
--------------------------------------------------------

dial-peer voice 201 voip
destination-pattern .T
rtp payload-type nte 97
session protocol sipv2
session target ipv4:10.209.4.58:5060 بالنسبه لل ip address هذا من الاتصالات ولا لا
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711alaw
no vad

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip

هذه ال configuration كافيه عشات اتصل بااي رقم في ال pstn واستقبل من ال pstn ولا في configuraton كمان زياده

ارجو مساعدتي وجزاك الله حيرا