Hi,
I'm using kamailio as a load balancer to dispatch to 5 asterisk Media
gateways with pjsip Stack
The old asterisk sip Stack is turned off.
hier my asterisk pjsip.conf to trust kamailios IP Addr.
pjsip.conf
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
tos=cs3
cos=3
[kamailio]
type=endpoint
context=outgoing-kamailio
disallow=all
allow=g722,alaw,ulaw
transport=transport-udp
direct_media=no
disable_direct_media_on_nat=yes
aors=kamailio
[kamailio]
type=aor
qualify_frequency=60
[kamailio]
type=identify
endpoint=kamailio
match=[IP-Addr-of-your-kamailio]
extensions.conf
exten => _XXXX.,1,Dial(PJSIP/${EXTEN}@trunkprofil)
od
exten => _XXXX.,1,Dial(PJSIP/trunkprofil/${EXTEN})
works great and pjsip is very fast !!! love it !!!
Regards
Rainer
--
*Rainer Piper*
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: +49 228 97167161 <callto:004922897167161>
Show replies by date