iax2 inboud dial plan

All installation and configuration problems and questions

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

iax2 inboud dial plan

Postby dreedy » Tue Dec 18, 2018 5:55 pm

Hello Everyone,

I have worked with SIP outbound and inbound. I have also worked with IAX2 outbound dial plan. I am trying to setup a dialplan for IAX2 inbound but am not having any luck getting the call to route through my dialplan and i think i am on the wrong path. I am wondering if anyone has an example of an inbound dialplan that would work with binfone? if have a IAX debug turned on and this is the output i am getting at this time. i have changed an hidden the phone number and ip address in here.


Thanks,


Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00043ms SCall: 17722 DCall: 00000 xxx.xxx.xx.xx:4569
VERSION : 2
CALLED NUMBER : 1111111111
CODEC_PREFS : (ulaw|gsm)
CALLING NUMBER : 1111111111
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : Systems_Inc_Eon
LANGUAGE : en
USERNAME : 1111111111
FORMAT : 4
CAPABILITY : 1799
ADSICPE : 2
DATE TIME : 2018-12-18 17:48:58
CALLTOKEN : 51 bytes

Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00043ms SCall: 01746 DCall: 17722 xxx.xxx.xx.xx:4569
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00008ms SCall: 01746 DCall: 17722 xxx.xxx.xx.xx:4569
AUTHMETHODS : 1
USERNAME : 1111111111

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00083ms SCall: 17722 DCall: 01746 xxx.xxx.xx.xx:4569
PASSWORD : -------

Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00083ms SCall: 01746 DCall: 17722 xxx.xxx.xx.xx:4569
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 01046ms SCall: 01746 DCall: 17722 xxx.xxx.xx.xx:4569
CAUSE : No authority found
CAUSE CODE : 50
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: iax2 inboud dial plan

Postby ambiorixg12 » Tue Dec 18, 2018 6:01 pm

I dont use IAX, just but your logs clearly shows you have some authentication issues, on your IAX trunk configuration

CAUSE : No authority found
CAUSE CODE : 50
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: iax2 inboud dial plan

Postby dreedy » Wed Dec 19, 2018 10:20 am

Ya i have tried several ways and had no luck that was why i was hoping someone had a working example. I don't use IAX to much.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: iax2 inboud dial plan

Postby williamconley » Wed Dec 19, 2018 12:13 pm

Download Zoiper or KIAX. Set up an IAX Phone in admin -> Phones. Then register your IAX phone and make a few calls. In the iax configuration file you'll see how Vicidial implemented IAX successfully to make that happen. Note that to Asterisk a Phone and a Carrier really aren't different from one another, so you can actually copy those settings from the iax configuration file and modify them to the IP/User/Pass of your carrier pretty easily.

And there are several examples of functional IAX configurations on most asterisk forums as well as buried in the deep past of Vicidial. Been a while since I saw one. IAX carriers are unusual.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: iax2 inboud dial plan

Postby ambiorixg12 » Wed Dec 19, 2018 1:08 pm

dreedy wrote:Ya i have tried several ways and had no luck that was why i was hoping someone had a working example. I don't use IAX to much.


There is not template for configurations IAX2 configuration, because scnarios can be differents, depending on your requiments, if you want to see templates read the sample configuration file http://svn.digium.com/svn/asterisk/trun ... onf.sample
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: iax2 inboud dial plan

Postby dreedy » Wed Dec 19, 2018 3:54 pm

I have resolved this issue. Took me a day an a half to figure it out. We have used IAX outbound with no issues for some time with this carrier. I add this entry into the carrier account entry. This is the fomat i did in that section.

[xxxxxxxxxx] (phone number)
type=user
context=trunkinbound


This add the entry to the iax-vicidial.conf so that even after a reboot the entry persist.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: iax2 inboud dial plan

Postby williamconley » Wed Dec 19, 2018 4:19 pm

dreedy wrote:I have resolved this issue. Took me a day an a half to figure it out. We have used IAX outbound with no issues for some time with this carrier. I add this entry into the carrier account entry. This is the fomat i did in that section.

[xxxxxxxxxx] (phone number)
type=user
context=trunkinbound


This add the entry to the iax-vicidial.conf so that even after a reboot the entry persist.

excellent postback!
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 116 guests