INBOUND Not configuring properly

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

INBOUND Not configuring properly

Postby rohitrmenon » Fri Mar 11, 2011 11:55 pm

Hi there i am not able to configure IAX inbound DID... Please help me
Asterisk CLI> -- Accepting AUTHENTICATED call from xxx.xxx.xxx.xxx:
> requested format = ulaw,
> requested prefs = (ulaw|gsm),
> actual format = ulaw,
> host prefs = (alaw|ulaw),
> priority = mine
-- Executing [11234567890@trunkinbound:1] AGI("IAX2/1234567890-12473", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
== Auto fallthrough, channel 'IAX2/1234567890-12473' status is 'UNKNOWN'
-- Executing [h@trunkinbound:1] DeadAGI("IAX2/1234567890-12473", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'IAX2/1234567890-12473'





I have read the full manual which i purchased from eflo.net i done it from GUI interface didn't change any setting on Extension.conf or any conf files....
Please help me with that

Carrier ID: VSP
Registration String: register => 1234567890:password@xxx.xxx.xxx.xxx:4569
Template ID: None
Account Entry:
[1234567890]
disallow=all
allow=alaw
allow=ulaw
type=friend
username=1234567890
secret=xxxxxx
host=xxx.xxx.xxx.xxx
context=trunkinbound
qualify=1000

Protocol: IAX2
Globals String:IAXTRUNK = IAX2/1234567890

Dialplan Entry: Is Blank
Last edited by rohitrmenon on Sat Mar 12, 2011 3:17 pm, edited 1 time in total.
rohitrmenon
 
Posts: 24
Joined: Mon Nov 30, 2009 8:41 am

Postby williamconley » Sat Mar 12, 2011 11:53 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.

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

3) Could you (in addition to posting your specs, which is required!) also post the standard CLI output during this inbound call (without the IAX debug included)? If it doesn't show anything interesting, you can also post the agi debug information and investigate /var/log/astguiclient and determine what the agi script's decisionmaking process resulted in 8)
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!)

Postby rohitrmenon » Sun Mar 13, 2011 3:10 pm

[Mar 13 16:02:01] VERBOSE[12665] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 16:02:06] VERBOSE[12704] logger.c: == Parsing '/etc/asterisk/manager.conf': [Mar 13 16:02:06] VERBOSE[12704] logger.c: Found
[Mar 13 16:02:06] VERBOSE[12704] logger.c: == Manager 'sendcron' logged on from 127.0.0.1
[Mar 13 16:02:06] VERBOSE[12704] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 16:02:06] VERBOSE[12673] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
[Mar 13 16:02:18] VERBOSE[3417] logger.c: -- Accepting AUTHENTICATED call from 206.128.94.51:
> requested format = ulaw,
> requested prefs = (ulaw|gsm),
> actual format = ulaw,
> host prefs = (ulaw),
> priority = mine
[Mar 13 16:02:18] VERBOSE[12775] logger.c: -- Executing [12489360208@trunkinbound:1] AGI("IAX2/2489360208-1596", "agi-DID_route.agi") in new stack
[Mar 13 16:02:18] VERBOSE[12775] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Mar 13 16:02:18] ERROR[12775] utils.c: write() returned error: Broken pipe
[Mar 13 16:02:18] ERROR[12775] utils.c: write() returned error: Broken pipe
[Mar 13 16:02:18] VERBOSE[12775] logger.c: -- AGI Script agi-DID_route.agi completed, returning 0
[Mar 13 16:02:18] VERBOSE[12775] logger.c: -- Executing [9998811112@default:1] Wait("IAX2/2489360208-1596", "2") in new stack
[Mar 13 16:02:20] VERBOSE[12775] logger.c: -- Executing [9998811112@default:2] Answer("IAX2/2489360208-1596", "") in new stack
[Mar 13 16:02:20] VERBOSE[12775] logger.c: -- Executing [9998811112@default:3] Playback("IAX2/2489360208-1596", "ss-noservice") in new stack
[Mar 13 16:02:20] VERBOSE[12775] logger.c: -- Playing 'ss-noservice' (language 'en')
[Mar 13 16:02:20] VERBOSE[12775] logger.c: == Spawn extension (default, 9998811112, 3) exited non-zero on 'IAX2/2489360208-1596'
[Mar 13 16:02:20] VERBOSE[12775] logger.c: -- Executing [h@default:1] DeadAGI("IAX2/2489360208-1596", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Mar 13 16:02:20] VERBOSE[12775] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 13 16:02:20] VERBOSE[12775] logger.c: -- Hungup 'IAX2/2489360208-1596'
[Mar 13 16:02:24] VERBOSE[3372] logger.c: -- Accepting AUTHENTICATED call from 206.128.94.51:
> requested format = ulaw,
> requested prefs = (ulaw|gsm),
> actual format = ulaw,
> host prefs = (ulaw),
> priority = mine
[Mar 13 16:02:24] VERBOSE[12818] logger.c: -- Executing [12489360208@trunkinbound:1] AGI("IAX2/2489360208-384", "agi-DID_route.agi") in new stack
[Mar 13 16:02:24] VERBOSE[12818] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Mar 13 16:02:24] ERROR[12818] utils.c: write() returned error: Broken pipe
[Mar 13 16:02:24] ERROR[12818] utils.c: write() returned error: Broken pipe
[Mar 13 16:02:24] VERBOSE[12818] logger.c: -- AGI Script agi-DID_route.agi completed, returning 0
[Mar 13 16:02:24] VERBOSE[12818] logger.c: -- Executing [9998811112@default:1] Wait("IAX2/2489360208-384", "2") in new stack
[Mar 13 16:02:26] VERBOSE[12818] logger.c: -- Executing [9998811112@default:2] Answer("IAX2/2489360208-384", "") in new stack
[Mar 13 16:02:26] VERBOSE[12818] logger.c: -- Executing [9998811112@default:3] Playback("IAX2/2489360208-384", "ss-noservice") in new stack
[Mar 13 16:02:26] VERBOSE[12818] logger.c: -- Playing 'ss-noservice' (language 'en')
[Mar 13 16:02:31] VERBOSE[12818] logger.c: -- Executing [9998811112@default:4] Playback("IAX2/2489360208-384", "vm-goodbye") in new stack
[Mar 13 16:02:31] VERBOSE[12818] logger.c: -- Playing 'vm-goodbye' (language 'en')
[Mar 13 16:02:32] VERBOSE[12818] logger.c: -- Executing [9998811112@default:5] Hangup("IAX2/2489360208-384", "") in new stack
[Mar 13 16:02:32] VERBOSE[12818] logger.c: == Spawn extension (default, 9998811112, 5) exited non-zero on 'IAX2/2489360208-384'
[Mar 13 16:02:32] VERBOSE[12818] logger.c: -- Executing [h@default:1] DeadAGI("IAX2/2489360208-384", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Mar 13 16:02:32] VERBOSE[12818] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 13 16:02:32] VERBOSE[12818] logger.c: -- Hungup 'IAX2/2489360208-384'





above is my live cli.....

goautodial CE2.0 from .iso | VERSION: 2.2.1-237 BUILD: 100510-2015 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

i am new to this..... how to pull out he agi log ?
rohitrmenon
 
Posts: 24
Joined: Mon Nov 30, 2009 8:41 am

Postby rohitrmenon » Sun Mar 13, 2011 3:13 pm

is this what u are looking for ?
2011-03-13 15:23:19|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300044199.18',channel='IAX2/2489360208-530',server_ip='xxx.xxx.xxx.xxx',caller_id_number='2489361070',caller_id_name='SOUTHFIELD_MI',extension='12489360208',call_date='2011-03-13 15:23:19',did_id='1',did_route='EXTEN';|
2011-03-13 15:23:19|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300044199.18',channel='IAX2/2489360208-530',server_ip='xxx.xxx.xxx.xxx',caller_id_number='2489361070',caller_id_name='SOUTHFIELD_MI',extension='12489360208',call_date='2011-03-13 15:23:19',did_id='1',did_route='EXTEN';|
2011-03-13 15:23:19|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300044199.18', channel='IAX2/2489360208-530', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='2489361070', start_time='2011-03-13 15:23:19', start_epoch='1300044199';|
2011-03-13 15:23:19|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 15:45:05|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300045505.4',channel='IAX2/2489360208-4943',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:45:05',did_id='1',did_route='EXTEN';|
2011-03-13 15:45:05|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300045505.4',channel='IAX2/2489360208-4943',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:45:05',did_id='1',did_route='EXTEN';|
2011-03-13 15:45:05|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300045505.4', channel='IAX2/2489360208-4943', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 15:45:05', start_epoch='1300045505';|
2011-03-13 15:45:05|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 15:45:41|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300045541.5',channel='IAX2/2489360208-3801',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:45:41',did_id='1',did_route='EXTEN';|
2011-03-13 15:45:41|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300045541.5',channel='IAX2/2489360208-3801',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:45:41',did_id='1',did_route='EXTEN';|
2011-03-13 15:45:41|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300045541.5', channel='IAX2/2489360208-3801', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 15:45:41', start_epoch='1300045541';|
2011-03-13 15:45:41|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 15:48:07|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300045687.6',channel='IAX2/2489360208-358',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:48:07',did_id='1',did_route='EXTEN';|
2011-03-13 15:48:07|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300045687.6',channel='IAX2/2489360208-358',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:48:07',did_id='1',did_route='EXTEN';|
2011-03-13 15:48:07|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300045687.6', channel='IAX2/2489360208-358', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 15:48:07', start_epoch='1300045687';|
2011-03-13 15:48:07|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 15:50:25|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300045825.7',channel='IAX2/2489360208-390',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:50:25',did_id='1',did_route='EXTEN';|
2011-03-13 15:50:25|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300045825.7',channel='IAX2/2489360208-390',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:50:25',did_id='1',did_route='EXTEN';|
2011-03-13 15:50:25|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300045825.7', channel='IAX2/2489360208-390', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 15:50:25', start_epoch='1300045825';|
2011-03-13 15:50:25|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 15:52:27|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300045947.11',channel='IAX2/2489360208-3195',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:52:27',did_id='1',did_route='EXTEN';|
2011-03-13 15:52:27|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300045947.11',channel='IAX2/2489360208-3195',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:52:27',did_id='1',did_route='EXTEN';|
2011-03-13 15:52:27|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300045947.11', channel='IAX2/2489360208-3195', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 15:52:27', start_epoch='1300045947';|
2011-03-13 15:52:27|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 15:53:26|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300046006.12',channel='IAX2/2489360208-3936',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:53:26',did_id='1',did_route='EXTEN';|
2011-03-13 15:53:26|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300046006.12',channel='IAX2/2489360208-3936',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:53:26',did_id='1',did_route='EXTEN';|
2011-03-13 15:53:26|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300046006.12', channel='IAX2/2489360208-3936', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 15:53:26', start_epoch='1300046006';|
2011-03-13 15:53:26|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 15:55:00|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300046100.13',channel='IAX2/2489360208-922',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:55:00',did_id='1',did_route='EXTEN';|
2011-03-13 15:55:00|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300046100.13',channel='IAX2/2489360208-922',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 15:55:00',did_id='1',did_route='EXTEN';|
2011-03-13 15:55:00|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300046100.13', channel='IAX2/2489360208-922', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 15:55:00', start_epoch='1300046100';|
2011-03-13 15:55:00|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 16:02:18|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300046538.14',channel='IAX2/2489360208-1596',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 16:02:18',did_id='1',did_route='EXTEN';|
2011-03-13 16:02:18|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300046538.14',channel='IAX2/2489360208-1596',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 16:02:18',did_id='1',did_route='EXTEN';|
2011-03-13 16:02:18|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300046538.14', channel='IAX2/2489360208-1596', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 16:02:18', start_epoch='1300046538';|
2011-03-13 16:02:18|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default
2011-03-13 16:02:24|agi-DID_route.agi||INSERT INTO vicidial_did_log SET uniqueid='1300046544.15',channel='IAX2/2489360208-384',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 16:02:24',did_id='1',did_route='EXTEN';|
2011-03-13 16:02:24|agi-DID_route.agi|-- DID LOG : |1|INSERT INTO vicidial_did_log SET uniqueid='1300046544.15',channel='IAX2/2489360208-384',server_ip='xxx.xxx.xxx.xxx',caller_id_number='5109967199',caller_id_name='SANDHU_PRO_AUTO',extension='12489360208',call_date='2011-03-13 16:02:24',did_id='1',did_route='EXTEN';|
2011-03-13 16:02:24|agi-DID_route.agi|-- CALL LOG : |1|INSERT INTO call_log SET uniqueid='1300046544.15', channel='IAX2/2489360208-384', channel_group='DID_INBOUND', server_ip='xxx.xxx.xxx.xxx', type='IAX2', extension='12489360208', number_dialed='12489360208', caller_code='5109967199', start_time='2011-03-13 16:02:24', start_epoch='1300046544';|
2011-03-13 16:02:24|agi-DID_route.agi|exiting the DID app, transferring call to 9998811112 @ default


agi-DID_route.agi:

#[trunkinbound]
# ;inbound DID catch-all:
#exten => _X.,1,AGI(agi-DID_route.agi)
#
rohitrmenon
 
Posts: 24
Joined: Mon Nov 30, 2009 8:41 am

Postby williamconley » Sun Mar 13, 2011 4:00 pm

[Mar 13 16:02:20] VERBOSE[12775] logger.c: -- Executing [9998811112@default:3] Playback("IAX2/2489360208-1596", "ss-noservice") in new stack
worked perfectly. you have the default setting which is set to play "ss-noservice" and hang up. (that's the default inbound did extension).

if you want it to do something ELSE, read the manual on how to configure a DID, and be sure you change the DEFAULT one as well in case your idea of the exact DID string doesn't mesh with your provider's idea (if you are off by as much as one digit or character it will not match and it will end up in default ... so make sure your default is pointed to the ingroup you want "by default").
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!)

Postby rohitrmenon » Sun Mar 13, 2011 4:28 pm

[Resolved];

Thank you very much!!! its working perfect....now am able to receive calls....
but another issue came to picture!!!! i am not able to make outbound call from vicidial!!!! when i disable the inbound carier i wll able to make calls.....

[Inbound]
this carrier is one way only inbound
[outbound]
this is only for outbound....
both is from same service provider!!! and both are IAX2....
rohitrmenon
 
Posts: 24
Joined: Mon Nov 30, 2009 8:41 am

Postby williamconley » Sun Mar 13, 2011 4:46 pm

you do not make two carriers in vicidial for one provider.

all you do is change "context=trunkinbound" instead of making an inbound provider

that is the ONLY use for that setting (context=xxxx is IGNORED for outbound carriers, so it should only ever bet set to trunkinbound unless you want to BLOCK inbound from that provider)
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!)

Postby rohitrmenon » Sun Mar 13, 2011 5:13 pm

but inbound number ext from Service provide only support inbound call traffic so we already created an outbound only ext on our service provider end!!!
i can see the Asterisk cli showing the call are going through the inbound trunks.... i didn't create any Dialplan Entry:


but in the another trunk i have created it
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${IAXTRUNK}/${EXTEN:1},55,o)
exten => _91NXXNXXXXXX,3,Hangup

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



Astrisk CLI>

Verbosity is at least 3
-- Executing [91xxxxxxxxxx@default:1] AGI("SIP/1001-00000001", "agi://127.0. 0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [91xxxxxxxxxx@default:2] Dial("SIP/1001-00000001",
"IAX2/incoming trunk/1xxxxxxxxxx|55|o") in new stack
[Mar 13 18:10:54] WARNING[4403]: app_dial.c:1296 dial_exec_full: Unable to creat e channel of type 'IAX2' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [91xxxxxxxxxx@default:3] Hangup("SIP/1001-00000001", "") in new stack
== Spawn extension (default, 91xxxxxxxxxx, 3) exited non-zero on 'SIP/1001-000 00001'
-- Executing [h@default:1] DeadAGI("SIP/1001-00000001", "agi://127.0.0.1:457 7/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----2 0-----CHANUNAVAIL---------- completed, returning 0
rohitrmenon
 
Posts: 24
Joined: Mon Nov 30, 2009 8:41 am

Postby williamconley » Sun Mar 13, 2011 5:22 pm

put the system back to how it was when outbound worked

then in the outbound carrier change context=?? to context=trunkinbound (if the line is missing add it, if the line has some other value CHANGE the value to trunkinbound). get back to me with the results of that experiment.

if it does NOT work, post the contents of your carriers (both of them) from when each worked
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!)

Postby rohitrmenon » Sun Mar 13, 2011 5:33 pm

Both never worked: only one will work either inbound or outbound

My trunk configuration :
Registration String:register => username:password@xxx.xxx.xxx.xxx/username

[username]
disallow=all
allow=alaw
allow=ulaw
type=friend
username=username
secret=password
host=xxx.xxx.xxx.xxx
dtmfmode=inband
context=trunkinbound
qualify=1000

Globals String: IAXTRUNK = IAX2/username

dialplanentry:
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${IAXTRUNK}/${EXTEN:1},55,o)
exten => _91NXXNXXXXXX,3,Hangup

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


Where : 912547896555 says "dialed number" and where username is the username of the registration strings....


-- Executing [912547896555@default:1] AGI("SIP/1001-00000006", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [912547896555@default:2] Dial("SIP/1001-00000006", "IAX2/username/12547896555|55|o") in new stack
-- Called username/12547896555
-- Hungup 'IAX2/username-1510'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [912547896555@default:3] Hangup("SIP/1001-00000006", "") in new stack
== Spawn extension (default, 912547896555, 3) exited non-zero on 'SIP/1001-00000006'
-- Executing [h@default:1] DeadAGI("SIP/1001-00000006", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 13 18:26:37] NOTICE[5213]: rtp.c:1339 ast_rtp_read: Unknown RTP codec 126 received from '172.17.87.14'
-- Executing [912547896555@default:1] AGI("SIP/1001-00000007", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [912547896555@default:2] Dial("SIP/1001-00000007", "IAX2/username/12547896555|55|o") in new stack
-- Called username/12547896555
-- Hungup 'IAX2/username-1700'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [912547896555@default:3] Hangup("SIP/1001-00000007", "") in new stack
== Spawn extension (default, 912547896555, 3) exited non-zero on 'SIP/1001-00000007'
-- Executing [h@default:1] DeadAGI("SIP/1001-00000007", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1001-00000002'
-- Executing [h@default:1] DeadAGI("SIP/1001-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Executing [912547896555@default:1] AGI("SIP/1001-00000008", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [912547896555@default:2] Dial("SIP/1001-00000008", "IAX2/username/12547896555|55|o") in new stack
-- Called username/12547896555
-- Hungup 'IAX2/username-1452'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [912547896555@default:3] Hangup("SIP/1001-00000008", "") in new stack
== Spawn extension (default, 912547896555, 3) exited non-zero on 'SIP/1001-00000008'
-- Executing [h@default:1] DeadAGI("SIP/1001-00000008", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Executing [912547896555@default:1] AGI("SIP/1001-00000009", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [912547896555@default:2] Dial("SIP/1001-00000009", "IAX2/username/12547896555|55|o") in new stack
-- Called username/12547896555
-- Hungup 'IAX2/username-1877'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [912547896555@default:3] Hangup("SIP/1001-00000009", "") in new stack
== Spawn extension (default, 912547896555, 3) exited non-zero on 'SIP/1001-00000009'
-- Executing [h@default:1] DeadAGI("SIP/1001-00000009", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Executing [912547896555@default:1] AGI("SIP/1001-0000000a", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [912547896555@default:2] Dial("SIP/1001-0000000a", "IAX2/username/12547896555|55|o") in new stack
-- Called username/12547896555
-- Hungup 'IAX2/username-6405'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [912547896555@default:3] Hangup("SIP/1001-0000000a", "") in new stack
== Spawn extension (default, 912547896555, 3) exited non-zero on 'SIP/1001-0000000a'
-- Executing [h@default:1] DeadAGI("SIP/1001-0000000a", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Executing [912547896555@default:1] AGI("SIP/1001-0000000b", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [912547896555@default:2] Dial("SIP/1001-0000000b", "IAX2/username/12547896555|55|o") in new stack
-- Called username/12547896555
-- Hungup 'IAX2/username-489'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [912547896555@default:3] Hangup("SIP/1001-0000000b", "") in new stack
== Spawn extension (default, 912547896555, 3) exited non-zero on 'SIP/1001-0000000b'
-- Executing [h@default:1] DeadAGI("SIP/1001-0000000b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Executing [912547896555@default:1] AGI("SIP/1001-0000000c", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [912547896555@default:2] Dial("SIP/1001-0000000c", "IAX2/username/12547896555|55|o") in new stack
-- Called username/12547896555
-- Hungup 'IAX2/username-21'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [912547896555@default:3] Hangup("SIP/1001-0000000c", "") in new stack
== Spawn extension (default, 912547896555, 3) exited non-zero on 'SIP/1001-0000000c'
-- Executing [h@default:1] DeadAGI("SIP/1001-0000000c", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
rohitrmenon
 
Posts: 24
Joined: Mon Nov 30, 2009 8:41 am

Thanks william

Postby rohitrmenon » Sun Mar 13, 2011 5:51 pm

Thanks its working fine!!!!
I have change the service provider to another service provider for outbound!!!!! now bot incoming and outgoing is working perfect!!!!!

thank you for your gr8 support sir... really really really appreciate!!!
rohitrmenon
 
Posts: 24
Joined: Mon Nov 30, 2009 8:41 am

Postby williamconley » Sun Mar 13, 2011 6:00 pm

i meant to show the value of each when it worked, so i could help you combine them. 8)

also: i DO recommend you have AT LEAST THREE outbound carriers online and tested with FULL LOAD so you can avoid any possible downtime. So now you have two, get a third!
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 ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 97 guests