[Asterisk-Users] PortaSIP/PortaBilling incompatibility (provider: sipcall.ch)

Marc SCHAEFER asterisk-users at alphanet.ch
Wed Apr 13 01:11:32 MST 2005


On Mon, Apr 11, 2005 at 08:18:43PM +0200, gramels wrote:
> If Useragent field in this config corresponds to User-Agent field in 
> Asterisk's SIP messages and you may change it to something that doesn't 
> contain a word Asterisk - please try to do so; in such case PortaSIP 
> will not apply remote IP auth.

I might have a similar problem with SER (sipphone.com) and my Asterisk.
However the mentionned work around doesn't work.

Funnily the register works with the same password.

What happens:

   Apr 13 09:34:45 NOTICE[2495]: chan_sip.c:6831 handle_response: Failed to authenticate on INVITE to '"17476691152" <sip:17476691152 at sipphone.com>;tag=as41277c10'

log:
   Reliably Transmitting:
   INVITE sip:17145081040 at proxy01.sipphone.com SIP/2.0
   Via: SIP/2.0/UDP 80.83.46.147:5060;branch=z9hG4bK7e66a7cc
   From: "17476691152" <sip:17476691152 at sipphone.com>;tag=as41277c10
   To: <sip:17145081040 at proxy01.sipphone.com>
   Contact: <sip:17476691152 at 80.83.46.147>
   Call-ID: 355453f6349b4b7c4b6947a56d502f74 at sipphone.com
   CSeq: 102 INVITE
   User-Agent: portasipfriendly
   Date: Wed, 13 Apr 2005 07:34:43 GMT
   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
   Content-Type: application/sdp
   Content-Length: 343
  
   Sip read: 
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 80.83.46.147:5060;branch=z9hG4bK7e66a7cc
   To: <sip:17145081040 at proxy01.sipphone.com>;tag=21a483426c2cd5d9b85bffe6bba40a2e.
   WWW-Authenticate: Digest realm="sipphone.com",
   nonce="425cc84ac3c477a344ab166ec9
   Warning: 392 198.65.166.131:5060 "Noisy feedback tells:  pid=1706 req_src_ip=80.83.46.147 req_src_port=5060 in_uri=sip:17145081040 at proxy01.sipphone.com out_uri=
   
   Transmitting:
   ACK sip:17145081040 at proxy01.sipphone.com SIP/2.0
   Via: SIP/2.0/UDP 80.83.46.147:5060;branch=z9hG4bK7e66a7cc
   From: "17476691152" <sip:17476691152 at sipphone.com>;tag=as41277c10
   To: <sip:17145081040 at proxy01.sipphone.com>;tag=21a483426c2cd5d9b85bffe6bba40a2e.1876
   Contact: <sip:17476691152 at 80.83.46.147>
   Call-ID: 355453f6349b4b7c4b6947a56d502f74 at sipphone.com
   CSeq: 102 ACK
   User-Agent: portasipfriendly
   Content-Length: 0
   
   Reliably Transmitting:
   
   Via: SIP/2.0/UDP 80.83.46.147:5060;branch=z9hG4bK6ace6db5
   From: "17476691152" <sip:17476691152 at sipphone.com>;tag=as41277c10
   To: <sip:17145081040 at proxy01.sipphone.com>
   Contact: <sip:17476691152 at 80.83.46.147>
   Call-ID: 355453f6349b4b7c4b6947a56d502f74 at sipphone.com
   CSeq: 103 INVITE
   User-Agent: portasipfriendly
   Authorization: Digest username="17476691152", realm="sipphone.com",
   algorithm=MD5, uri="sip:17145081040 at proxy01.sipphone.com",
   nonce="425cc84ac3c477a344ab166ec9 7f6efdadcc6bb3", response="1bdef16f3de89e9194116a2a0135a495", opaque=""
   Date: Wed, 13 Apr 2005 07:34:44 GMT
   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
   Content-Type: application/sdp
   Content-Length: 343
   
   Sip read: 
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 80.83.46.147:5060;branch=z9hG4bK6ace6db5
   From: "17476691152" <sip:17476691152 at sipphone.com>;tag=as41277c10
   To:
   <sip:17145081040 at proxy01.sipphone.com>;tag=21a483426c2cd5d9b85bffe6bba40a2e.
   bd57
   Call-ID: 355453f6349b4b7c4b6947a56d502f74 at sipphone.com
   CSeq: 103 INVITE
   WWW-Authenticate: Digest realm="sipphone.com",
   nonce="425cc84bb62fad894c1533475c 08dead3e27baa5"
   Content-Length: 0
   Warning: 392 198.65.166.131:5060 "Noisy feedback tells:  pid=1707
   req_src_ip=80.83.46.147 req_src_port=5060 in_uri=sip:17145081040 at proxy01.sipphone.com
   out_uri=
   sip:17145081040 at proxy01.sipphone.com via_cnt==1"
   
   Transmitting:
   ACK sip:17145081040 at proxy01.sipphone.com SIP/2.0
   Via: SIP/2.0/UDP 80.83.46.147:5060;branch=z9hG4bK6ace6db5
   From: "17476691152" <sip:17476691152 at sipphone.com>;tag=as41277c10
   To:
   <sip:17145081040 at proxy01.sipphone.com>;tag=21a483426c2cd5d9b85bffe6bba40a2e.
   bd57
   Contact: <sip:17476691152 at 80.83.46.147>
   Call-ID: 355453f6349b4b7c4b6947a56d502f74 at sipphone.com
   CSeq: 103 ACK
   User-Agent: portasipfriendly
   Content-Length: 0
   
   Reliably Transmitting:
   INVITE sip:17145081040 at proxy01.sipphone.com SIP/2.0
   Via: SIP/2.0/UDP 80.83.46.147:5060;branch=z9hG4bK02c48610
   From: "17476691152" <sip:17476691152 at sipphone.com>;tag=as41277c10
   To: <sip:17145081040 at proxy01.sipphone.com>
   Contact: <sip:17476691152 at 80.83.46.147>
   Call-ID: 355453f6349b4b7c4b6947a56d502f74 at sipphone.com
   CSeq: 104 INVITE
   User-Agent: portasipfriendly
   Authorization: Digest username="17476691152", realm="sipphone.com",
   algorithm=MD
   5, uri="sip:17145081040 at proxy01.sipphone.com",
   nonce="425cc84bb62fad894c1533475c
   08dead3e27baa5", response="219b7fec33546a32a830edfba25fa601", opaque=""
   Date: Wed, 13 Apr 2005 07:34:44 GMT
   Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
   Content-Type: application/sdp
   
   Sip read: 
   SIP/2.0 401 Unauthorized
   To:
   <sip:17145081040 at proxy01.sipphone.com>;tag=21a483426c2cd5d9b85bffe6bba40a2e.
   WWW-Authenticate: Digest realm="sipphone.com",
   nonce="425cc84bb62fad894c1533475c
   Warning: 392 198.65.166.131:5060 "Noisy feedback tells:  pid=1702
   req_src_ip=80.
   83.46.147 req_src_port=5060 in_uri=sip:17145081040 at proxy01.sipphone.com
   out_uri=
   
   Transmitting:
   To:
   <sip:17145081040 at proxy01.sipphone.com>;tag=21a483426c2cd5d9b85bffe6bba40a2e.
   6caf
   Contact: <sip:17476691152 at 80.83.46.147>
   Call-ID: 355453f6349b4b7c4b6947a56d502f74 at sipphone.com
   CSeq: 104 ACK
   User-Agent: portasipfriendly
   Content-Length: 0
    



More information about the asterisk-users mailing list