Is there something wrong with my dial plan entry?

All installation and configuration problems and questions

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

Is there something wrong with my dial plan entry?

Postby slayer090 » Tue Jan 24, 2012 11:24 am

I got here a problem. If I register at my softphone directly I can made a call, but when I dial thru our vicidial, I am getting an error Call Failed: Not Found. and at the asterisk logs Chanunavalable.

[microtalk]
username=username
secret=secret
disallow=all
allow=ulaw
allow=alaw
context=default
type=peer
host=91.220.132.10
dtmfmode=rfc2833


exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(${MTTRUNK}/${EXTEN},55,Totr)
exten => _X.,3,Hangup


Thank you in advance.
slayer090
 
Posts: 11
Joined: Wed Jan 18, 2012 11:32 am
Location: Laoag City, Philippines

Postby boybawang » Wed Jan 25, 2012 5:36 am

do you have MTTRUNK = SIP/microtalk
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: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Postby slayer090 » Wed Jan 25, 2012 5:49 am

Yes I have. Its on the global string.
slayer090
 
Posts: 11
Joined: Wed Jan 18, 2012 11:32 am
Location: Laoag City, Philippines

cli output

Postby striker » Sat Jan 28, 2012 7:39 am

post the cli result for a single call
also check these commands
sip show peers
sip show registry
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Postby williamconley » Sun Jan 29, 2012 12:08 am

1) Welcome to the party! 8-)

2) when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) Post your entire carrier setup, not just pieces of it, and post a single failed call's asterisk CLI. Ask directions if you don't know how.

4) Avoid "X.", it's lazy and leads to problems. Use an extension that accurately describes your calling country AND allows for a dial prefix to identify your carrier so you can add new carriers later.

5) Please use the Vicidial Manager's Manual as referenced above to set up your system for the first time. Beginning to end, don't skip anything. Makes life much simpler (and you often get to keep much more of your hair). When you hit your first pothole, tell us the page and line of the manual and the error you see (precisely) and we'll help you get past it. ;)
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: Is there something wrong with my dial plan entry?

Postby termite » Wed Jun 27, 2012 1:49 pm

Got the same issue with microtalk too.. i even tested it on my asterisk test server and it still fails.. but if I use a softphone I can make calls.. very puzzling!!! :? :? :?
Cluster | GoAutodial 2.1 Installer | VERSION: 2.4-309a | BUILD: 110430-1642 | No other hardware
termite
 
Posts: 24
Joined: Fri Nov 11, 2011 5:47 pm

Re: Is there something wrong with my dial plan entry?

Postby beghins » Wed Jun 27, 2012 2:28 pm

have you change in to vicidial campagn dial prefix= "white" because default is "9" if you change
from

xten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(${MTTRUNK}/${EXTEN},55,Totr)
exten => _X.,3,Hangup
to

xten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,2,Dial(${MTTRUNK}/${EXTEN},55,Totr)
exten => _9.,3,Hangup

Vicidial use this extensions
Vicibox.x86_64-4.0.3 from .iso | Vicidial 2.6-375a Build 120831-1523 | Asterisk 1.4.44-vici | Cluster Server 1DB + 3 PBX/WEB | No Digium/Sangoma Hardware | No Extra Software After Installation | only SIP VoIP trunk |
beghins
 
Posts: 15
Joined: Wed Jun 27, 2012 3:47 am
Location: Palermo Italy

Re: Is there something wrong with my dial plan entry?

Postby fibres » Sat Jun 30, 2012 7:04 am

It could be that Microtalk do not allow asterisk trunks to register to their service. Have you spoken to them about this?

A post of your call_log would be helpful of the calls failing to check for this.

Also try adding the following to the globals section of your sip.conf on the server

useragent = Firefly

make sure you reload asterisk after making the change. This can make the carrier think your using a softphone and not asterisk.

If this change works then the provider does not support asterisk. This is not advised to be used as a permanent solution as you may well be in breach of your carriers t&c's.

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK


Return to Support

Who is online

Users browsing this forum: No registered users and 134 guests