[Asterisk-Users] SIP.Conf help? (srvlookup)
Todd Duffin
nospam at tippyturtle.com
Tue Nov 30 00:35:05 MST 2004
----- Original Message -----
From: "Kristian Kielhofner" <kris at krisk.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Monday, November 29, 2004 11:17 PM
Subject: Re: [Asterisk-Users] SIP.Conf help? (srvlookup)
> Todd Duffin wrote:
>> I am trying to get FWD to work with SIP (Since IAX has become very
>> flakey)
>> ~~~~~~~~
>> sip.conf
>> ~~~~~~~~
>> [general]
>> srvlookup=yes
>> register => XXXXXX:<password>@fwd.pulver.com/XXXXXX
>> [FreeWorldDialup]
>> context=sip-in
>> type=user
>> hostname=fwd.pulver.com
>> insecure=very
>> [fwd-out]
>> type=peer
>> secret=XXXX
>> username=XXXXXX
>> fromuser=XXXXXX
>> host=fwd.pulver.com
>> My problem is that when I reload I get:
>> Nov 29 22:43:24 WARNING[1089768368]: chan_sip.c:1375 create_addr: No such
>> host: fwd.pulver.com
>> This can be "fix" by setting srvlookup=no...or naming my "[fwd-out]"
>> section "[fwd.pulver.com]" but things are still very funny...such as I
>> never get incoming calls even though "sip show registration" shows:
>> fwd.pulver.com:5060 XXXXXX 105 Registered
>> ...is this for outbound calls only?
>> If anyone has a working FWD SIP.conf can you please post it or email it
>> to me? Thanks in advance.
>>
>> Todd
>>
>
> sip.conf:
>
> [general]
> srvlookup=yes (this is what I have in mine, so I know it will all work for
> you)
>
> register => username:password at fwd.pulver.com/700
>
> [fwd-out]
> type=peer
> secret=password
> username=username
> disallow=all
> allow=ulaw
> host=fwd.pulver.com
> dtmfmode=rfc2833
> context=voip-out
> qualify=no
>
> extensions.conf:
>
> [voip-out]
> exten => _XXXXXX,1,Dial(SIP/${EXTEN}@fwd-out)
> exten => _XXXXXX,2,Congestion
>
> exten => _XXXXX,1,Dial(SIP/${EXTEN}@fwd-out)
> exten => _XXXXX,2,Congestion
>
> [default]
> exten => 700,1,Goto(default,s,1)
>
> That should get you working, but there might be better ways to do it. I
> just use it so I can dial five or six digits and go out FWD... The only
> time I ever used it was to call the welcome line and at Astricon I was
> able to use a Pulver WiSIP phone (from the Pulver booth) to call into my
> FWD number: 456999. Feel free to give it a try when you get up and
> running - you should get my auto attendant.
>
> --
> Kristian Kielhofner
I don't get it...I literally cut a pasted that in (and fixed the
UN/PW's)...and same issues. I can ping or dig fwd.pulver.com just fine, so
I know it isn't an issue with my machine trying to resolve the host?
Does anyone have any idea's?
Todd
More information about the asterisk-users
mailing list