Issues with carrier

All installation and configuration problems and questions

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

Issues with carrier

Postby 223552 » Thu Aug 29, 2019 2:08 am

Hi All,

I am having issue with registering carrier. I am not computer literate, so everything was learned from manual/youtube. I have the vicidial installed, and x-lite connected, done inbound group/did, but i am still cant get inbound calls (not checked if outbound works)

If anyone can point me in the right direction?


Carrier settings:
[australianphone]
type=friend
sendrpid=yes
qualify=yes
trustrpid=yes
dtmfmode=rfc2833
host=sip.australianphone.com.au
fromdomain=sip.australianphone.com.au
username=13351
fromuser=13351
secret=BKK9ajP98we3
disallow=all
allow=alaw
context=trunkinbound
nat=yes

Global : australianphone=sip/australianphone

Dialplan:
exten => _961XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _961XXXXXXXXX,2,Dial(${australianphone}/${EXTEN:1},,tTo)
exten => _961XXXXXXXXX,3,Hangup



This is what i copied from aterisk cli:


[Aug 29 17:03:03]
[Aug 29 17:03:03] <--- SIP read from UDP:192.168.1.4:63771 --->
[Aug 29 17:03:03] SIP/2.0 200 OK
[Aug 29 17:03:03] Via: SIP/2.0/UDP 192.168.1.13:5060;branch=z9hG4bK2994242b;rport=5060
[Aug 29 17:03:03] Contact: <sip:192.168.1.4:63771>
[Aug 29 17:03:03] To: <sip:1000@192.168.1.4:63771;rinstance=8d7140c8b13a7cbc>;tag=115edd1c
[Aug 29 17:03:03] From: "asterisk" <sip:asterisk@192.168.1.13>;tag=as4872cb16
[Aug 29 17:03:03] Call-ID: 1310309625cf1ce67574778f20a8edab@192.168.1.13:5060
[Aug 29 17:03:03] CSeq: 102 OPTIONS
[Aug 29 17:03:03] Accept: application/sdp
[Aug 29 17:03:03] Accept-Language: en
[Aug 29 17:03:03] Allow: OPTIONS, SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, MESSAGE
[Aug 29 17:03:03] Supported: replaces
[Aug 29 17:03:03] User-Agent: X-Lite release 5.6.1 stamp 99142
[Aug 29 17:03:03] Allow-Events: talk, hold
[Aug 29 17:03:03] Content-Length: 0
[Aug 29 17:03:03]
[Aug 29 17:03:03] <------------->
[Aug 29 17:03:03] --- (14 headers 0 lines) ---
[Aug 29 17:03:03] Really destroying SIP dialog '1310309625cf1ce67574778f20a8edab@192.168.1.13:5060' Method: OPTIONS
[Aug 29 17:03:05] WARNING[1875]: acl.c:974 ast_ouraddrfor: Cannot connect to 103.12.10.97: Network is unreachable
[Aug 29 17:03:05] Reliably Transmitting (NAT) to 103.12.10.97:5060:
[Aug 29 17:03:05] OPTIONS sip:sip.australianphone.com.au SIP/2.0
[Aug 29 17:03:05] Via: SIP/2.0/UDP 192.168.1.13:5060;branch=z9hG4bK791e8720;rport
[Aug 29 17:03:05] Max-Forwards: 70
[Aug 29 17:03:05] From: "asterisk" <sip:13351@192.168.1.13>;tag=as4b8dd1fd
[Aug 29 17:03:05] To: <sip:sip.australianphone.com.au>
[Aug 29 17:03:05] Contact: <sip:13351@192.168.1.13:5060>
[Aug 29 17:03:05] Call-ID: 3fa73c3e46dd19ec1dfd373e1696f8d3@192.168.1.13:5060
[Aug 29 17:03:05] CSeq: 102 OPTIONS
[Aug 29 17:03:05] User-Agent: Asterisk PBX 13.21.1-vici
[Aug 29 17:03:05] Date: Thu, 29 Aug 2019 07:03:05 GMT
[Aug 29 17:03:05] Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
[Aug 29 17:03:05] Supported: replaces, timer
[Aug 29 17:03:05] Content-Length: 0
[Aug 29 17:03:05]
[Aug 29 17:03:05]
[Aug 29 17:03:05] ---
[Aug 29 17:03:05] WARNING[1875]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x29c3d80 (len 564) to 103.12.10.97:5060 returned -2: Network is unreachable
[Aug 29 17:03:05] ERROR[1875]: chan_sip.c:4270 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data
[Aug 29 17:03:07] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 29 17:03:07] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 29 17:03:08]
[Aug 29 17:03:08] <--- SIP read from UDP:192.168.1.4:63771 --->
[Aug 29 17:03:08]
[Aug 29 17:03:08]


Thank you
223552
 
Posts: 4
Joined: Mon Aug 12, 2019 12:59 am

Re: Issues with carrier

Postby boybawang » Thu Aug 29, 2019 3:49 am

check if the carrier is online by doing a sip show peers
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 988
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: Issues with carrier

Postby ambiorixg12 » Thu Aug 29, 2019 7:17 am

[Aug 29 17:03:05] WARNING[1875]: acl.c:974 ast_ouraddrfor: Cannot connect to 103.12.10.97: Network is unreachable


Fist fix the nextwork issue,this problem is outside Asterisk
ambiorixg12
 
Posts: 448
Joined: Tue Sep 17, 2013 10:35 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 97 guests