<Registration/ServerURI…> <Auth…> <Status…>
7001/sip:XXXXXXX 7001 Registered (exp. 3321s)
7002/sip:XXXXXXX 7002 Rejected (exp. 152s ago)
7003/sip:XXXXXXX 7003 Rejected (exp. 152s ago)
7004/sip:XXXXXXX 7004 Rejected (exp. 156s ago)
7005/sip:XXXXXXX 7005 Rejected (exp. 153s ago)
Hi ,
I am using the same configuration in every pjsip endpoint registrations (outbound) to establish user type trunk,but only one is getting registered.
getting the error below
Apr 4 11:55:17] WARNING[7493]: res_pjsip_outbound_registration.c:1378 handle_registration_response: Fatal response ‘404’ received from ‘sip:XXXXXXX’ on registration attempt to ‘sip:7005@XXXXXX’, stopping outbound registration
[Apr 4 11:55:20] WARNING[7493]: res_pjsip_outbound_registration.c:1378 handle_registration_response: Fatal response ‘404’ received from ‘sip:XXXXXXX’ on registration attempt to ‘sip:7003@XXXXXX’, stopping outbound registration
[Apr 4 11:55:20] WARNING[7493]: res_pjsip_outbound_registration.c:1378 handle_registration_response: Fatal response ‘404’ received from ‘sip:XXXXXXX’ on registration attempt to ‘sip:7002@XXXXXX’, stopping outbound registration
[Apr 4 11:55:20] WARNING[7493]: res_pjsip_outbound_registration.c:1378 handle_registration_response: Fatal response ‘404’ received from ‘sip:XXXXXXX’ on registration attempt to ‘sip:7004@XXXXXX’, stopping outbound registration
I have added the configuration also ,
server -1
[7001]
type=endpoint
context=alert
transport=transport-udp
outbound_auth=7001
disallow=all
allow=ulaw
aors=7001
force_rport=yes
direct_media=no
ice_support=yes
[7001]
type=aor
contact=sip:7001@XXXXXXXX:5060
max_contacts=1
remove_existing=yes
[7001]
type=identify
endpoint=7001
match=XXXXXXXX
[7001]
type=auth
auth_type=userpass
username=7001
password=
realm=XXXXXXXX
[7001]
type=registration
transport=transport-udp
outbound_auth=7001
server_uri=sip:XXXXXXXX
client_uri=sip:7001@XXXXXXXX
contact_user=7001
retry_interval=60
forbidden_retry_interval=600
expiration=3600
line=yes
endpoint=7001
auth_rejection_permanent=no
[7002]
type=endpoint
context=alert
transport=transport-udp
outbound_auth=7002
disallow=all
allow=ulaw
aors=7002
force_rport=yes
direct_media=no
ice_support=yes
[7002]
type=aor
contact=sip:7002@XXXXXXXX:5060
max_contacts=1
remove_existing=yes
[7002]
type=identify
endpoint=7002
match=XXXXXXXX
[7002]
type=auth
auth_type=userpass
username=7002
password=
realm=XXXXXXXX
[7002]
type=registration
transport=transport-udp
outbound_auth=7002
server_uri=sip:XXXXXXXX
client_uri=sip:7002@XXXXXXXX
contact_user=7002
retry_interval=60
forbidden_retry_interval=600
expiration=3600
line=yes
endpoint=7002
auth_rejection_permanent=no
[7003]
type=endpoint
context=alert
transport=transport-udp
outbound_auth=7003
disallow=all
allow=ulaw
aors=7003
force_rport=yes
direct_media=no
ice_support=yes
[7003]
type=aor
contact=sip:7003@XXXXXXXX:5060
max_contacts=1
remove_existing=yes
[7003]
type=identify
endpoint=7003
match=XXXXXXXX
[7003]
type=auth
auth_type=userpass
username=7003
password=
realm=XXXXXXXX
[7003]
type=registration
transport=transport-udp
outbound_auth=7003
server_uri=sip:XXXXXXXX
client_uri=sip:7003@XXXXXXXX
contact_user=7003
retry_interval=60
forbidden_retry_interval=600
expiration=3600
line=yes
endpoint=7003
auth_rejection_permanent=no
[7004]
type=endpoint
context=alert
transport=transport-udp
outbound_auth=7004
disallow=all
allow=ulaw
aors=7004
force_rport=yes
direct_media=no
ice_support=yes
[7004]
type=aor
contact=sip:7004@XXXXXXXX:5060
max_contacts=1
remove_existing=yes
[7004]
type=identify
endpoint=7004
match=XXXXXXXX
[7004]
type=auth
auth_type=userpass
username=7004
password=
realm=XXXXXXXX
[7004]
type=registration
transport=transport-udp
outbound_auth=7004
server_uri=sip:XXXXXXXX
client_uri=sip:7004@XXXXXXXX
contact_user=7004
retry_interval=60
forbidden_retry_interval=600
expiration=3600
line=yes
endpoint=7004
auth_rejection_permanent=no
[7005]
type=endpoint
context=alert
transport=transport-udp
outbound_auth=7005
disallow=all
allow=ulaw
aors=7005
force_rport=yes
direct_media=no
ice_support=yes
[7005]
type=aor
contact=sip:7005@XXXXXXXX:5060
max_contacts=1
remove_existing=yes
[7005]
type=identify
endpoint=7005
match=XXXXXXXX
[7005]
type=auth
auth_type=userpass
username=7005
password=
realm=XXXXXXXX
[7005]
type=registration
transport=transport-udp
outbound_auth=7005
server_uri=sip:XXXXXXXX
client_uri=sip:7005@XXXXXXXX
contact_user=7005
retry_interval=60
forbidden_retry_interval=600
expiration=3600
line=yes
endpoint=7005
auth_rejection_permanent=no
server-2
[7001]
type=endpoint
transport=transport-udp
context=alert
disallow=all
allow=ulaw
outbound_auth=7001
aors=7001
[7001]
type=aor
max_contacts=1
remove_existing=yes
contact=sip:YYYYYYYY:5060
[7001]
type=identify
endpoint=7001
match=YYYYYYYY
[7001]
type=auth
auth_type=userpass
username=7001
password=
[7002]
type=endpoint
transport=transport-udp
context=alert
disallow=all
allow=ulaw
outbound_auth=7002
aors=7002
[7002]
type=aor
max_contacts=1
remove_existing=yes
contact=sip:YYYYYYYY:5060
[7002]
type=identify
endpoint=7002
match=YYYYYYYY
[7002]
type=auth
auth_type=userpass
username=7002
password=
[7003]
type=endpoint
transport=transport-udp
context=alert
disallow=all
allow=ulaw
outbound_auth=7003
aors=7003
[7003]
type=aor
max_contacts=1
remove_existing=yes
contact=sip:YYYYYYYY:5060
[7003]
type=identify
endpoint=7003
match=YYYYYYYY
[7003]
type=auth
auth_type=userpass
username=7003
password=
[7004]
type=endpoint
transport=transport-udp
context=alert
disallow=all
allow=ulaw
outbound_auth=7004
aors=7004
[7004]
type=aor
max_contacts=1
remove_existing=yes
contact=sip:YYYYYYYY:5060
[7004]
type=identify
endpoint=7004
match=YYYYYYYY
[7004]
type=auth
auth_type=userpass
username=7004
password=
[7005]
type=endpoint
transport=transport-udp
context=alert
disallow=all
allow=ulaw
outbound_auth=7005
aors=7005
[7005]
type=aor
max_contacts=1
remove_existing=yes
contact=sip:YYYYYYYY:5060
[7005]
type=identify
endpoint=7005
match=YYYYYYYY
[7005]
type=auth
auth_type=userpass
username=7005
password=
kindly provide solution …