"Because I'm checking the From part,"
 
"Authenticating" against the From header is insecure.
 
You could authenticate calls from the asterisk box with the auth module then the problem would arise.
 
Cheers
 
Gerry
 
 
 
 
 
 
-----Original Message-----
From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of ram
Sent: Mittwoch, 2. August 2006 08:59
To: Nhadie Ramos
Cc: serusers@iptel.org; asterisk-users@lists.digium.com
Subject: [Bulk] Re: [Serusers] SER local as an Asterisk Trunk

Hi
 
Last week i was working on  the same
i had same problem
 
later after struggling lot, i have found solution by trying some options
iam able to succeeded for the same
 
may be this config should help you
 
sip_additional.cfg
----------------------------
 
register=account:password@serdomain.com/account
 
[ser]
username=account@serdomain.com
type=peer
sendrpid=yes
secret=password
qualify=yes
nat=yes
insecure=very
host= ser.serdomain.com
fromuser=accountname
fromdomain=serdomain.com
authuser=accountname
 
 
ram

 
On 8/2/06, Nhadie Ramos <nhadie@tbgi.net.ph> wrote:
Hi,

Would just like to ask, I have an SER SIP Proxy and I setup an Asterisk,
i used an SER local as a trunk for the Asterisk.
When the Asterisk box register to SER it will have this URI
sip:s@10.10.10.10, instead of sip:1001@10.10.10.10.

Anyone has encountered this problem? Because I'm checking the From part,
and "s" is not a valid extension number so it will deny it calling to
the gateway.

TIA

Regards
Nhadie
_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers