[Asterisk-Users] WellGate 3504A with Asterisk SIP authentication and config

Danny Zak dannyz at belgonet.com
Wed Sep 8 14:17:04 MST 2004


Hello Dinesh,

i'm pretty sure that asterisk doesn't support multi logins for each line!


-- 
Best regards,
 Danny                            mailto:dannyz at belgonet.com

belGOnet.com  a  Euro-pictures  division - internet solutions
place princesse elisabeth 9/11   -   1030 Brussels  - Belgium
Tel : +32-(0)2-215.67.65      -      Fax : +32-(0)2-215.66.65

domains - hosting - hardware - VoiP - consultancy - backuping
CISCO - HP/COMPAQ - SUN - EMC - JUNIPER - IBM - DELL - NORTEL


No  legal  consequences  can be derived from the contents of the email
neither  is  belGOnet.com committed to them. The content of this email
is  exclusively  intended  for  adressee(s)  and information purposes.
belGOnet.com  accepts  no  liability for any damage resulting from the
use and/or acceptation of the content of this email.


Wednesday, September 8, 2004, 2:29:20 PM, you wrote:


DN> hey * folk,

DN> am trying to configure a WellGate 3504A FXS SIP ATA 
DN> (http://www.welltech.com.tw/products_ea01.htm) with asterisk. i've set
DN> up two SIP clients in sip.conf as follows:

DN> [general]
DN> port = 5060			; Port to bind to
DN> bindaddr = 0.0.0.0		; Address to bind SIP channel to
DN> context = default		; Default context for incoming calls

DN> [1235]
DN> host = dynamic
DN> secret = somepass
DN> context = default
DN> type = friend
DN> amaflags = billing
DN> accountcode = SIPUSER
DN> disallow=all
DN> allow=ulaw
DN> allow=alaw

DN> [1234]
DN> host = dynamic
DN> secret = somepass
DN> context = default
DN> type = friend
DN> amaflags = billing
DN> accountcode = SIPUSER
DN> disallow=all
DN> allow=ulaw
DN> allow=alaw

DN> and on the wellgate i've set the following under SIP information:

DN> Run Mode: Proxy
DN> Primary Proxy IP Address: 192.168.0.200 <-------- this is the IP addy of
DN> the asterisk server
DN> Secondary Proxy IP Address: 	
DN> Outbound Proxy: 	
DN> Proxy port:  5060

DN> Line 1 Number: 1234
DN> Line 1 Account: 1234
DN> Line 1 Password: somepass

DN> Line 2 Number: 1235
DN> Line 2 Account: 1235
DN> Line 2 Password: somepass

DN> Line 3 Number: 1236
DN> Line 3 Account:
DN> Line 3 Password:

DN> Line 4 Number: 1237
DN> Line 4 Account:
DN> Line 4 Password:

DN> SIP port:  5060
DN> RTP Port:  16384
DN> Expire:  60

DN> however, only Line 1 from the wellgate succesfully authenticates with
DN> asterisk. picking up the analog handset attached to line 1 (1234) works
DN> fine with calls in and out working the way it should without any 
DN> problems. Line 2 (and subsequently Lines 3 & 4) do not work at all. i've
DN> captured the output of 'sip debug' and have attached it below. looking
DN> at the output, it does seem that asterisk is rejecting the 
DN> authentication for line 2 but it doesn't mention why. the obvious 
DN> reasons (password mismatch et al) have been ruled out, of course.

DN> any help would be much appreciated. i've read mailing list archive of
DN> others being able to use the WellGate 3502 (which is just a 2xFXS port
DN> version) with asterisk. however no mention of VoIP protocols was 
DN> mentioned as the wellgates traditionally supported H.323 but with 
DN> firmware upgrade has been able to support SIP.

DN> (sip debug output begins)

DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP 192.168.0.202:5060;branch=z9hG4bK-0-35c-47a0
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:1234 at 192.168.0.202:5060>;expires=60
DN> From: <sip:1234 at 192.168.0.200> ;tag=c0a800ca-13c4-0-35c-48a3
DN> To: <sip:1234 at 192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 1 REGISTER
DN> Content-Length:0


DN> 11 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 100 Trying
DN> Via: SIP/2.0/UDP 192.168.0.202:5060;branch=z9hG4bK-0-35c-47a0
DN> From: <sip:1234 at 192.168.0.200> ;tag=c0a800ca-13c4-0-35c-48a3
DN> To: <sip:1234 at 192.168.0.200>;tag=as2b502f28
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 1 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1234 at 192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Transmitting (no NAT):
DN> SIP/2.0 407 Proxy Authentication Required
DN> Via: SIP/2.0/UDP 192.168.0.202:5060;branch=z9hG4bK-0-35c-47a0
DN> From: <sip:1234 at 192.168.0.200> ;tag=c0a800ca-13c4-0-35c-48a3
DN> To: <sip:1234 at 192.168.0.200>;tag=as2b502f28
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 1 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1234 at 192.168.0.200>
DN> Proxy-Authenticate: Digest realm="asterisk", nonce="00727441"
DN> Content-Length: 0


DN>   to 192.168.0.202:5060


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-48d-3dcc
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:1235 at 192.168.0.202:5060>;expires=60
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95b-488-4bff
DN> To: <sip:1235 at 192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 2 REGISTER
DN> Content-Length:0


DN> 11 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 100 Trying
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-48d-3dcc
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95b-488-4bff
DN> To: <sip:1235 at 192.168.0.200>;tag=as2b502f28
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 2 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1235 at 192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Transmitting (no NAT):
DN> SIP/2.0 407 Proxy Authentication Required
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-48d-3dcc
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95b-488-4bff
DN> To: <sip:1235 at 192.168.0.200>;tag=as2b502f28
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 2 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1235 at 192.168.0.200>
DN> Proxy-Authenticate: Digest realm="asterisk", nonce="7b6d7de6"
DN> Content-Length: 0


DN>   to 192.168.0.202:5060


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-5b9-6ab8
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:@192.168.0.202:5060>;expires=60
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95b-5b9-291b
DN> To: <sip:@192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 3 REGISTER
DN> Content-Length:0


DN> 11 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 401 Unauthorized
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-5b9-6ab8
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95b-5b9-291b
DN> To: <sip:@192.168.0.200>;tag=as2b502f28
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 3 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:@192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Sep  8 20:21:48 NOTICE[135410688]: chan_sip.c:5641 handle_request:
DN> Registration from '<sip:@192.168.0.200>' failed for '192.168.0.202'


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-6ea-7a64
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:@192.168.0.202:5060>;expires=60
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95c-6ea-3bf7
DN> To: <sip:@192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 4 REGISTER
DN> Content-Length:0


DN> 11 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 401 Unauthorized
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-6ea-7a64
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95c-6ea-3bf7
DN> To: <sip:@192.168.0.200>;tag=as11d046c3
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 4 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:@192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Sep  8 20:21:48 NOTICE[135410688]: chan_sip.c:5641 handle_request:
DN> Registration from '<sip:@192.168.0.200>' failed for '192.168.0.202'


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-48d-3dcc
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:1235 at 192.168.0.202:5060>;expires=60
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95b-488-4bff
DN> To: <sip:1235 at 192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 2 REGISTER
DN> Content-Length:0


DN> 11 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 100 Trying
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-48d-3dcc
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95b-488-4bff
DN> To: <sip:1235 at 192.168.0.200>;tag=as61d54b6c
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 2 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1235 at 192.168.0.200>
DN> Content-Length: 0

DN>   to 192.168.0.202:5060
DN> Transmitting (no NAT):
DN> SIP/2.0 407 Proxy Authentication Required
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-48d-3dcc
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95b-488-4bff
DN> To: <sip:1235 at 192.168.0.200>;tag=as61d54b6c
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 2 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1235 at 192.168.0.200>
DN> Proxy-Authenticate: Digest realm="asterisk", nonce="66543535"
DN> Content-Length: 0


DN>   to 192.168.0.202:5060


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-5b9-6ab8
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:@192.168.0.202:5060>;expires=60
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95b-5b9-291b
DN> To: <sip:@192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 3 REGISTER
DN> Content-Length:0


DN> 11 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 401 Unauthorized
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95b-5b9-6ab8
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95b-5b9-291b
DN> To: <sip:@192.168.0.200>;tag=as61d54b6c
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 3 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:@192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Sep  8 20:21:48 NOTICE[135410688]: chan_sip.c:5641 handle_request:
DN> Registration from '<sip:@192.168.0.200>' failed for '192.168.0.202'


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-87a-2093
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:1234 at 192.168.0.202:5060>;expires=60
DN> Proxy-Authorization: Digest username="1234", realm="asterisk", 
DN> nonce="00727441", uri="sip:192.168.0.200:5060", 
DN> response="f45772f0d9d4532a4a30926a177a0d9d", algorithm=MD5
DN> From: <sip:1234 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95c-875-7182
DN> To: <sip:1234 at 192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 5 REGISTER
DN> Content-Length:0


DN> 12 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 100 Trying
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-87a-2093
DN> From: <sip:1234 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95c-875-7182
DN> To: <sip:1234 at 192.168.0.200>;tag=as3c072c96
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 5 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1234 at 192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Transmitting (no NAT):
DN> SIP/2.0 407 Proxy Authentication Required
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-87a-2093
DN> From: <sip:1234 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95c-875-7182
DN> To: <sip:1234 at 192.168.0.200>;tag=as3c072c96
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 5 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1234 at 192.168.0.200>
DN> Proxy-Authenticate: Digest realm="asterisk", nonce="50a7e017"
DN> Content-Length: 0


DN>   to 192.168.0.202:5060


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-8f7-23ce
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:1235 at 192.168.0.202:5060>;expires=60
DN> Proxy-Authorization: Digest username="1235", realm="asterisk", 
DN> nonce="7b6d7de6", uri="sip:192.168.0.200:5060", 
DN> response="e56ab60e0610055d80e6168db62830fb", algorithm=MD5
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95c-8f7-60c9
DN> To: <sip:1235 at 192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 6 REGISTER
DN> Content-Length:0


DN> 12 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 100 Trying
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-8f7-23ce
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95c-8f7-60c9
DN> To: <sip:1235 at 192.168.0.200>;tag=as3c072c96
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 6 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1235 at 192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Transmitting (no NAT):
DN> SIP/2.0 401 Unauthorized
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-8f7-23ce
DN> From: <sip:1235 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95c-8f7-60c9
DN> To: <sip:1235 at 192.168.0.200>;tag=as3c072c96
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 6 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1235 at 192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Sep  8 20:21:49 NOTICE[135410688]: chan_sip.c:5641 handle_request:
DN> Registration from '<sip:1235 at 192.168.0.200>' failed for '192.168.0.202'


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-6ea-7a64
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:@192.168.0.202:5060>;expires=60
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95c-6ea-3bf7
DN> To: <sip:@192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 4 REGISTER
DN> Content-Length:0


DN> 11 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 401 Unauthorized
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95c-6ea-7a64
DN> From: <sip:@192.168.0.200> ;tag=c0a800ca-13c4-413ef95c-6ea-3bf7
DN> To: <sip:@192.168.0.200>;tag=as08287470
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 4 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:@192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Sep  8 20:21:49 NOTICE[135410688]: chan_sip.c:5641 handle_request:
DN> Registration from '<sip:@192.168.0.200>' failed for '192.168.0.202'


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95d-a41-4085
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:1234 at 192.168.0.202:5060>;expires=60
DN> Proxy-Authorization: Digest username="1234", realm="asterisk", 
DN> nonce="50a7e017", uri="sip:192.168.0.200:5060", 
DN> response="68272b42c4f057fe1727443efb8fde9d", algorithm=MD5
DN> From: <sip:1234 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95d-a41-31fc
DN> To: <sip:1234 at 192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 7 REGISTER
DN> Content-Length:0


DN> 12 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 100 Trying
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95d-a41-4085
DN> From: <sip:1234 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95d-a41-31fc
DN> To: <sip:1234 at 192.168.0.200>;tag=as6a7dd5a5
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 7 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1234 at 192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN> Transmitting (no NAT):
DN> SIP/2.0 407 Proxy Authentication Required
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95d-a41-4085
DN> From: <sip:1234 at 192.168.0.200>
DN> ;tag=c0a800ca-13c4-413ef95d-a41-31fc
DN> To: <sip:1234 at 192.168.0.200>;tag=as6a7dd5a5
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 7 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1234 at 192.168.0.200>
DN> Proxy-Authenticate: Digest realm="asterisk", nonce="514a6d7a"
DN> Content-Length: 0


DN>   to 192.168.0.202:5060


DN> Sip read:
DN> REGISTER sip:192.168.0.200:5060 SIP/2.0
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95d-b36-71e8
DN> Max-Forwards: 70
DN> Supported: replaces
DN> User-Agent: FXS_GW (4asipfxs.107a)
DN> Contact: <sip:1234 at 192.168.0.202:5060>;expires=60
DN> Proxy-Authorization: Digest username="1234", realm="asterisk", 
DN> nonce="514a6d7a", uri="sip:192.168.0.200:5060", 
DN> response="c3ddbfbb37c112fe2046556d85d1ec48", algorithm=MD5
DN> From: <sip:1234 at 192.168.0.200> ;tag=c0a800ca-13c4-413ef95d-b36-f0b
DN> To: <sip:1234 at 192.168.0.200>
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 8 REGISTER
DN> Content-Length:0


DN> 12 headers, 0 lines
DN> Using latest request as basis request
DN> Sending to 192.168.0.202 : 5060 (non-NAT)
DN> Transmitting (no NAT):
DN> SIP/2.0 100 Trying
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95d-b36-71e8
DN> From: <sip:1234 at 192.168.0.200> ;tag=c0a800ca-13c4-413ef95d-b36-f0b
DN> To: <sip:1234 at 192.168.0.200>;tag=as6a7dd5a5
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 8 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Contact: <sip:1234 at 192.168.0.200>
DN> Content-Length: 0


DN>   to 192.168.0.202:5060
DN>      -- Registered SIP '1234' at 192.168.0.202 port 5060 expires 60
DN> Transmitting (no NAT):
DN> SIP/2.0 200 OK
DN> Via: SIP/2.0/UDP
DN> 192.168.0.202:5060;branch=z9hG4bK-413ef95d-b36-71e8
DN> From: <sip:1234 at 192.168.0.200> ;tag=c0a800ca-13c4-413ef95d-b36-f0b
DN> To: <sip:1234 at 192.168.0.200>;tag=as6a7dd5a5
DN> Call-ID: c0a800ca-13c4-0-334-1c34
DN> CSeq: 8 REGISTER
DN> User-Agent: Asterisk PBX
DN> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
DN> Expires: 60
DN> Contact: <sip:1234 at 192.168.0.200>;expires=60
DN> Date: Wed, 08 Sep 2004 12:21:49 GMT
DN> Content-Length: 0


DN>   to 192.168.0.202:5060

*CLI>>
*CLI>>
*CLI>> sip no debug



DN> (end of sip debug)





More information about the asterisk-users mailing list