Inbound problem

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Inbound problem

Postby mumin37 » Wed Oct 10, 2012 4:05 pm

Hey,

I've got a big problem to configure inbound.

I've read the Manager's Manual and i followed it step by step.

When I log to asterisk i can see the information:
Code: Select all
NOTICE[3136]: chan_sip.c:15566 handle_request_invite: Call from 'my_sip_login' to extension 'przychodzace1' rejected because extension not found.


so I think, that my carrier is correct (outbound calls also work).

I've logged as an agent to the campaign, chosen the group called 'przychodzace1' and nothing else happen when I make a test call. Asterisk notice as above.

Can anyone help ?


My configuration:
Vicibox 3.15 from .iso (64bit)| Vicidial VERSION: 2.6-375a BUILD: 120831-1523 | Asterisk 1.4.39.2-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

Re: Inbound problem

Postby jmathew » Thu Oct 11, 2012 2:40 am

put this under [default] in /etc/asterisk/extensions.conf

[default]
exten => przychodzace1,1,AGI(agi-DID_route.agi)

do a sip reload, or restart astersik and check for calls.

hope this helps.
jmathew
 
Posts: 50
Joined: Sat Jan 14, 2012 10:29 am

Re: Inbound problem

Postby mumin37 » Thu Oct 11, 2012 3:17 pm

I've added that code to extensions.conf and now there is no asterisk notice or active call. My call from mobile is disconnected immediately.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

Re: Inbound problem

Postby jmathew » Fri Oct 12, 2012 12:20 am

post your /etc/asterisk/extensions.conf and /etc/asterisk/sip.conf
jmathew
 
Posts: 50
Joined: Sat Jan 14, 2012 10:29 am

Re: Inbound problem

Postby mumin37 » Tue Oct 23, 2012 6:32 am

Hi,

Thanks for helping, but the problem was in voip provider.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

Re: Inbound problem

Postby mumin37 » Wed Oct 24, 2012 5:09 am

Hi,

I've got other problem with inbound.

Configuration to extensions.conf - added

Campaign settings: Allow Inbound and blended : Y
Campaign settings: Allowed Inbound Groups: przychodzace
Campaign settings: Default Transfer Group: przychodzace
Campaign settings: Allowed Transfer Groups: przychodzace
Campaign settings: Dial Method: Inbound_man

Ingroup and DID configured like on my friend's server (where inbound is working)

When I log into campaign, I select ingroup and submit.

When I ring Asterisk says:
Code: Select all
[2012-10-24 12:04:19]     -- Executing [przychodzace@extravoip:1] Dial("SIP/extravoip-in1-0000157d", "SIP/100|45|Tt") in new stack
[2012-10-24 12:04:19] WARNING[3509]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[2012-10-24 12:04:19]   == Everyone is busy/congested at this time (1:0/0/1)
[2012-10-24 12:04:19]   == Auto fallthrough, channel 'SIP/extravoip-in1-0000157d' status is 'CHANUNAVAIL'
[2012-10-24 12:04:19]     -- Executing [h@extravoip:1] Hangup("SIP/extravoip-in1-0000157d", "") in new stack
[2012-10-24 12:04:19]   == Spawn extension (extravoip, h, 1) exited non-zero on 'SIP/extravoip-in1-0000157d'



Can anyone tell me what am I doing wrong ?
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

Re: Inbound problem

Postby GaD » Thu Nov 08, 2012 11:16 am

Dunno if you're still having this problem but, post your trunk (carrier) settings. Also, you do realize that you are calling an extension 'number': przychodzace, which is fine in asterisk but you will have some trouble dialing this from other systems external to this server. Additionally..., where are you calling this number from?
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: Inbound problem

Postby mumin37 » Thu Nov 08, 2012 1:04 pm

Hi, there is my all configuration now:

Carrier:
Code: Select all
Carrier name: inbound
registration string: register =>login:password@sip.extravoip.pl/inbound

Account Entry(from my voip provider):
[inbound]
type=peer
host=79.133.193.90
port=5060
canreinvite=no
dtmfmode=rfc2833
nat=no
disallow=all
allow=alaw
allow=ulaw
allow=g729
rtptimeout=60
dtmfmode=RFC2833
context=extravoip

Protocol: SIP

Globals String: inbound = SIP/inbound



my sip.conf from /etc/asterisk is default file from vicibox iso with added:

Code: Select all
[default]
exten => inbound,1,AGI(agi-DID_route.agi)


I've done the inbound configuration with manager's manual, and when I log to the campaign and choose inbound group, I ring from my mobile to asterisk and I can see that info:
Code: Select all
[2012-11-08 19:02:15] NOTICE[3327]: chan_sip.c:15566 handle_request_invite: Call from 'inbound' to extension 'inbound' rejected because extension not found.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am

Re: Inbound problem

Postby GaD » Thu Nov 08, 2012 1:54 pm

You are using the wrong contxt in the trunk. You've set "context=extravoip" as the landing point of the trunk, you are setting inbound as part of the default context. You have two options. land the trunk in the default context (which I STRONGLY discourage you to do as this is very, very dangerous from a security standpoint) or create a context [extravoip] where you set the extension as you just pointed it out in your last post. What I sould STRONGLY encourage you to do is to land the trunk in the trunkinbound context and use the Vici's web interface to create the inbound route of your liking.
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: Inbound problem

Postby williamconley » Thu Nov 08, 2012 8:35 pm

never make direct changes to the ".conf" files.

use "context=trunkinbound" in all "account entry" fields of all carrier settings. "context=" is not used for outbound calling, only inbound. All inbound calls should be handled by Vicidial ... so all "account entry" settings should include "context=trunkinbound", regardless of what they are for, to avoid any inbound calls being routed anywhere other than your DID menu in the Vicidial GUI where you can control their handling.
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: 20361
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Inbound problem

Postby mumin37 » Tue Nov 13, 2012 4:24 am

Thanks, I've solved a problem.
mumin37
 
Posts: 31
Joined: Wed Jan 04, 2012 3:38 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 61 guests