inbound calls not routed to PBX ,

All installation and configuration problems and questions

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

inbound calls not routed to PBX ,

Postby kashif javaid » Thu Aug 22, 2013 4:12 pm

Hello ,
I am a new bee and i am following the paid version of vicidial manager manual 2.4 .

I am trying to make an inbound group pointing to a DID . but when i make call i never see any logs in my asterisk -r logs and my calls never hit the pbx .

if i follow the manual even on 1st section B i cant log in to agent as there is a campaign required for that and manager manual does not tell about that ... William please help . you always say to follow the manual but manual for me is not working ..

Please tell me how to find what specs i am using .

ViciBox.i686-4.0.3.preload.iso

my trunk is registered fine and i can make outbound calls . its just with inbound i am not having any sort of luck . Please help me :idea:
Last edited by kashif javaid on Fri Aug 23, 2013 4:58 am, edited 1 time in total.
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby deficit » Thu Aug 22, 2013 11:50 pm

hello,

IS your DID provided by the same sip provider as your trunk?..
Does your DID provider require a registration in order for them to send the call to your server?
Or do you just have to tell them your IP and they send the call to the IP address you provide them?
deficit
 
Posts: 30
Joined: Thu Jul 11, 2013 2:01 pm

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Fri Aug 23, 2013 4:17 am

Hello we are sip service provider , but we are trying to setup a vicidial setup for a small inbound call center for a side buisness .
yes DID provided by same SIP provider , yes the trunk is registered and i can see on both asterisk and on the service provider end , the call is routed to the trunk and not to the IP address .
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby striker » Fri Aug 23, 2013 5:04 am

post your sip setting used in vicidial.

go to asterisk cli "asteirsk -vvvr"

then make a test call, you can see some call flow, copy andpaste the result here
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Fri Aug 23, 2013 5:32 am

thanks alot striker for a prompt reply .

when i Dial in i dont have any sip logs as i believe there is no translation found for DID to ingroup .. if you want i can paste dialout results here
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Fri Aug 23, 2013 6:46 am

[Aug 23 07:37:25] -- Executing [07411973213@default:1] AGI("SIP/201-00000000 ", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 23 07:37:25] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 23 07:37:25] -- Executing [07411973212@default:2] Dial("SIP/201-00000000", "SIP/NumIN/07411973212||tTor") in new stack
[Aug 23 07:37:25] -- Called NumIN/07411973213
[Aug 23 07:37:28] -- SIP/NumIN-00000001 is making progress passing it to SIP/201-00000000
[Aug 23 07:37:34] == Spawn extension (default, 07411973213, 2) exited non-zero on 'SIP/201-00000000'
[Aug 23 07:37:34] -- Executing [h@default:1] DeadAGI("SIP/201-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL--------- -") in new stack
[Aug 23 07:37:34] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI -----NODEBUG-----0-----CANCEL---------- completed, returning 0




register => T-M*******:****@********/T-M****


[NumIN]
disallow=all
allow=ulaw
allow=alaw
type=peer
username=********
secret=********
host=*****
context=trunkinbound
insecure=port


also the time zone on my vicidial admin is of USA but i am in UK .. i had set up according to UK but dont know wht is it showing me this thing
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Fri Aug 23, 2013 9:14 am

My service provider tell me this thing , my call is hitting the trunk and its not matching the dial plan .

his reply :
No, it's because it's not matching your dial plan.
You are responding with a 407 authentication request which in Asterisk-land usually means you haven't matched the invite to any dial plan entry.
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby striker » Fri Aug 23, 2013 11:04 am

try insecure=invite in your sip settings
and then post full log of a call
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Mon Aug 26, 2013 4:37 am

chan_sip.c:15804 handle_request_invite: Call from 'T-M******' to extension 's' rejected because extension not found.
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Mon Aug 26, 2013 5:03 am

why is the call not hitting the .X_ and looking for s extension which is not in extensions.conf
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Mon Aug 26, 2013 6:51 am

VERSION: 2.8-378c BUILD: 130822-0656
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby striker » Mon Aug 26, 2013 11:37 am

your provider not sending the DID number

if so then add below dialplan under trunkinbound
[trunkinbound]
exten => s,1,AGI(agi-DID_route.agi)
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Wed Aug 28, 2013 4:08 am

hi Striker ,

Although my SiP Provider is sending me DID , my did is not being extracted by the Vicidial , I am not sure why is that not happening , I can do it manually using the sip header to take the number out but that would be a dirty method , why is vicidial not doing by itself , as in simple astersik installation everything is working smoothly , Please can you clarify why is that happening

[Aug 28 05:06:18] -- Executing [s@trunkinbound:1] AGI("SIP/NumIN-00000088", "agi-DID_route.agi") in new stack
[Aug 28 05:06:18] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Aug 28 05:06:18] -- AGI Script agi-DID_route.agi completed, returning 0
[Aug 28 05:06:18] -- Executing [9998811112@default:1] Wait("SIP/NumIN-00000088", "2") in new stack
[Aug 28 05:06:20] -- Executing [9998811112@default:2] Answer("SIP/NumIN-00000088", "") in new stack
[Aug 28 05:06:20] -- Executing [9998811112@default:3] Playback("SIP/NumIN-00000088", "ss-noservice") in new stack
[Aug 28 05:06:20] -- <SIP/NumIN-00000088> Playing 'ss-noservice' (language 'en')
[Aug 28 05:06:23] == Spawn extension (default, 9998811112, 3) exited non-zero on 'SIP/NumIN-00000088'
[Aug 28 05:06:23] -- Executing [h@default:1] DeadAGI("SIP/NumIN-00000088", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Aug 28 05:06:23] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm

Re: inbound calls not routed to PBX ,

Postby striker » Thu Aug 29, 2013 5:50 am

try this and let us know the result
register => T-M*******:****@********/DIDNO


[NumIN]
disallow=all
allow=ulaw
allow=alaw
type=peer
username=********
fromuser=username
secret=********
host=*****
context=trunkinbound
insecure=port
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: inbound calls not routed to PBX ,

Postby kashif javaid » Mon Sep 16, 2013 11:22 am

hello Striker ,

Thanks for your help , It worked for me by taking the number from sip header in extensions.conf file .

a small help i am using as told before vicibox 4.0 preload .

I need to send email from vicidial , although mail going fine to gmail but treated as spam for other server which have a tight spf policy and treated as spam becuase i dont have fqdn .

I have seen one of your post regarding using gmail and postfix , my problem is i am not sure to install ssmtp and postfix in OpenSuse as this is the OS used for Vicibox preload

Could you please help me i shall be very thankful
kashif javaid
 
Posts: 15
Joined: Wed Aug 21, 2013 4:27 pm


Return to Support

Who is online

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