Hi Alex,
I think i understand a bit better. Your users are registering with * and
not SER, and you're * server is on DHCP (i understood this part). What I
did not see, is that you users are not registering to SER (correct me if i
am wrong). My setup is opposite to this as well. I am thinking that maybe
you can make changes in * .conf files to get around the trusted tables, but
maybe you have already done this, so excuse my unkowledgeability of what you
have already done and your specific setup. But I am trying to visualize
your network and what I might do if i had your setup. You basically have
registered * with SER Only, but not the individual users. How you are
setting up extensions.conf for each user maybe? I know some of this has
already been done by you or your system would not be where it is, but
because i don't know what all you have, I put a bit more than needed for you
to pick out what's useful.
[general]
register => already done
[serserver]
context=global, default, incoming or...
type=peer
fromuser=YOUR NUMBER ; callerid number
username=YOUR NUMBER
authuser=YOUR NUMBER
secret=YOUR PASSWORD
host= INSERT PROXY HERE ;host to contact
fromdomain= INSERT PROXY HERE ; domain you're on
nat=no ; network address translation (set to yes if you have problems)
canreinvite=yes
insecure=very ; security level
qualify=yes ; require password (I think require this)
EXTENSIONS.CONF
[outgoing]
exten => _1NXXNXXXXXX,1,dial(SIP/${EXTEN:0}@serserver,10,r) ; for each user
exten => _1NXXNXXXXXX,2,congestion
exten => _NXXNXXXXXX,1,dial,(SIP/1${EXTEN:0}@serserver,10,r)
exten => _NXXNXXXXXX,2,Hangup
I hope something in here is useful to you buddy with all this typing. :)
Tracy
From: "Alex Fler" <alexfler(a)yahoo.com>
To: "'Tracy Lofton'"
<tracylofton_1@hotmail.com>,"Serusers@lists. iptel.
org" <Serusers(a)lists.iptel.org>
Subject: RE: [Serusers] Re: SER and Asterisk integration
Date: Tue, 19 Sep 2006 08:51:20 -0400
Hello Tracy,
Thanks for respond,
I already tried putting ip addresses into trusted table for static ip pstn
gateways; unfortunately it's not the case. My asterisk server using ADSL
connection with DHCP, so I will never now when IP going to change. The
incoming calls part was easily configured which simple registering asterisk
with SER, unfortunately for an outgoing part even when I use
fromuser="registered with ser username" and fromdomain="domain name"
I cant rout call out with ser, because ser will ask for authentication.
If you have any other ideas please let me know.
Thanks again for your help
Alex Fler
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] On Behalf Of Tracy Lofton
Sent: Monday, September 18, 2006 12:57 PM
To: Serusers(a)lists.iptel.org
Subject: Re: [Serusers] Re: SER and Asterisk integration
Hi Alex,
Forgive me with all of these back-to-back emails, but I hate to mislead in
any way, so this should be the last one. One final note I observed is that
in all actuality the Getting Started Guide states that it is whatever ip
address is your PSTN gateway actually goes into the trusted table of SER
database.
Tracy
From: "Tracy Lofton"
<tracylofton_1(a)hotmail.com>
To: Serusers(a)lists.iptel.org
Subject: Re: [Serusers] Re: SER and Asterisk integration
Date: Mon, 18 Sep 2006 16:19:20 +0000
Hi,
Actually I had recently changed my setup allocating individual UAs, so
today I changed it back to only have the static ip address of SER for
which
my UAs register. Now I do not need to watch
changes for every UA. I do
not know if this is your case, but if it is then you only have to put in
the trusted table one entry for static ip of SER sip router something
like
this (and not the ips of UAs at all, if SER is at
least static ip):
insert into trusted (src_ip, proto, from_pattern) values ('69.160.100.2',
'any', 'sip:.*$');
only for SER static IP address for which UAs register
Hope this helps you.
>From: "Tracy Lofton" <tracylofton_1(a)hotmail.com>
>To: Serusers(a)lists.iptel.org
>Subject: Re: [Serusers] Re: SER and Asterisk integration
>Date: Mon, 18 Sep 2006 15:14:06 +0000
>
>Hi again,
>
>what i would also like to add to the previous email regarding this
issue,
>is that if you find out that we can input some
type of regex in the
src_ip
>column to account for dynamic ips, please let
me know too because then i
>would not have to keep an eye on when the dynamic ip addresses change.
>
>Tracy
>
>
>>From: "Tracy Lofton" <tracylofton_1(a)hotmail.com>
>>To: Serusers(a)lists.iptel.org
>>Subject: Re: [Serusers] Re: SER and Asterisk integration
>>Date: Mon, 18 Sep 2006 15:06:45 +0000
>>
>>Hi,
>>
>>I read about your dynamic ip situation and not using the trusted tables
>>but it seems like until you do this you will continue to receive the
407
>>Unauthorized messages from Asterisk, but
have you at least tried to
input
>>the data into trusted table with using the
external ip address of your
>>sip phones, because all of my sip phones in the trusted table are using
>>router allocated ip addresses but i input them into the trusted tables
>>using their external ip address of the DSL provider, etc, such as:
>>
>>insert into trusted (src_ip, proto, from_pattern) values
('69.160.100.2',
>>'any', 'sip:.*$');
>>
>>if you find that this does not work then just do:
>>
>>delete from trusted where src_ip=69.160.100.2;
>>
>>Keep me posted how it works.
>>
>>Tracy
>>
>>
>>
>>>From: "sip" <sip(a)infinideas.com>
>>>To: "Alex Fler" <alexfler@yahoo.com>,"Serusers@lists.
iptel. org"
>>><Serusers(a)lists.iptel.org>
>>>CC: serusers-bounces(a)lists.iptel.org
>>>Subject: Re: [Serusers] Re: SER and Asterisk integration
>>>Date: Mon, 18 Sep 2006 10:20:13 -0400
>>>
>>>Have you tried adding a
>>>
>>>fromdomain=mydomain.com
>>>
>>>In your peer section?
>>>
>>>N.
>>>
>>>On Mon, 18 Sep 2006 10:02:27 -0400, Alex Fler wrote
>>> > Hello Guys,
>>> > I-m trying to integrate Ser with asterisk.
>>> > Asterisk server resides on private network behindrouter. All UA-s
are
>>>on the same internal network with
Asterisk serverand registered with
it.
>>> > Asterisk server registered with
Ser server, so thisway I get
incoming
>>>calls without any problems. At the
same time when on ofUA-s trying to
>>>call out
>>> > Ser server gives 407 errors Authentication Required.I cannot add
>>>asterisk server into my trusted table because ADSL connection
hasDynamic
>>>IP which may change frequently.
>>> > This message I receive, because in INVITE part I haveUA in FROM:
>>>field witch are registered with asterisk not SER. How can I
resolvethis
>>>issue for outgoing calls?
>>> > Thank you for your help and sorry for bad English
>>> > > Regards
>>> > > Alex Fler
>>> >
>>>
>>>
>>
>>
>>>_______________________________________________
>>>Serusers mailing list
>>>Serusers(a)lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>_________________________________________________________________
>>Search from any web page with powerful protection. Get the FREE Windows
>>Live Toolbar Today!
http://get.live.com/toolbar/overview
>>
>>_______________________________________________
>>Serusers mailing list
>>Serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
>_________________________________________________________________
>Get the new Windows Live Messenger!
>http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source
=wlmailtagline
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_________________________________________________________________
Add fun gadgets and colorful themes to express yourself on Windows Live
Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://ww
w.get.live.com/spaces/features
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_________________________________________________________________
Search?Your way, your world, right now!
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FOR…
TAG
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_________________________________________________________________
The next generation of Searchsay hello!