I have had problems with Portech firmware using Chrome browser. The problem
was that when I changed the password on the gateway it would apply that
password to SIP PEERS as well. So, maybe, you are actually not having the
right password in your SIP peer as well and hence your Asterisk sends
Unauthorized.

-Bruce

On Tue, Apr 20, 2010 at 9:29 AM, Jonas Kellens <jonas.kell...@telenet.be>wrote:

>  With tcpdump I saw that there were packets coming in from the GSM-gateway
> to the public Asterisk-server.
> I saw nothing on the Asterisk-CLI that told me that there were attempts to
> register, but a "sip debug" shows this :
>
> <------------>
> [Apr 20 15:07:41] Scheduling destruction of SIP dialog '
> 0cd637c143e6667c4b5279b713b50...@192.168.1.25' in 32000 ms (Method:
> REGISTER)
> [Apr 20 15:07:41] Really destroying SIP dialog '
> 5c4fc9a47a3f5d545608747f45186...@192.168.1.25' Method: REGISTER
> [Apr 20 15:07:41]
> <--- SIP read from my_public_ip:5066 --->
> REGISTER sip:my_asterisk_ip SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.25:5066;rport;branch=z9hG4bK959181a47a
> From: "SIM 3" <sip:sims...@my_asterisk_ip>;tag=4c9ddc99
> To: "SIM 3" <sip:sims...@my_asterisk_ip>
> Call-ID: 001816f82d8bf3d43f34faa82f344...@192.168.1.25
> Contact: <sip:sims...@192.168.33.104:5060>
> CSeq: 2354 REGISTER
> Max-Forwards: 70
> Expires: 60
> Allow: INVITE,CANCEL,ACK,BYE,NOTIFY,REFER,OPTIONS,INFO,MESSAGE,UPDATE
> User-Agent: Mv-37x (904290)
> Content-Length: 0
>
>
> <------------->
> [Apr 20 15:07:41] --- (12 headers 0 lines) ---
> [Apr 20 15:07:41] Using latest REGISTER request as basis request
> [Apr 20 15:07:41] Sending to my_public_ip : 5066 (NAT)
> [Apr 20 15:07:41]
> <--- Transmitting (NAT) to my_public_ip:5066 --->
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 192.168.1.25:5066
> ;branch=z9hG4bK959181a47a;received=my_public_ip;rport=5066
> From: "SIM 3" <sip:sims...@my_asterisk_ip>;tag=4c9ddc99
> To: "SIM 3" <sip:sims...@my_asterisk_ip>
> Call-ID: 001816f82d8bf3d43f34faa82f344...@192.168.1.25
> CSeq: 2354 REGISTER
> User-Agent: Asterisk PBX
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Supported: replaces
> Content-Length: 0
>
>
> <------------>
> [Apr 20 15:07:41]
> <--- Transmitting (NAT) to my_public_ip:5066 --->
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP 192.168.1.25:5066
> ;branch=z9hG4bK959181a47a;received=my_public_ip;rport=5066
> From: "SIM 3" <sip:sims...@my_asterisk_ip>;tag=4c9ddc99
> To: "SIM 3" <sip:sims...@my_asterisk_ip>;tag=as09b99e8c
> Call-ID: 001816f82d8bf3d43f34faa82f344...@192.168.1.25
> CSeq: 2354 REGISTER
> User-Agent: Asterisk PBX
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Supported: replaces
> WWW-Authenticate: Digest algorithm=MD5, realm="103001vc", nonce="3c911c4a"
> Content-Length: 0
>
> How come there is a register attempt that is "Unauthorized" and how come
> this doesn't show on the CLI ??
>
>
> Kind regards,
>
> Jonas.
>
>
> Jonas Kellens wrote:
>
> Hello list,
>
> has anyone experience with the Portech MV-374 GSM-gateway ?
>
> I'm trying to register the SIP-accounts to a public SIP-server but that
> fails.
>
> When trying to register to a local Asterisk-server, all goes well.
>
> So anyone knows what special setting I need to make to register my
> SIP-accounts/SIM-cards to a public IP ??
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to