Can only call internal extensions, no external dialling

All installation and configuration problems and questions

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

Can only call internal extensions, no external dialling

Postby geoffers1 » Thu Feb 23, 2012 8:07 am

I've installed GoAutoDial with the requirement for outbound calling. Campaign has been created, leads loaded into a list, and leads in the hopper.

Zoiper is on the client PC's and this is registered with the server fine, I'm using Node4 SIPUA account and this carrier is active.

However, when I try and dial out I always get extension is not recognised. Calling another extension (8002) works fine and puts me through to their voicemail if no answer.

However, I can't dial out. I can configure my Zoiper client with the Node4 details and this dials out without a problem.

Any pointers please? It's driving me nuts (and the much referenced quick start guide has been read)

Thanks.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Feb 23, 2012 8:13 am

please post your dial plan

cli output when you are attempting to call outside
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Feb 23, 2012 8:27 am

Carrier info is this:

Account entry:

[084541332**]
disallow=all
allow=g729
allow=gsm
allow=ulaw
type=friend
username=084541332**
secret=cr******
host=sipua.sip-link.com
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
nat=yes

Dial plan is this:

exten => _944.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944.,2,Dial(SIP/${EXTEN:1}@08454133296,,tTo)
exten => _944,3,Hangup

CLI when dialling out is this:

[Feb 23 13:20:06] VERBOSE[4837] logger.c: [Feb 23 13:20:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:20:06] VERBOSE[4837] logger.c: [Feb 23 13:20:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:21:01] VERBOSE[5086] logger.c: [Feb 23 13:21:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:21:01] VERBOSE[5086] logger.c: [Feb 23 13:21:01] Found
[Feb 23 13:21:01] VERBOSE[5086] logger.c: [Feb 23 13:21:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:21:01] VERBOSE[5091] logger.c: [Feb 23 13:21:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:21:01] VERBOSE[5091] logger.c: [Feb 23 13:21:01] Found
[Feb 23 13:21:01] VERBOSE[5091] logger.c: [Feb 23 13:21:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:21:01] VERBOSE[5086] logger.c: [Feb 23 13:21:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:21:02] VERBOSE[5091] logger.c: [Feb 23 13:21:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:21:06] VERBOSE[5479] logger.c: [Feb 23 13:21:06] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:21:06] VERBOSE[5479] logger.c: [Feb 23 13:21:06] Found
[Feb 23 13:21:06] VERBOSE[5479] logger.c: [Feb 23 13:21:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:21:06] VERBOSE[5479] logger.c: [Feb 23 13:21:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:22:01] VERBOSE[5620] logger.c: [Feb 23 13:22:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:22:01] VERBOSE[5620] logger.c: [Feb 23 13:22:01] Found
[Feb 23 13:22:01] VERBOSE[5620] logger.c: [Feb 23 13:22:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:22:01] VERBOSE[5627] logger.c: [Feb 23 13:22:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:22:01] VERBOSE[5627] logger.c: [Feb 23 13:22:01] Found
[Feb 23 13:22:01] VERBOSE[5627] logger.c: [Feb 23 13:22:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:22:01] VERBOSE[5627] logger.c: [Feb 23 13:22:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:22:02] VERBOSE[5620] logger.c: [Feb 23 13:22:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:22:06] VERBOSE[6022] logger.c: [Feb 23 13:22:06] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:22:06] VERBOSE[6022] logger.c: [Feb 23 13:22:06] Found
[Feb 23 13:22:06] VERBOSE[6022] logger.c: [Feb 23 13:22:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:22:06] VERBOSE[6022] logger.c: [Feb 23 13:22:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:23:01] VERBOSE[6161] logger.c: [Feb 23 13:23:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:23:01] VERBOSE[6161] logger.c: [Feb 23 13:23:01] Found
[Feb 23 13:23:01] VERBOSE[6161] logger.c: [Feb 23 13:23:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:23:01] VERBOSE[6163] logger.c: [Feb 23 13:23:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:23:01] VERBOSE[6163] logger.c: [Feb 23 13:23:01] Found
[Feb 23 13:23:01] VERBOSE[6163] logger.c: [Feb 23 13:23:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:23:01] VERBOSE[6163] logger.c: [Feb 23 13:23:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:23:02] VERBOSE[6161] logger.c: [Feb 23 13:23:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:23:06] VERBOSE[6563] logger.c: [Feb 23 13:23:06] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:23:06] VERBOSE[6563] logger.c: [Feb 23 13:23:06] Found
[Feb 23 13:23:06] VERBOSE[6563] logger.c: [Feb 23 13:23:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:23:06] VERBOSE[6563] logger.c: [Feb 23 13:23:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:24:01] VERBOSE[6864] logger.c: [Feb 23 13:24:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:24:01] VERBOSE[6864] logger.c: [Feb 23 13:24:01] Found
[Feb 23 13:24:01] VERBOSE[6864] logger.c: [Feb 23 13:24:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:24:01] VERBOSE[6869] logger.c: [Feb 23 13:24:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:24:01] VERBOSE[6869] logger.c: [Feb 23 13:24:01] Found
[Feb 23 13:24:01] VERBOSE[6869] logger.c: [Feb 23 13:24:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:24:01] VERBOSE[6869] logger.c: [Feb 23 13:24:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:24:01] VERBOSE[3448] logger.c: [Feb 23 13:24:01] == Refreshing DNS lookups.
[Feb 23 13:24:02] VERBOSE[6864] logger.c: [Feb 23 13:24:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:24:05] VERBOSE[3448] logger.c: [Feb 23 13:24:05] == Refreshing DNS lookups.
[Feb 23 13:24:06] VERBOSE[7281] logger.c: [Feb 23 13:24:06] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:24:06] VERBOSE[7281] logger.c: [Feb 23 13:24:06] Found
[Feb 23 13:24:06] VERBOSE[7281] logger.c: [Feb 23 13:24:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:24:06] VERBOSE[7281] logger.c: [Feb 23 13:24:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:24:28] VERBOSE[7377] logger.c: [Feb 23 13:24:28] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:24:28] VERBOSE[7377] logger.c: [Feb 23 13:24:28] Found
[Feb 23 13:24:28] VERBOSE[7377] logger.c: [Feb 23 13:24:28] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:24:31] VERBOSE[7377] logger.c: [Feb 23 13:24:31] > Channel SIP/8001-00000000 was answered.
[Feb 23 13:24:31] VERBOSE[7400] logger.c: [Feb 23 13:24:31] -- Executing [8600051@default:1] MeetMe("SIP/8001-00000000", "8600051|F") in new stack
[Feb 23 13:24:31] VERBOSE[7400] logger.c: [Feb 23 13:24:31] == Parsing '/etc/asterisk/meetme.conf': [Feb 23 13:24:31] VERBOSE[7400] logger.c: [Feb 23 13:24:31] Found
[Feb 23 13:24:31] VERBOSE[7400] logger.c: [Feb 23 13:24:31] == Parsing '/etc/asterisk/meetme-vicidial.conf': [Feb 23 13:24:31] VERBOSE[7400] logger.c: [Feb 23 13:24:31] Found
[Feb 23 13:24:31] VERBOSE[7400] logger.c: [Feb 23 13:24:31] -- Created MeetMe conference 1023 for conference '8600051'
[Feb 23 13:24:31] NOTICE[3683] chan_sip.c: Call from '8001' to extension '0000000000' rejected because extension not found.
[Feb 23 13:24:31] VERBOSE[7400] logger.c: [Feb 23 13:24:31] -- Playing 'conf-onlyperson' (language 'en')
[Feb 23 13:24:33] VERBOSE[7377] logger.c: [Feb 23 13:24:33] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:24:51] VERBOSE[7511] logger.c: [Feb 23 13:24:51] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:24:51] VERBOSE[7511] logger.c: [Feb 23 13:24:51] Found
[Feb 23 13:24:51] VERBOSE[7511] logger.c: [Feb 23 13:24:51] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:24:51] VERBOSE[7512] logger.c: [Feb 23 13:24:51] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-b37a,2", "8600051|F") in new stack
[Feb 23 13:24:51] VERBOSE[7511] logger.c: [Feb 23 13:24:51] > Channel Local/8600051@default-b37a,1 was answered.
[Feb 23 13:24:51] VERBOSE[7513] logger.c: [Feb 23 13:24:51] == Starting Local/8600051@default-b37a,1 at default,91158401846,1 failed so falling back to exten 's'
[Feb 23 13:24:51] VERBOSE[7513] logger.c: [Feb 23 13:24:51] == Starting Local/8600051@default-b37a,1 at default,s,1 still failed so falling back to context 'default'
[Feb 23 13:24:51] VERBOSE[7513] logger.c: [Feb 23 13:24:51] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-b37a,1
[Feb 23 13:24:51] VERBOSE[7513] logger.c: [Feb 23 13:24:51] -- Executing [i@default:1] Playback("Local/8600051@default-b37a,1", "invalid") in new stack
[Feb 23 13:24:51] VERBOSE[7513] logger.c: [Feb 23 13:24:51] -- Playing 'invalid' (language 'en')
[Feb 23 13:24:51] WARNING[7513] file.c: Unexpected control subclass '-1'
[Feb 23 13:24:51] WARNING[7513] file.c: Unexpected control subclass '-1'
[Feb 23 13:24:53] VERBOSE[7511] logger.c: [Feb 23 13:24:53] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:24:55] VERBOSE[7513] logger.c: [Feb 23 13:24:55] == Auto fallthrough, channel 'Local/8600051@default-b37a,1' status is 'UNKNOWN'
[Feb 23 13:24:55] VERBOSE[7513] logger.c: [Feb 23 13:24:55] -- Executing [h@default:1] DeadAGI("Local/8600051@default-b37a,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Feb 23 13:24:55] VERBOSE[7513] logger.c: [Feb 23 13:24:55] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 23 13:24:55] VERBOSE[7512] logger.c: [Feb 23 13:24:55] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-b37a,2'
[Feb 23 13:24:55] VERBOSE[7512] logger.c: [Feb 23 13:24:55] -- Executing [h@default:1] DeadAGI("Local/8600051@default-b37a,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Feb 23 13:24:55] VERBOSE[7512] logger.c: [Feb 23 13:24:55] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 23 13:25:00] VERBOSE[7585] logger.c: [Feb 23 13:25:00] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:25:00] VERBOSE[7585] logger.c: [Feb 23 13:25:00] Found
[Feb 23 13:25:00] VERBOSE[7585] logger.c: [Feb 23 13:25:00] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:25:00] VERBOSE[7586] logger.c: [Feb 23 13:25:00] -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-43f4,2", "8600051|K") in new stack
[Feb 23 13:25:00] VERBOSE[7586] logger.c: [Feb 23 13:25:00] -- Executing [55558600051@default:2] Hangup("Local/55558600051@default-43f4,2", "") in new stack
[Feb 23 13:25:00] VERBOSE[7586] logger.c: [Feb 23 13:25:00] == Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-43f4,2'
[Feb 23 13:25:00] VERBOSE[7586] logger.c: [Feb 23 13:25:00] -- Executing [h@default:1] DeadAGI("Local/55558600051@default-43f4,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Feb 23 13:25:00] VERBOSE[7586] logger.c: [Feb 23 13:25:00] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 23 13:25:00] VERBOSE[7400] logger.c: [Feb 23 13:25:00] -- Playing 'conf-kicked' (language 'en')
[Feb 23 13:25:00] VERBOSE[7588] logger.c: [Feb 23 13:25:00] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:25:00] VERBOSE[7588] logger.c: [Feb 23 13:25:00] Found
[Feb 23 13:25:00] VERBOSE[7588] logger.c: [Feb 23 13:25:00] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:25:00] VERBOSE[7400] logger.c: [Feb 23 13:25:00] -- Executing [h@default:1] DeadAGI("SIP/8001-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Feb 23 13:25:00] VERBOSE[7400] logger.c: [Feb 23 13:25:00] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 23 13:25:01] VERBOSE[7622] logger.c: [Feb 23 13:25:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:25:01] VERBOSE[7622] logger.c: [Feb 23 13:25:01] Found
[Feb 23 13:25:01] VERBOSE[7622] logger.c: [Feb 23 13:25:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:25:01] VERBOSE[7622] logger.c: [Feb 23 13:25:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:25:01] VERBOSE[7639] logger.c: [Feb 23 13:25:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:25:01] VERBOSE[7639] logger.c: [Feb 23 13:25:01] Found
[Feb 23 13:25:01] VERBOSE[7639] logger.c: [Feb 23 13:25:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:25:02] VERBOSE[7639] logger.c: [Feb 23 13:25:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:25:02] VERBOSE[7585] logger.c: [Feb 23 13:25:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:25:02] VERBOSE[7588] logger.c: [Feb 23 13:25:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:25:06] VERBOSE[8041] logger.c: [Feb 23 13:25:06] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:25:06] VERBOSE[8041] logger.c: [Feb 23 13:25:06] Found
[Feb 23 13:25:06] VERBOSE[8041] logger.c: [Feb 23 13:25:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:25:06] VERBOSE[8041] logger.c: [Feb 23 13:25:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:26:01] VERBOSE[8286] logger.c: [Feb 23 13:26:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:26:01] VERBOSE[8286] logger.c: [Feb 23 13:26:01] Found
[Feb 23 13:26:01] VERBOSE[8286] logger.c: [Feb 23 13:26:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:26:01] VERBOSE[8290] logger.c: [Feb 23 13:26:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:26:01] VERBOSE[8290] logger.c: [Feb 23 13:26:01] Found
[Feb 23 13:26:01] VERBOSE[8290] logger.c: [Feb 23 13:26:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:26:01] VERBOSE[8286] logger.c: [Feb 23 13:26:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:26:02] VERBOSE[8290] logger.c: [Feb 23 13:26:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 13:26:06] VERBOSE[8693] logger.c: [Feb 23 13:26:06] == Parsing '/etc/asterisk/manager.conf': [Feb 23 13:26:06] VERBOSE[8693] logger.c: [Feb 23 13:26:06] Found
[Feb 23 13:26:06] VERBOSE[8693] logger.c: [Feb 23 13:26:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 13:26:07] VERBOSE[8693] logger.c: [Feb 23 13:26:07] == Manager 'sendcron' logged off from 127.0.0.1
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Feb 23, 2012 8:39 am

try directly calling on the softphone. and post the cli output

seems like u are having problem with meetme
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Feb 23, 2012 8:42 am

Dialling from the softphone gives me this if I call my mobile:

[Feb 23 13:40:35] NOTICE[3683] chan_sip.c: Call from '8001' to extension '07989******' rejected because extension not found.

If I configure mt softphone with the SIPUA username and password I can dial fine direct from the softphone.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Feb 23, 2012 9:14 am

use your Dialer's Dial plan.

how do u dial on softphone?

do u use 944XXXXXXXXXX?
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Feb 23, 2012 9:21 am

On the smartphone when it's registered directly with the SIPUA details I just dial the number.

Through goautodial client I'm based in the UK and dial only to the UK, so am assuming that I still only need to dial just the number.

Can I just rewind a bit to see if I'm still on the right track. GoAutoDial server is latest version CE 2.1. Server is up and running. Zoiper client is registered against the server. Client agent login calls the Zoiper client and says I'm only person in conference. Dial lead from a campaign tells me that I have dialled invalid extension. I can dial internal extensions and that is fine. Just can't dial out.

I figure it has to do with the dial plan, but how do I sort it out?

Cheers for all your help so far.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Feb 23, 2012 9:32 am

you are still on the right track. calling to other extensions and able to hear them are telling u that u are on the right track.

ur problem lies on the dial plan to which I asked earlier what is ur dial plan. using direct connection with SIPUA yes no problem (if yes, contact ur provider) but now when u registered it on ur server u have now a different dial pattern on which u added the "9" on it from here (exten => _944.,1 )

in conclusion if are opt to use the softphone use 9 + 44 (country code) + number

when u upload leads did u change the "phone code override" ? if not, change it to 44 - UK. as the default there is country of 1

let me know
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Feb 23, 2012 10:01 am

If I register my softphone with the SIP account I can dial no problems using just the number (no 9 or 44 country code). When I register with my Asterix server and dial the softphone manually I just get a pop up on the Zoiper softphone saying no route to destination. If I manually dial from the GoAutoDial client it says extension not found.

whe I uploaded the leads I changed it to 44 from 1 in the phone code.

From the GoAutoDial client I've tried manually dialling with the following: 07989******, 907989******, 9447989******, 447989******

Here's a screenshot of my carrier setup:

Image
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Feb 23, 2012 10:08 am

change the dial plan entry

to this

exten => _944XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@08454133296,,tTo)
exten => _944XXXXXXXXXX,3,Hangup
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Feb 23, 2012 10:23 am

Hi. I've changed the dial plan, rebooted the server (just in case) and logged in again. Every number that dials I hear "sorry thats not a valid extension"

If I quit the agent login, leave the softphone registered and dial from that I get a message "no route to destination".

Here's the asterix CLI (chan_sip.c peer 8001 is now reachable - my phone login, chan_sip.c 08454133296 is now reachable - my sip phone number) but later on it says "chan_sip.c: Call from '8001' to extension '0000000000' rejected because extension not found." even though I am dialling a phone number.

[Feb 23 15:16:05] VERBOSE[3432] logger.c: [Feb 23 15:16:05] Asterisk Ready.
[Feb 23 15:16:06] NOTICE[3741] chan_sip.c: Peer '8001' is now Reachable. (6ms / 2000ms)
[Feb 23 15:16:06] NOTICE[3741] chan_sip.c: Peer '08454133296' is now Reachable. (37ms / 2000ms)
[Feb 23 15:16:53] VERBOSE[3741] logger.c: [Feb 23 15:16:53] -- Saved useragent "Zoiper rev.11137" for peer 8001
[Feb 23 15:17:01] VERBOSE[4268] logger.c: [Feb 23 15:17:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 15:17:01] VERBOSE[4268] logger.c: [Feb 23 15:17:01] Found
[Feb 23 15:17:01] VERBOSE[4268] logger.c: [Feb 23 15:17:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 15:17:01] VERBOSE[4270] logger.c: [Feb 23 15:17:01] == Parsing '/etc/asterisk/manager.conf': [Feb 23 15:17:01] VERBOSE[4270] logger.c: [Feb 23 15:17:01] Found
[Feb 23 15:17:01] VERBOSE[4270] logger.c: [Feb 23 15:17:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 15:17:01] VERBOSE[4270] logger.c: [Feb 23 15:17:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 15:17:02] VERBOSE[4268] logger.c: [Feb 23 15:17:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 15:17:02] VERBOSE[4356] logger.c: [Feb 23 15:17:02] == Parsing '/etc/asterisk/manager.conf': [Feb 23 15:17:02] VERBOSE[4356] logger.c: [Feb 23 15:17:02] Found
[Feb 23 15:17:02] VERBOSE[4356] logger.c: [Feb 23 15:17:02] == Manager 'updatecron' logged on from 127.0.0.1
[Feb 23 15:17:02] VERBOSE[4376] logger.c: [Feb 23 15:17:02] == Parsing '/etc/asterisk/manager.conf': [Feb 23 15:17:02] VERBOSE[4376] logger.c: [Feb 23 15:17:02] Found
[Feb 23 15:17:02] VERBOSE[4376] logger.c: [Feb 23 15:17:02] == Manager 'listencron' logged on from 127.0.0.1
[Feb 23 15:17:06] VERBOSE[4700] logger.c: [Feb 23 15:17:06] == Parsing '/etc/asterisk/manager.conf': [Feb 23 15:17:06] VERBOSE[4700] logger.c: [Feb 23 15:17:06] Found
[Feb 23 15:17:06] VERBOSE[4700] logger.c: [Feb 23 15:17:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 15:17:06] VERBOSE[4700] logger.c: [Feb 23 15:17:06] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 15:17:15] VERBOSE[4740] logger.c: [Feb 23 15:17:15] == Parsing '/etc/asterisk/manager.conf': [Feb 23 15:17:15] VERBOSE[4740] logger.c: [Feb 23 15:17:15] Found
[Feb 23 15:17:15] VERBOSE[4740] logger.c: [Feb 23 15:17:15] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 15:17:18] VERBOSE[4740] logger.c: [Feb 23 15:17:18] > Channel SIP/8001-00000000 was answered.
[Feb 23 15:17:18] VERBOSE[4758] logger.c: [Feb 23 15:17:18] -- Executing [8600051@default:1] MeetMe("SIP/8001-00000000", "8600051|F") in new stack
[Feb 23 15:17:18] VERBOSE[4758] logger.c: [Feb 23 15:17:18] == Parsing '/etc/asterisk/meetme.conf': [Feb 23 15:17:18] VERBOSE[4758] logger.c: [Feb 23 15:17:18] Found
[Feb 23 15:17:18] VERBOSE[4758] logger.c: [Feb 23 15:17:18] == Parsing '/etc/asterisk/meetme-vicidial.conf': [Feb 23 15:17:18] VERBOSE[4758] logger.c: [Feb 23 15:17:18] Found
[Feb 23 15:17:18] VERBOSE[4758] logger.c: [Feb 23 15:17:18] -- Created MeetMe conference 1023 for conference '8600051'
[Feb 23 15:17:18] NOTICE[3741] chan_sip.c: Call from '8001' to extension '0000000000' rejected because extension not found.
[Feb 23 15:17:18] VERBOSE[4758] logger.c: [Feb 23 15:17:18] -- Playing 'conf-onlyperson' (language 'en')
[Feb 23 15:17:20] VERBOSE[4740] logger.c: [Feb 23 15:17:20] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 23 15:17:22] VERBOSE[4793] logger.c: [Feb 23 15:17:22] == Parsing '/etc/asterisk/manager.conf': [Feb 23 15:17:22] VERBOSE[4793] logger.c: [Feb 23 15:17:22] Found
[Feb 23 15:17:22] VERBOSE[4793] logger.c: [Feb 23 15:17:22] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 23 15:17:22] VERBOSE[4794] logger.c: [Feb 23 15:17:22] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-41d4,2", "8600051|F") in new stack
[Feb 23 15:17:22] VERBOSE[4793] logger.c: [Feb 23 15:17:22] > Channel Local/8600051@default-41d4,1 was answered.
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] == Starting Local/8600051@default-41d4,1 at default,1159297384,1 failed so falling back to exten 's'
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] == Starting Local/8600051@default-41d4,1 at default,s,1 still failed so falling back to context 'default'
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-41d4,1
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] -- Executing [i@default:1] Playback("Local/8600051@default-41d4,1", "invalid") in new stack
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] -- Playing 'invalid' (language 'en')
[Feb 23 15:17:22] WARNING[4795] file.c: Unexpected control subclass '-1'
[Feb 23 15:17:22] WARNING[4795] file.c: Unexpected control subclass '-1'
[Feb 23 15:17:24] VERBOSE[4793] logger.c: [Feb 23 15:17:24] == Manager 'sendcron' logged off from 127.0.0.1



Again, thanks for all your help so far cos this really is driving me nuts :-)
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Feb 23, 2012 10:46 am

post the value of "sip show peers"

u should be seeing the carrier there
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Feb 23, 2012 10:48 am

Here you go:

go.goautodial.org*CLI>sip show peers

Asterisk Call Manager/1.0
Response: Success
Message: Authentication accepted

Response: Follows
Privilege: Command
ActionID: b4d58a899f2271ccac6b5d31fd45dc9f
Name/username Host Dyn Nat ACL Port Status
8010/8010 (Unspecified) D N 0 UNKNOWN
8009/8009 (Unspecified) D N 0 UNKNOWN
8008/8008 (Unspecified) D N 0 UNKNOWN
8007/8007 (Unspecified) D N 0 UNKNOWN
8006/8006 (Unspecified) D N 0 UNKNOWN
8005/8005 (Unspecified) D N 0 UNKNOWN
8004/8004 (Unspecified) D N 0 UNKNOWN
8003/8003 (Unspecified) D N 0 UNKNOWN
8002/8002 (Unspecified) D N 0 UNKNOWN
8001/8001 192.168.1.253 D N 5060 OK (8 ms)
08454133296/08454133296 83.166.160.248 N 5060 OK (38 ms)
11 sip peers [Monitored: 2 online, 9 offline Unmonitored: 0 online, 0 offline]
--END COMMAND--
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby gardo » Thu Feb 23, 2012 3:44 pm

What's the phone number you're calling? 441159297384?

[Feb 23 15:17:22] VERBOSE[4794] logger.c: [Feb 23 15:17:22] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-41d4,2", "8600051|F") in new stack
[Feb 23 15:17:22] VERBOSE[4793] logger.c: [Feb 23 15:17:22] > Channel Local/8600051@default-41d4,1 was answered.
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] == Starting Local/8600051@default-41d4,1 at default,1159297384,1 failed so falling back to exten 's'
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] == Starting Local/8600051@default-41d4,1 at default,s,1 still failed so falling back to context 'default'
[Feb 23 15:17:22] VERBOSE[4795] logger.c: [Feb 23 15:17:22] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-41d4,1
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby geoffers1 » Thu Feb 23, 2012 4:04 pm

Yes, the country code is 44 (and I'm in the UK) and the number is 1159297384. In the leads I imported I left off the leading 0. However, with or without the leading 0, with or without the country code, the system only dials as internal extensions, does not seem to dial out over the SIP link.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby gardo » Sat Feb 25, 2012 2:00 pm

You need to modify your dialplan to accommodate UK numbers.

exten => _944.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944.,2,Dial(${TRUNKX}/${EXTEN:1},,tTo)
exten => _944.,3,Hangup


Where TRUNKX is your SIP carrier entry and 9 is your campaign dial prefix.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby geoffers1 » Mon Feb 27, 2012 4:20 am

Thanks Gardo,

This seems to have got over the issue of it dialling internat extensions, but now I'm getting an error:Call Rejected: CHANUNAVAIL Cause: 66 - Channel type not implemented

Any pointers as to what this is?

My dial plan entry is now this:

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

My campaign is setup with a dial prefix of X and a manual dial prefix of X (I don't need to dial 9 to get an outside line) and Omit Phone Code is set to Y so I'm effectively ignoring the country code.

Cheers!
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby gardo » Mon Feb 27, 2012 9:07 pm

Using a catch all dialplan without any prefix is highly discouraged. This can cause serious issues on your system. At the least use the following:

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(${TRUNKX}/${EXTEN:1},,tTo)
exten => _9X.,3,Hangup

If your campaign dial prefix is X you can use the following:

exten => _44.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _44.,2,Dial(${TRUNKX}/${EXTEN},,tTo)
exten => _44.,3,Hangup

You also need to dial with the country code included. If you omit the country code the system will only dial 1159297384 instead of 441159297384.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby geoffers1 » Wed Feb 29, 2012 5:17 am

Thanks for you help Gardo. This is where I'm currently at:

My carrier is configured like this:

CarrierID = Node4

Registration String: register => 08454133xxx:creditclxxxxx@sipua.sip-link.com:5060/08454133xxx

Account Entry:
[Node4]
disallow=all
allow=g729
allow=gsm
allow=ulaw
type=friend
username=08454133xxx
secret=creditclxxxxx
host=sipua.sip-link.com
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very

Protocol: SIP

Globals String: TESTTRUNK = SIP/Node4

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

Asterix CLI upon restart of Asterix: (I'm taking this as positive as it says my SIP chanel Node4 is reachable)

[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'fr'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'gr'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'hu'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'it'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'lt'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'mx'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'nl'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'no'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'nz'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'pl'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'pt'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'ru'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'se'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'sg'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'uk'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'us'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'us-o'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'tw'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Registered indication country 'za'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- Setting default indication country to 'us'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'PlayTones'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'StopPlayTones'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] res_indications.so => (Indications Resource)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'ChanIsAvail'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_chanisavail.so => (Check channel availability)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'SendImage'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_image.so => (Image Transmission Application)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'While'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'EndWhile'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'ExitWhile'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'ContinueWhile'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_while.so => (While Loops and Conditional Execution)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Parsing '/etc/asterisk/amd.conf': [Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] Found
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] -- AMD defaults: initialSilence [2500] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256]
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'AMD'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_amd.so => (Answering Machine Detection Application)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'SayUnixTime'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'DateTime'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_sayunixtime.so => (Say time)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] res_convert.so => (File format conversion CLI command)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered custom function SHA1
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] func_sha1.so => (SHA-1 computation dialplan function)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered custom function CURL
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] func_curl.so => (Load external URL)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'ParkAndAnnounce'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_parkandannounce.so => (Call Parking and Announce Application)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'StackPop'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'Return'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'GosubIf'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'Gosub'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_stack.so => (Stack Routines)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered custom function GLOBAL
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] func_global.so => (Global variable dialplan functions)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'Zapateller'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_zapateller.so => (Block Telemarketers with Special Information Tone)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'WaitForRing'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_waitforring.so => (Waits until first ring after time)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Parsing '/etc/asterisk/cdr.conf': [Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] Found
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] res_clioriginate.so => (Call origination from the CLI)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered custom function BLACKLIST
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'LookupBlacklist'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_lookupblacklist.so => (Look up Caller*ID name/number from blacklist database)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'LookupCIDName'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_lookupcidname.so => (Look up CallerID Name from local database)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'MixMonitor'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'StopMixMonitor'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_mixmonitor.so => (Mixed Audio Monitoring Application)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] pbx_loopback.so => (Loopback Switch)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] pbx_realtime.so => (Realtime Switch)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered custom function RAND
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] func_rand.so => (Random number dialplan function)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] pbx_spool.so => (Outgoing Spool Support)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'ControlPlayback'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_controlplayback.so => (Control Playback Application)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'SetTransferCapability'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_settransfercapability.so => (Set ISDN Transfer Capability)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered custom function TIMEOUT
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] func_timeout.so => (Channel timeout dialplan functions)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] == Registered application 'Morsecode'
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] app_morsecode.so => (Morse code)
[Feb 29 10:04:26] VERBOSE[3375] logger.c: [Feb 29 10:04:26] Asterisk Ready.
[Feb 29 10:04:28] NOTICE[7716] chan_sip.c: Peer '8001' is now Reachable. (8ms / 2000ms)
[Feb 29 10:04:28] NOTICE[7716] chan_sip.c: Peer 'Node4' is now Reachable. (41ms / 2000ms)
[Feb 29 10:04:38] VERBOSE[7716] logger.c: [Feb 29 10:04:38] -- Unregistered SIP '8001'
[Feb 29 10:05:01] VERBOSE[7804] logger.c: [Feb 29 10:05:01] == Parsing '/etc/asterisk/manager.conf': [Feb 29 10:05:01] VERBOSE[7804] logger.c: [Feb 29 10:05:01] Found
[Feb 29 10:05:01] VERBOSE[7804] logger.c: [Feb 29 10:05:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 29 10:05:01] VERBOSE[7808] logger.c: [Feb 29 10:05:01] == Parsing '/etc/asterisk/manager.conf': [Feb 29 10:05:01] VERBOSE[7808] logger.c: [Feb 29 10:05:01] Found
[Feb 29 10:05:01] VERBOSE[7808] logger.c: [Feb 29 10:05:01] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 29 10:05:01] VERBOSE[7804] logger.c: [Feb 29 10:05:01] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 29 10:05:02] VERBOSE[7911] logger.c: [Feb 29 10:05:02] == Parsing '/etc/asterisk/manager.conf': [Feb 29 10:05:02] VERBOSE[7911] logger.c: [Feb 29 10:05:02] Found
[Feb 29 10:05:02] VERBOSE[7911] logger.c: [Feb 29 10:05:02] == Manager 'listencron' logged on from 127.0.0.1
[Feb 29 10:05:02] VERBOSE[7913] logger.c: [Feb 29 10:05:02] == Parsing '/etc/asterisk/manager.conf': [Feb 29 10:05:02] VERBOSE[7913] logger.c: [Feb 29 10:05:02] Found
[Feb 29 10:05:02] VERBOSE[7913] logger.c: [Feb 29 10:05:02] == Manager 'updatecron' logged on from 127.0.0.1
[Feb 29 10:05:03] VERBOSE[7808] logger.c: [Feb 29 10:05:03] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 29 10:05:06] VERBOSE[8205] logger.c: [Feb 29 10:05:06] == Parsing '/etc/asterisk/manager.conf': [Feb 29 10:05:06] VERBOSE[8205] logger.c: [Feb 29 10:05:06] Found
[Feb 29 10:05:06] VERBOSE[8205] logger.c: [Feb 29 10:05:06] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 29 10:05:06] VERBOSE[8205] logger.c: [Feb 29 10:05:06] == Manager 'sendcron' logged off from 127.0.0.1

However, when I dial now the client times out after 15-20 seconds with a Congestion error, but the Asterix CLI fills up with this same line:

[Feb 29 10:12:06] WARNING[12016] app_meetme.c: Unable to write frame to channel Local/8600051@default-5d8b,2

So at the moment I'm still not dialling out.

Any more help will be great please.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Wed Feb 29, 2012 7:34 am

try changing your dial plan to this since it is name Node4 in account entry

and try putting 9 since this is highly recommended

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

or

exten => _944,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944,3,Hangup

you can also try removing global string

also show the output of sip show peers in cli

let me know
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Wed Feb 29, 2012 10:54 am

When I do SIP SHOW PEERS now it's showing my SIP is unreachable. It wasn't before so not sure what has happened????
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Wed Feb 29, 2012 10:58 am

have your server be rebooted then try again sip show peers.
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Wed Feb 29, 2012 11:24 am

SIP channel is now connected ok when using SIP SHOW PEERS.

Dialling now gives:

Call Rejected: CONGESTION
Cause: 0 - Unspecified. No other cause codes applicable

Asterix logs now show:

[Feb 29 16:22:29] WARNING[17550] app_meetme.c: Unable to write frame to channel Local/8600051@default-8f10,2

Manually dialling a number gices the same errors.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby geoffers1 » Wed Feb 29, 2012 11:49 am

Okay, now I'm back to "we're sorry that's not a valid extension"

Just to recap, I don't need to dial 9 to get an outside line, I don't need to dial a country code (i'm in the UK dialling UK numbers). If I register my Zoiper client to the Asterix box I get an error "no route to destination" If I register my Zoiper client directly to my SIP provider I can dial numbers just fine.

My dial plan is:

exten => _944,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944,3,Hangup

In my campaign the dial prefix is 9 and omit phone code is N. The phone codes are imported as leads into the list.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Wed Feb 29, 2012 12:27 pm

your dial plan means that u should add 9 when u manual dialing in softphone

try dialing now in zoiper 944+number

let me know the cli output
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Mar 01, 2012 4:09 am

Tried dialling from the Zoiper client as suggested but Zoiper client says "No route to destination" and here is the Asterix CLI:

[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered application 'IAX2Provision'
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function IAXPEER
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Manager registered action IAXpeers
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Manager registered action IAXnetstats
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == 50 helper threads started
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == IAX Ready and Listening
[Mar 1 08:58:43] WARNING[3372] chan_iax2.c: Error opening firmware directory '/var/lib/asterisk/firmware/iax': No such file or directory
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Parsing '/etc/asterisk/iaxprov.conf': [Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] Found
[Mar 1 08:58:43] WARNING[3372] acl.c: TOS value lowdelay is deprecated. Please see doc/ip-tos.txt for more information.
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] -- Loaded provisioning template 'default'
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] chan_iax2.so => (Inter Asterisk eXchange (Ver 2))
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered application 'SendText'
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] app_sendtext.so => (Send Text Applications)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered application 'RealTimeUpdate'
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered application 'RealTime'
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] app_realtime.so => (Realtime Data Lookup/Rewrite)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered application 'Morsecode'
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] app_morsecode.so => (Morse code)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function ENV
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function STAT
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] func_env.so => (Environment/filesystem dialplan functions)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered application 'ICES'
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] app_ices.so => (Encode and Stream via icecast and ices)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function ENUMLOOKUP
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function TXTCIDNAME
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] func_enum.so => (ENUM related dialplan functions)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == No hardware transcoders found.
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] codec_dahdi.so => (Generic DAHDI Transcoder Codec Translator)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function DB
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function DB_EXISTS
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] == Registered custom function DB_DELETE
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] func_db.so => (Database (astdb) related dialplan functions)
[Mar 1 08:58:43] VERBOSE[3372] logger.c: [Mar 1 08:58:43] Asterisk Ready.
[Mar 1 08:58:45] NOTICE[3476] chan_sip.c: Peer 'Node4' is now Reachable. (47ms / 2000ms)
[Mar 1 08:58:47] NOTICE[3481] chan_iax2.c: Peer 'ASTblind' is now UNREACHABLE! Time: 0
[Mar 1 08:58:47] NOTICE[3482] chan_iax2.c: Peer 'ASTloop' is now UNREACHABLE! Time: 0
[Mar 1 08:59:02] VERBOSE[3554] logger.c: [Mar 1 08:59:02] == Parsing '/etc/asterisk/manager.conf': [Mar 1 08:59:02] VERBOSE[3554] logger.c: [Mar 1 08:59:02] Found
[Mar 1 08:59:02] VERBOSE[3554] logger.c: [Mar 1 08:59:02] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 08:59:02] VERBOSE[3555] logger.c: [Mar 1 08:59:02] == Parsing '/etc/asterisk/manager.conf': [Mar 1 08:59:02] VERBOSE[3555] logger.c: [Mar 1 08:59:02] Found
[Mar 1 08:59:02] VERBOSE[3555] logger.c: [Mar 1 08:59:02] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 08:59:02] VERBOSE[3554] logger.c: [Mar 1 08:59:02] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 08:59:03] VERBOSE[3618] logger.c: [Mar 1 08:59:03] == Parsing '/etc/asterisk/manager.conf': [Mar 1 08:59:03] VERBOSE[3618] logger.c: [Mar 1 08:59:03] Found
[Mar 1 08:59:03] VERBOSE[3618] logger.c: [Mar 1 08:59:03] == Manager 'updatecron' logged on from 127.0.0.1
[Mar 1 08:59:03] VERBOSE[3623] logger.c: [Mar 1 08:59:03] == Parsing '/etc/asterisk/manager.conf': [Mar 1 08:59:03] VERBOSE[3623] logger.c: [Mar 1 08:59:03] Found
[Mar 1 08:59:03] VERBOSE[3623] logger.c: [Mar 1 08:59:03] == Manager 'listencron' logged on from 127.0.0.1
[Mar 1 08:59:04] VERBOSE[3555] logger.c: [Mar 1 08:59:04] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 08:59:05] VERBOSE[3507] logger.c: [Mar 1 08:59:05] -- Registered IAX2 'ASTblind' (AUTHENTICATED) at 127.0.0.1:38175
[Mar 1 08:59:05] NOTICE[3507] chan_iax2.c: Still have a callno...
[Mar 1 08:59:05] NOTICE[3512] chan_iax2.c: Peer 'ASTblind' is now REACHABLE! Time: 3
[Mar 1 08:59:05] VERBOSE[3513] logger.c: [Mar 1 08:59:05] -- Registered IAX2 to '127.0.0.1', who sees us as 127.0.0.1:38175 with no messages waiting

[Mar 1 08:59:05] VERBOSE[3509] logger.c: [Mar 1 08:59:05] -- Registered IAX2 'ASTloop' (AUTHENTICATED) at 127.0.0.1:32967
[Mar 1 08:59:05] NOTICE[3509] chan_iax2.c: Still have a callno...
[Mar 1 08:59:05] VERBOSE[3517] logger.c: [Mar 1 08:59:05] -- Registered IAX2 to '127.0.0.1', who sees us as 127.0.0.1:32967 with no messages waiting

[Mar 1 08:59:05] NOTICE[3518] chan_iax2.c: Peer 'ASTloop' is now REACHABLE! Time: 3
[Mar 1 08:59:07] VERBOSE[3950] logger.c: [Mar 1 08:59:07] == Parsing '/etc/asterisk/manager.conf': [Mar 1 08:59:07] VERBOSE[3950] logger.c: [Mar 1 08:59:07] Found
[Mar 1 08:59:07] VERBOSE[3950] logger.c: [Mar 1 08:59:07] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 08:59:07] VERBOSE[3950] logger.c: [Mar 1 08:59:07] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:00:01] VERBOSE[4161] logger.c: [Mar 1 09:00:01] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:00:01] VERBOSE[4161] logger.c: [Mar 1 09:00:01] Found
[Mar 1 09:00:01] VERBOSE[4161] logger.c: [Mar 1 09:00:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:00:01] VERBOSE[4164] logger.c: [Mar 1 09:00:01] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:00:01] VERBOSE[4164] logger.c: [Mar 1 09:00:01] Found
[Mar 1 09:00:01] VERBOSE[4164] logger.c: [Mar 1 09:00:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:00:01] VERBOSE[4164] logger.c: [Mar 1 09:00:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:00:03] VERBOSE[4161] logger.c: [Mar 1 09:00:03] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:00:06] VERBOSE[4536] logger.c: [Mar 1 09:00:06] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:00:06] VERBOSE[4536] logger.c: [Mar 1 09:00:06] Found
[Mar 1 09:00:06] VERBOSE[4536] logger.c: [Mar 1 09:00:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:00:06] VERBOSE[4536] logger.c: [Mar 1 09:00:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:01:01] VERBOSE[4706] logger.c: [Mar 1 09:01:01] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:01:01] VERBOSE[4706] logger.c: [Mar 1 09:01:01] Found
[Mar 1 09:01:01] VERBOSE[4706] logger.c: [Mar 1 09:01:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:01:01] VERBOSE[4707] logger.c: [Mar 1 09:01:01] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:01:01] VERBOSE[4707] logger.c: [Mar 1 09:01:01] Found
[Mar 1 09:01:01] VERBOSE[4707] logger.c: [Mar 1 09:01:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:01:01] VERBOSE[4706] logger.c: [Mar 1 09:01:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:01:03] VERBOSE[4707] logger.c: [Mar 1 09:01:03] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:01:06] VERBOSE[5072] logger.c: [Mar 1 09:01:06] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:01:06] VERBOSE[5072] logger.c: [Mar 1 09:01:06] Found
[Mar 1 09:01:06] VERBOSE[5072] logger.c: [Mar 1 09:01:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:01:06] VERBOSE[5072] logger.c: [Mar 1 09:01:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:02:01] VERBOSE[5398] logger.c: [Mar 1 09:02:01] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:02:01] VERBOSE[5398] logger.c: [Mar 1 09:02:01] Found
[Mar 1 09:02:01] VERBOSE[5398] logger.c: [Mar 1 09:02:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:02:01] VERBOSE[5410] logger.c: [Mar 1 09:02:01] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:02:01] VERBOSE[5410] logger.c: [Mar 1 09:02:01] Found
[Mar 1 09:02:01] VERBOSE[5410] logger.c: [Mar 1 09:02:01] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:02:01] VERBOSE[5398] logger.c: [Mar 1 09:02:01] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:02:03] VERBOSE[5410] logger.c: [Mar 1 09:02:03] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:02:06] VERBOSE[5771] logger.c: [Mar 1 09:02:06] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:02:06] VERBOSE[5771] logger.c: [Mar 1 09:02:06] Found
[Mar 1 09:02:06] VERBOSE[5771] logger.c: [Mar 1 09:02:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 09:02:06] VERBOSE[5771] logger.c: [Mar 1 09:02:06] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 09:02:13] VERBOSE[3476] logger.c: [Mar 1 09:02:13] -- Registered SIP '8001' at 192.168.1.57 port 5060
[Mar 1 09:02:13] VERBOSE[3476] logger.c: [Mar 1 09:02:13] -- Saved useragent "Zoiper rev.11137" for peer 8001
[Mar 1 09:02:13] NOTICE[3476] chan_sip.c: Peer '8001' is now Reachable. (8ms / 2000ms)
[Mar 1 09:02:25] NOTICE[3476] chan_sip.c: Call from '8001' to extension '94407989327***' rejected because extension not found.
[Mar 1 09:02:42] NOTICE[3476] chan_sip.c: Call from '8001' to extension '9447989327***' rejected because extension not found.
[Mar 1 09:02:50] NOTICE[3476] chan_sip.c: Call from '8001' to extension '907989327***' rejected because extension not found.
[Mar 1 09:02:59] NOTICE[3476] chan_sip.c: Call from '8001' to extension '07989327***' rejected because extension not found.
[Mar 1 09:03:01] VERBOSE[6053] logger.c: [Mar 1 09:03:01] == Parsing '/etc/asterisk/manager.conf': [Mar 1 09:03:01] VERBOSE[6053] logger.c: [Mar 1 09:03:01] Found
[Mar 1 09:03:01] VERBOSE[6053] logger.c: [Mar 1 09:03:01] == Manager 'sendcron' logged on from 127.0.0.1

And here's my dial plan:

exten => _944,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944,3,Hangup

And here's SIP SHOW PEERS

8003/8003 (Unspecified) D N 0 UNKNOWN
8002/8002 (Unspecified) D N 0 UNKNOWN
8001/8001 192.168.1.57 D N 5060 OK (10 ms)
Node4/08454133*** 83.xxx.xxx.248 N 5060 OK (46 ms)
21 sip peers [Monitored: 2 online, 19 offline Unmonitored: 0 online, 0 offline]
--END COMMAND--

And here's SIP SHOW REGISTRY:

83.xxx.xxx.248:5060 08454133*** 105 Registered Thu, 01 Mar 2012 09:07:29
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

dialplan pattern

Postby striker » Thu Mar 01, 2012 5:03 am

your dialplan is wrong
exten => _944,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944,3,Hangup

the above dialplan will only dial the three digit number 944

use the below dialplan

exten => _944X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944X.,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944X.,3,Hangup

in the above dialplan the X says any digit from 0 to 9
and after X you can see a DOT (.) this is any length after 944X

if the numbers which you are dialling is 10 digit and starting with 44 then u can also use the below
exten => _944XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944XXXXXXXX,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944XXXXXXXX,3,Hangup

so this dialplan will only dial 11 digit number and discards prefix 9 while dialling out
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Postby geoffers1 » Thu Mar 01, 2012 5:22 am

Okay, dial plan is now:

exten => _944X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944X.,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944X.,3,Hangup

Asterix CLI give this when dialling 94407989327*** from Zoiper:

[Mar 1 10:19:19] VERBOSE[8207] logger.c: [Mar 1 10:19:19] -- Executing [94407989327***@default:1] AGI("SIP/8001-00000000", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 1 10:19:19] VERBOSE[8207] logger.c: [Mar 1 10:19:19] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 1 10:19:19] VERBOSE[8207] logger.c: [Mar 1 10:19:19] -- Executing [94407989327***@default:2] Dial("SIP/8001-00000000", "SIP/4407989327933@Node4||tToR") in new stack
[Mar 1 10:19:19] VERBOSE[8207] logger.c: [Mar 1 10:19:19] -- Called 4407989327***@Node4
[Mar 1 10:19:19] WARNING[8207] channel.c: No path to translate from SIP/Node4-00000001(256) to SIP/8001-00000000(4)
[Mar 1 10:19:19] VERBOSE[8207] logger.c: [Mar 1 10:19:19] == Spawn extension (default, 94407989327***, 2) exited non-zero on 'SIP/8001-00000000'
[Mar 1 10:19:19] VERBOSE[8207] logger.c: [Mar 1 10:19:19] -- Executing [h@default:1] DeadAGI("SIP/8001-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CONGESTION----------") in new stack
[Mar 1 10:19:19] VERBOSE[8207] logger.c: [Mar 1 10:19:19] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

codec

Postby striker » Thu Mar 01, 2012 5:27 am

did you installed proper g729 codec in your server
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Postby geoffers1 » Thu Mar 01, 2012 5:33 am

Blank look on my face :shock:

This is an "out of the box" install, so the answer is no. The only extra I've done is to patch the client to fix the dialling issues after hanging up.

I have seen a link on here somewhere about installing codecs so I'll look into it and get back to you.

Thanks for everyones help so far.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

g729 installation

Postby striker » Thu Mar 01, 2012 5:37 am

www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Postby geoffers1 » Thu Mar 01, 2012 7:56 am

I'm assuming g729 codec is now installed (all seemed to go fine)

Ok, SHOW TRANSLATION:

Response: Success
Message: Authentication accepted

Response: Follows
Privilege: Command
ActionID: 7b3cc9d7b68fc4f20094f1f11b543fb2
Translation times between formats (in milliseconds) for one second of data
Source Format (Rows) Destination Format (Columns)


g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
g723 - - - - - - - - - - - - -
gsm - - 2 2 2 2 1 3 4 - - 2 -
ulaw - 2 - 1 2 2 1 3 4 - - 2 -
alaw - 2 1 - 2 2 1 3 4 - - 2 -
g726aal2 - 2 2 2 - 2 1 3 4 - - 2 -
adpcm - 2 2 2 2 - 1 3 4 - - 2 -
slin - 1 1 1 1 1 - 2 3 - - 1 -
lpc10 - 2 2 2 2 2 1 - 4 - - 2 -
g729 - 2 2 2 2 2 1 3 - - - 2 -
speex - - - - - - - - - - - - -
ilbc - - - - - - - - - - - - -
g726 - 2 2 2 2 2 1 3 4 - - - -
g722 - - - - - - - - - - - - -
The 'show translation' command is deprecated and will be removed in a future release. Please use 'core show translation' instead.
--END COMMAND--


Asterisk CLI when dialling out:

[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- Executing [94407989327***@default:1] AGI("SIP/8001-00000002", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- Executing [94407989327***@default:2] Dial("SIP/8001-00000002", "SIP/4407989327***@Node4||tToR") in new stack
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- Called 4407989327***@Node4
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- SIP/Node4-00000003 is circuit-busy
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] == Everyone is busy/congested at this time (1:0/1/0)
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- Executing [94407989327***@default:3] Hangup("SIP/8001-00000002", "") in new stack
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] == Spawn extension (default, 94407989327***, 3) exited non-zero on 'SIP/8001-00000002'
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- Executing [h@default:1] DeadAGI("SIP/8001-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------") in new stack
[Mar 1 12:52:13] VERBOSE[7561] logger.c: [Mar 1 12:52:13] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

Restart server and try again, this little line creeps into the Asterisk CLI:

[Mar 1 13:07:02] WARNING[3480] chan_sip.c: Received response: "Forbidden" from '"8001" ;tag=as283a59fc'
[Mar 1 13:07:02] VERBOSE[16015] logger.c: [Mar 1 13:07:02] -- SIP/Node4-00000005 is circuit-busy
[Mar 1 13:07:02] VERBOSE[16015] logger.c: [Mar 1 13:07:02] == Everyone is busy/congested at this time (1:0/1/0)
[Mar 1 13:07:02] VERBOSE[16015] logger.c: [Mar 1 13:07:02] -- Executing [94407989327933@default:3] Hangup("SIP/8001-00000004", "") in new stack
[Mar 1 13:07:02] VERBOSE[16015] logger.c: [Mar 1 13:07:02] == Spawn extension (default, 94407989327933, 3) exited non-zero on 'SIP/8001-00000004'
[Mar 1 13:07:02] VERBOSE[16015] logger.c: [Mar 1 13:07:02] -- Executing [h@default:1] DeadAGI("SIP/8001-00000004", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
[Mar 1 13:07:02] VERBOSE[16015] logger.c: [Mar 1 13:07:02] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 1 13:07:03] VERBOSE[15994] logger.c: [Mar 1 13:07:03] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 1 13:07:06] VERBOSE[16192] logger.c: [Mar 1 13:07:06] == Parsing '/etc/asterisk/manager.conf': [Mar 1 13:07:06] VERBOSE[16192] logger.c: [Mar 1 13:07:06] Found
[Mar 1 13:07:06] VERBOSE[16192] logger.c: [Mar 1 13:07:06] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 1 13:07:06] VERBOSE[16192] logger.c: [Mar 1 13:07:06] == Manager 'sendcron' logged off from 127.0.0.1
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Mar 01, 2012 9:07 am

hmmm at least cli shows that u are getting now somewhere..

congested means that u are dialing with a wrong pattern

what is the number that u are trying to call?

exten => _944X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944X.,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944X.,3,Hangup


does X in the dialplan are compose of 10 x?

dial plan X means it will wait for 10 digits u will be supplying.

is this the one u are dialing 94407989327***?if it is, you must omit 0

let me know +_+
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Mar 01, 2012 9:13 am

(Taken from above help)

exten => _944X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944X.,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944X.,3,Hangup

in the above dialplan the X says any digit from 0 to 9
and after X you can see a DOT (.) this is any length after 944X


The number I'm dialling is my mobile number. It's all in UK format. The full number from the UK to the UK is 07989327***

In the campaign I've told it not to ignore the country code, the country code is imported into the list as 44. The numbers are imported into the list in standard UK format, ie 07989327***
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby rrb555 » Thu Mar 01, 2012 9:19 am

have u tried this dial plan? this works for me

exten => _944XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@Node4,,tToR)
exten => _944XXXXXXXXXX,3,Hangup


try adding this into your dial plan.

then try dialing from zoiper this 9447989327***
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby geoffers1 » Thu Mar 01, 2012 9:51 am

This is my CLI output now:

[Mar 1 14:38:44] WARNING[3481] chan_sip.c: Received response: "Forbidden" from '"8001" ;tag=as7af0faf4'
[Mar 1 14:38:44] VERBOSE[19776] logger.c: [Mar 1 14:38:44] -- SIP/Node4-00000007 is circuit-busy
[Mar 1 14:38:44] VERBOSE[19776] logger.c: [Mar 1 14:38:44] == Everyone is busy/congested at this time (1:0/1/0)
[Mar 1 14:38:44] VERBOSE[19776] logger.c: [Mar 1 14:38:44] -- Executing [9447989327933@default:3] Hangup("SIP/8001-00000006", "") in new stack
[Mar 1 14:38:44] VERBOSE[19776] logger.c: [Mar 1 14:38:44] == Spawn extension (default, 9447989327933, 3) exited non-zero on 'SIP/8001-00000006'
[Mar 1 14:38:44] VERBOSE[19776] logger.c: [Mar 1 14:38:44] -- Executing [h@default:1] DeadAGI("SIP/8001-00000006", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
[Mar 1 14:38:44] VERBOSE[19776] logger.c: [Mar 1 14:38:44] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

Zoiper shows an error "no route to destination"
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Postby geoffers1 » Thu Mar 01, 2012 11:55 am

Bazinga!

It now works!!

Here is my dial plan that works:

exten => _944X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944X.,2,Dial(SIP/${EXTEN:3}@Node4,,tToR)
exten => _944X.,3,Hangup

I don't have the ability for international dialling with my SIP accout, therefore have to dial in the format of 94407989327*** with the above dial plan and now all works great!!!

Thanks for everyones help.
geoffers1
 
Posts: 59
Joined: Wed Feb 15, 2012 8:00 am

Re: Can only call internal extensions, no external dialling

Postby tresor » Mon Nov 25, 2013 1:19 pm

how can i do to active the interface agent with another sip phone configured on vicidial
please show me the method
thanks for all answers
tresor
 
Posts: 21
Joined: Thu Oct 31, 2013 5:40 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 147 guests