alexuk
1
Hello guys!
I have already compiled chan_pjsip.so and res_pjsip.so modules.
For compiling I before install from git pjproject and jason packages.
And when Asterisk starts I see in netstat that Asterisk doen’t listen 5060 port.
I think it’s bad, and how I can resolve it?
OS:
CentOS 6 (x86_64)
Asterisk 12.0.0
Please check the documentation(wiki) in pjsip you need to define the transport which contains the listening address and port.
alexuk
3
my pjsip settings below
endpoints, auth and aor
[6001]
type=endpoint
context=internal
disallow=all
allow=alaw
transport=simpletrans
auth=6001
aors=6001
mwi_from_user=6001
mailboxes=6001@default
allow_subscribe=yes
[6001]
type=auth
auth_type=userpass
password=6001
username=6001
[6001]
type=aor
max_contacts=1
[simpletrans]
type=transport
bind=0.0.0.0
protocol=udp
direct_media=no
my sip accounts and Asterisk server are in the same LAN.
If you have chan_sip.so loaded check that pjsip & sip aren’t using the same port. Try unloading the chan_sip.so
alexuk
5
I haven’t compiled chan_sip.so because I want use chan_pjsip.so .
This is going into a loop. Please attach the configurations with the complete output of asterisk -vvvvvcg and netstat -punta