Page 1 of 1
Need Carrier settings
Posted:
Wed Feb 23, 2011 10:35 pm
by gmcust3
I have an Inbound Number which is IP based.
I mean I have a portal of DID number where I have Entered my server IP.
I need the carrier settings for setting up Inbound number so that my cal will hit asterisk when anyone tries to call that DID number.
Posted:
Thu Feb 24, 2011 10:34 am
by williamconley
set up a carrier with the ip address (host=xxx.xxx.xxx.xxx.) of the VOIP provider that will send the calls, and put context=trunkinbound in the account entry. that will send the call to the vicidial inbound agi script and you're off and runnin.
Posted:
Thu Feb 24, 2011 10:55 am
by gmcust3
How about Dialplan Entry ?
Posted:
Thu Feb 24, 2011 11:02 am
by williamconley
inbound does not need one. leave it blank.
Posted:
Fri Feb 25, 2011 1:55 am
by gmcust3
Registration String: Blank
Account Entry :
host=xxx.xxx.xxx.xxx
context=trunkinbound
Globals String:Blank
Dialplan Entry:Blank
Posted:
Fri Feb 25, 2011 2:07 am
by williamconley
you'll likely need more sip account settings than that. but those you'd need to get from your carrier.
one of ours uses this:
[carrierXX]
host=xx.xx.xx.xx
context=trunkinbound
type=friend
qualify=1000
dtmfmode=rfc2833
canreinvite=no
allow=ulaw
port=5060
Posted:
Fri Feb 25, 2011 2:15 am
by gmcust3
Here is what I have :
Posted:
Fri Feb 25, 2011 2:23 am
by williamconley
you forgot to leave the globals string and dialplan entries BLANK.
and where's that user/pass comin from? I thought it was IP based? LOL
but if they want you to register to get the calls, that's how you do it. (but do blank out the globals and dialplan, it'll mess up your extensions.conf)
Posted:
Fri Feb 25, 2011 2:29 am
by gmcust3
Apologies. Call is hitting the asterisk but getting failed due to
chan_sip.c:15072 handle_request_invite: Failed to authenticate user "station 106" <sip:username@xx.xx.xxx.xxx:5060>;tag=24020211233013615000
I got it user based becos I have the Outbound Account with the same Provider.
Posted:
Fri Feb 25, 2011 2:31 am
by williamconley
if you have an outbound account with the same provider, remove this entire setup and change the "account entry" for that carrier (the one with the same "host=xxx.xxx.xxx.xxx") to include "context=trunkinbound". That was the only change necessary. (there is NO OTHER USE for "context=", it is not used for outbound!!)
Posted:
Fri Feb 25, 2011 2:35 am
by gmcust3
Here it goes :