[Home]

Summary:ASTERISK-29670: pjsip is not working correctly
Reporter:anri_reno (anri)Labels:
Date Opened:2021-09-28 01:32:29Date Closed:2021-09-28 01:32:30
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:18.6.0 Frequency of
Occurrence
Related
Issues:
Environment:centos8Attachments:
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@outcoling:1] Dial(“PJSIP/2000-00000008”, “PJSIP/87772239332@sipnet”) in new stack
— Called PJSIP/87002239332@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@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
Comments:By: Asterisk Team (asteriskteam) 2021-09-28 01:32:30.300-0500

We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

If this issue is actually a bug please use the Bug issue type instead.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

By: Asterisk Team (asteriskteam) 2021-09-28 01:32:30.846-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].