Inbound from ip? Need Help

All installation and configuration problems and questions

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

Inbound from ip? Need Help

Postby udfxrookie » Tue Jul 17, 2012 9:02 pm

I'm a bit confused and trying to sort this out and understand it. I'm using a company for callerid hosting. They give out random numbers to me to put in the dialer and they route those calls to the ip of my dialer... how do I set this up for inbound?
I know I need to create a carrier but what settings?
I tried:
Code: Select all
[manchestera]
host=207.223.77.157
username=4845551212
type=friend
insecure=port,invite
context=agentin


in extension I have:
Code: Select all
[agentin]
exten => _4845551212,1,AGI(agi-DID_route.agi)
exten => _14845551212,1,AGI(agi-DID_route.agi)
exten => 207.223.77.157,1,AGI(agi-DID_route.agi)
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}---


but here's the error I'm getting:
Code: Select all
[Jul 17 21:39:57]     -- Executing [4845551212@agentin:1] AGI("SIP/manchestera-00000001", "agi-DID_route.agi") in new stack
[Jul 17 21:39:57]     -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Jul 17 21:39:58]     -- AGI Script agi-DID_route.agi completed, returning 0
[Jul 17 21:39:58]     -- Executing [9998811112@default:1] Wait("SIP/manchestera-00000001", "2") in new stack
[Jul 17 21:40:00]     -- Executing [9998811112@default:2] Answer("SIP/manchestera-00000001", "") in new stack
[Jul 17 21:40:00]     -- Executing [9998811112@default:3] Playback("SIP/manchestera-00000001", "ss-noservice") in new stack
[Jul 17 21:40:00]     -- <SIP/manchestera-00000001> Playing 'ss-noservice' (language 'en')


So what am I missing? How do I make it use my carrier, do I need something special for a dialplan in the carrier setup?
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Inbound from ip? Need Help

Postby williamconley » Tue Jul 17, 2012 10:42 pm

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. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

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 | Intel DG35EC | Core2Quad Q6600

3) You've been here for a while, 81 posts?, so I really should not have had to say that, right? LOL

4) Carrier settings for "Inbound" are the same as carrier settings for "outbound", except you MUST put "context=trunkinbound" in the account entry. However, since you already have the call landing (quite successfully) in the "Default DID" (or at least "some" DID), as evidenced by 9998811112 above, all you need to do now is route it to wherever you want these calls to go in "DIDs" and you're done (likely by modifying the Default DID if that is the one it is landing in! Test by altering the 9998811112 in the Default one and see if that changes the behavior in the asterisk CLI screen!). See: You did better than you thought! :)
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 Support

Who is online

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