IAX Trunk setting

All installation and configuration problems and questions

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

IAX Trunk setting

Postby manfire » Sun Aug 01, 2010 3:45 pm

This is debug asterisk call


[Aug 1 22:35:52] NOTICE[2216]: chan_local.c:511 local_call: No such extension/context 90033954854508@default while calling Local channel
[Aug 1 22:35:52] NOTICE[2216]: channel.c:3312 __ast_request_and_dial: Unable to call channel Local/90033954854508@default
[Aug 1 22:35:52] == Parsing '/etc/asterisk/manager.conf': [Aug 1 22:35:52] Found
[Aug 1 22:35:52] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 1 22:35:52] NOTICE[2219]: chan_local.c:511 local_call: No such extension/context 90033952858280@default while calling Local channel
[Aug 1 22:35:52] NOTICE[2219]: channel.c:3312 __ast_request_and_dial: Unable to call channel Local/90033952858280@default
[Aug 1 22:35:52] == Parsing '/etc/asterisk/manager.conf': [Aug 1 22:35:52] Found
[Aug 1 22:35:52] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 1 22:35:52] NOTICE[2220]: chan_local.c:511 local_call: No such extension/context 90033952858277@default while calling Local channel
[Aug 1 22:35:52] NOTICE[2220]: channel.c:3312 __ast_request_and_dial: Unable to call channel Local/90033952858277@default



My trunk is IAX2

[test]
disallow=all
allow=g729
type=peer
username=***********
secret=********
host=*********


exten => _9NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXXXXX,2,Dial(${TESTIAXTRUNK}/${EXTEN:2},,tTor)
exten => _9NXXXXXX,3,Hangup


I need for help to do this problem
manfire
 
Posts: 9
Joined: Fri Jul 30, 2010 9:09 am

Postby okli » Mon Aug 02, 2010 10:32 am

You are calling 003395285xxxx, with added prefix 9 by vicidial.
So you'd need to have a suitable entry in your dialplan, _9NXXXXXX is not such, _900339XXXXXXXX seems better, adjust accordingly:
http://www.voip-info.org/wiki/view/Aste ... n+Patterns

Code: Select all
exten => _900339XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900339XXXXXXXX,2,Dial(${TESTIAXTRUNK}/${EXTEN:1},,To)
exten => _900339XXXXXXXX,3,Hangup
Canadian leads generation, raw ~10 mill. leads, top quality fresh leads each month.
okli
 
Posts: 570
Joined: Mon Oct 01, 2007 5:09 pm

Postby williamconley » Mon Aug 02, 2010 1:29 pm

and you should identify what parts of the extension will be expected/required by your voip provider.

sample breakdown: (i don't know where you are dailing so i'm just guessing)

9 = dial prefix from campaign, used to bring the call to this "Carrier" in admin->carriers, then discarded (by exten:1, the :1 means discard the first digit) because the voip provider does not want it

00 = indicates international dialing, should be passed to the provider if they expect it (so leave exten:1 ... if the provider does not want it, change to exten:3)

339 = country code (required by provider)

XXXXXXXX = actual phone number (also required)

this could also be exten:

900XXXXXXXXXXX to allow dialing other 3 digit country codes without adding new extens.
Vicidial Installation - SugarCRM integration - Customization and Add-ons
We Bring It All Together.
www.PoundTeam.com
williamconley
 
Posts: 14200
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 5 guests