Manual Outbound not working. Please guide and help

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Manual Outbound not working. Please guide and help

Postby Salahi » Wed Jan 24, 2024 2:13 am

Hi,

I need your help on what's the correct configuration that I need to use so I can do an outbound call? Here's my current setup including the version of my ViciDial server:

Registration String:
register => register => Salahi:xxxxxxxxxxx@as1.doorvaani.com:5060

Account Entry:
[Salahi]
type=peer
port=5060
nat=yes
insecure=invite
ignoresdpversion=yes
username=Salahi
secret=xxxxxxxxxxxx
host=as1.doorvaani.com
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
allow=ulaw
allow=alaw
allow=g729

Globals String: TESTSIPTRUNK = SIP/Salahi

exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@Salahi,,tTo)
exten => _91XXXXXXXXXX,3,Hangup

VERSION: 2.14-904a
BUILD: 231204-0858
© 2023 ViciDial Group

The carrier successfully registered. However, when I tried to perform an outbound calls, the Asterisk logs always shows below and the calls didn't go thru:

<--- Transmitting (NAT) to 192.168.142.1:51357 --->
[Jan 22 16:22:30] SIP/2.0 401 Unauthorized
[Jan 22 16:22:30] Via: SIP/2.0/UDP 192.168.142.1:51357;branch=z9hG4bK-524287-1---1b15ff4914598574;received=192.168.142.1;rport=51357
[Jan 22 16:22:30] From: "7252401324"<sip:1001@192.168.142.130;transport=UDP>;tag=9d710949
[Jan 22 16:22:30] To: "7252401324"<sip:1001@192.168.142.130;transport=UDP>;tag=as17cd8a0d
[Jan 22 16:22:30] Call-ID: TXWLfAUzSWx-c3ZWanpD6w..
[Jan 22 16:22:30] CSeq: 31 REGISTER
[Jan 22 16:22:30] Server: Asterisk PBX 16.30.0-vici
[Jan 22 16:22:30] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Jan 22 16:22:30] Supported: replaces, timer
[Jan 22 16:22:30] WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="228de381"
[Jan 22 16:22:30] Content-Length: 0


<--- SIP read from UDP:52.19.173.147:5060 --->
[Jan 22 16:22:53] SIP/2.0 404 Not Found
[Jan 22 16:22:53] Via: SIP/2.0/UDP 223.233.74.123:5060;rport=4948;received=223.233.77.80;branch=z9hG4bK0ed5e88f
[Jan 22 16:22:53] From: "asterisk" <sip:asterisk@223.233.74.123>;tag=as1138555c
[Jan 22 16:22:53] To: <sip:as1.doorvaani.com>;tag=as7af93eba
[Jan 22 16:22:53] Call-ID: 053caf9d6a609e4e5a68342b48ed083c@223.233.74.123:5060
[Jan 22 16:22:53] CSeq: 102 OPTIONS
[Jan 22 16:22:53] Server: Asterisk PBX 13.5.0
[Jan 22 16:22:53] Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH,MESSAGE
[Jan 22 16:22:53] Supported: replaces,timer
[Jan 22 16:22:53] Accept: application/sdp
[Jan 22 16:22:53] Content-Length: 0
[Jan 22 16:22:53]
[Jan 22 16:22:53] <------------->
[Jan 22 16:22:53] --- (11 headers 0 lines) ---
[Jan 22 16:22:53] Really destroying SIP dialog '053caf9d6a609e4e5a68342b48ed083c@223.233.74.123:5060' Method: OPTIONS

Hope you can help me. Thank you in advance!
Last edited by Salahi on Wed Jan 24, 2024 11:39 pm, edited 1 time in total.
Salahi
 
Posts: 3
Joined: Sun Jan 21, 2024 1:01 am

Re: Manual Outbound not working. Please guide and help

Postby carpenox » Wed Jan 24, 2024 9:26 am

Edit out your personal info and set a caller id then you should be fine
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Manual Outbound not working. Please guide and help

Postby Salahi » Wed Jan 24, 2024 11:33 am

Caller ID is already set to 7252401324 but then also error is coming
Salahi
 
Posts: 3
Joined: Sun Jan 21, 2024 1:01 am

Re: Manual Outbound not working. Please guide and help

Postby carpenox » Wed Jan 24, 2024 5:00 pm

Edit your personal info bro, your username and password, your IPs, someone gonna use your account
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Manual Outbound not working. Please guide and help

Postby Salahi » Wed Jan 24, 2024 11:40 pm

Done brother. If you can pls guide me on the error part
Salahi
 
Posts: 3
Joined: Sun Jan 21, 2024 1:01 am

Re: Manual Outbound not working. Please guide and help

Postby carpenox » Fri Jan 26, 2024 12:40 am

your carrier isnt allowing the call from that DID, you need to get with them to see why the call is being rejected
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 94 guests