[asterisk-bugs] [JIRA] (ASTERISK-29670) pjsip is not working correctly
anri_reno (JIRA)
noreply at issues.asterisk.org
Tue Sep 28 01:35:49 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
anri_reno updated ASTERISK-29670:
---------------------------------
Description:
Please tell me what could be the problem everything is set up it is written there is registration asterisk*CLI> pjsip show registrations
==========================================================================================
sipnet/sip:92.46.61.21 sipnet Registered
Objects found: 1
When you call any number, this is the output you get
asterisk*CLI>
— Auto fallthrough, channel ‘PJSIP/2000-00000006’ status is ‘CHANUNAVAIL’
— Executing [87002239332 at outcoling:1] Dial(“PJSIP/2000-00000008”, “PJSIP/87772239332 at sipnet”) in new stack
— Called PJSIP/87002239332 at sipnet
== Everyone is busy/congested at this time (1:0/0/1)
— Auto fallthrough, channel ‘PJSIP/2000-00000008’ status is ‘CHANUNAVAIL’
this is how it is configured
[udp-transport]
type=transport
protocol=udp
bind=0.0.0.0:5061
allow_reload=true
;===============Шаблон отдела маркетинга
[marketing-endpoint](!)
type=endpoint
transport=udp-transport
context=outcoling
disallow=all
allow=alaw
[pass-auth](!)
type=auth
auth_type=userpass
[two-contact-aor](!)
type=aor
max_contacts=2
;===============Добавочный номер 2000
[2000](marketing-endpoint)
auth=auth2000
aors=2000
[auth2000](pass-auth)
password=2000
username=2000
[2000](two-contact-aor)
[sipnet]
type=registration
transport=udp-transport
outbound_auth=sipnet
server_uri=sip:92.46.61.21
client_uri=sip:12325455562 at sip.telecom.kz
retry_interval=60
[sipnet]
type=auth
auth_type=userpass
password=123456789
username=12325455562
[sipnet]
type=aor
contact=sip:92.46.61.21:5061
[sipnet]
type=endpoint
transport=udp-transport
context=incoming
disallow=all
allow=alaw,ulaw
outbound_auth=sipnet
aors=sipnet
[sipnet]
type=identify
endpoint=sipnet
match=92.46.61.21
Dioplan
[outcoling]
exten => _XXXXXXXXXXX,1,Dial(PJSIP/${EXTEN}@sipnet)
exten => _XXXX,1,Dial(PJSIP/${EXTEN},,m)
[incoming]
exten => _X.,1,Dial(PJSIP/2000,60,m,tT)
What could be wrong? thank you for your attention
was:Please tell me what could be the problem everything is set up it is written there is registration
> pjsip is not working correctly
> ------------------------------
>
> Key: ASTERISK-29670
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29670
> Project: Asterisk
> Issue Type: Information Request
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 18.6.0
> Environment: centos8
> Reporter: anri_reno
>
> Please tell me what could be the problem everything is set up it is written there is registration asterisk*CLI> pjsip show registrations
> ==========================================================================================
> sipnet/sip:92.46.61.21 sipnet Registered
> Objects found: 1
> When you call any number, this is the output you get
> asterisk*CLI>
> — Auto fallthrough, channel ‘PJSIP/2000-00000006’ status is ‘CHANUNAVAIL’
> — Executing [87002239332 at outcoling:1] Dial(“PJSIP/2000-00000008”, “PJSIP/87772239332 at sipnet”) in new stack
> — Called PJSIP/87002239332 at sipnet
> == Everyone is busy/congested at this time (1:0/0/1)
> — Auto fallthrough, channel ‘PJSIP/2000-00000008’ status is ‘CHANUNAVAIL’
> this is how it is configured
> [udp-transport]
> type=transport
> protocol=udp
> bind=0.0.0.0:5061
> allow_reload=true
> ;===============Шаблон отдела маркетинга
> [marketing-endpoint](!)
> type=endpoint
> transport=udp-transport
> context=outcoling
> disallow=all
> allow=alaw
> [pass-auth](!)
> type=auth
> auth_type=userpass
> [two-contact-aor](!)
> type=aor
> max_contacts=2
> ;===============Добавочный номер 2000
> [2000](marketing-endpoint)
> auth=auth2000
> aors=2000
> [auth2000](pass-auth)
> password=2000
> username=2000
> [2000](two-contact-aor)
> [sipnet]
> type=registration
> transport=udp-transport
> outbound_auth=sipnet
> server_uri=sip:92.46.61.21
> client_uri=sip:12325455562 at sip.telecom.kz
> retry_interval=60
> [sipnet]
> type=auth
> auth_type=userpass
> password=123456789
> username=12325455562
> [sipnet]
> type=aor
> contact=sip:92.46.61.21:5061
> [sipnet]
> type=endpoint
> transport=udp-transport
> context=incoming
> disallow=all
> allow=alaw,ulaw
> outbound_auth=sipnet
> aors=sipnet
> [sipnet]
> type=identify
> endpoint=sipnet
> match=92.46.61.21
> Dioplan
> [outcoling]
> exten => _XXXXXXXXXXX,1,Dial(PJSIP/${EXTEN}@sipnet)
> exten => _XXXX,1,Dial(PJSIP/${EXTEN},,m)
> [incoming]
> exten => _X.,1,Dial(PJSIP/2000,60,m,tT)
> What could be wrong? thank you for your attention
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list