[Freeswitch-users] Handle invite with wrong to:IP
Peter P GMX
Prometheus001 at gmx.net
Thu Apr 2 14:45:40 PDT 2009
I restart FS and initiate an incoming call (trunk is registered at the
SIP provider).
This is what I see on the console:
.
.
.
2009-04-02 23:39:16 [DEBUG] mod_event_socket.c:2224
mod_event_socket_runtime() Socket up listening on 0.0.0.0:8021
2009-04-02 23:39:16 [NOTICE] switch_core.c:981
switch_load_network_lists() Adding xxx.xxx.xxx.xxx/32 (allow) to list strict
2009-04-02 23:39:16 [NOTICE] switch_core.c:981
switch_load_network_lists() Adding xx.xx.xxx.xx/32 (allow) to list domains
2009-04-02 23:39:16 [NOTICE] switch_core.c:981
switch_load_network_lists() Adding 62.65.128.62/32 (allow) to list domains
2009-04-02 23:39:48 [WARNING] sofia_reg.c:1661 sofia_reg_parse_auth()
Can't find user [anonymous at 62.65.128.62]
You must define a domain called '62.65.128.62' in your directory and add
a user with the id="anonymous" attribute
and you must configure your device to use the proper domain in it's
authentication credentials.
Nothing else.
Here is the registration info:
Name Netvoip
Scheme Digest
Realm sip.netvoip.ch
Username 071xxxxxxx
Password yes
From
Contact
Exten 071xxxxxxx
To sip:071xxxxxxx at sip.netvoip.ch
Proxy sip:sip.netvoip.ch
Context public
Expires 60
Freq 60
Ping 0
PingFreq 0
State REGED
Status UP
CallsIN 0
CallsOUT 0
Best regards
Peter
Anthony Minessale schrieb:
> look at the debug log and see what happens?
>
> On Thu, Apr 2, 2009 at 3:34 PM, Peter P GMX <Prometheus001 at gmx.net
> <mailto:Prometheus001 at gmx.net>> wrote:
>
> My ACL contains:
> <list name="domains" default="deny">
> <node type="allow" domain="$${domain}"/>
> <node type="allow" cidr="62.65.128.62/32
> <http://62.65.128.62/32>"/>
> </list>
>
> So this should be fine, right? However it doesn't work.
>
> Best regards
> Peter
>
>
> Brian West schrieb:
> > We use the true network ip the invite came from NOT the one in
> the sip
> > headers. Not very trust worth to do that you think? ;)
> >
> > So if your ACL is correctly setup to 62.65.128.62 it would let
> them in
> > please verify your ACL is correct...
> >
> > /b
> >
> > On Apr 2, 2009, at 3:07 PM, Peter P GMX wrote:
> >
> >> Hello,
> >>
> >> I am using a SIP account from Netvoip CH. I try to receive
> inbound call
> >> from this SIP trunk. I discovered that, when they sent an
> invite, the
> >> IP-Adress of the to: is their own IP address.
> >> There fore ACL doesn't work and FS asks for authorization,
> which then
> >> fails
> >>
> >> I receive the following message on the CLI:
> >> 2009-04-02 21:48:20 [WARNING] sofia_reg.c:1661
> sofia_reg_parse_auth()
> >> Can't find user [anonymous at 62.65.128.62
> <mailto:anonymous at 62.65.128.62> <mailto:anonymous at 62.65.128.62
> <mailto:anonymous at 62.65.128.62>>]
> >> You must define a domain called '62.65.128.62' in your
> directory and add
> >> a user with the id="anonymous" attribute
> >> and you must configure your device to use the proper domain in it's
> >> authentication credentials.
> >
> > Brian West
> > brian at freeswitch.org <mailto:brian at freeswitch.org>
> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org>>
> >
> > -- Meet us a ClueCon! http://www.cluecon.com
> <http://www.cluecon.com/>
> >
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> <mailto:Freeswitch-users at lists.freeswitch.org>
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> <mailto:Freeswitch-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> <mailto:sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> <http://iax:guest@conference.freeswitch.org/888>
> googletalk:conf+888 at conference.freeswitch.org
> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
More information about the Freeswitch-users
mailing list