I'm new to asterisk and need some help with getting a SIP connection
working.

I am trying to establish a termination point/DID number in another
country.  I am currently running Asterisk CVS-HEAD.  My foreign provider
uses SIP and authenticates via IP address.  I am not required to
register my SIP connection in order to send or receive calls.

Can someone help me with how to understand the error I see below with
receiving incoming calls?
My asterisk box is behind my IPCop firewall.  The current configuration
works fine for
outgoing calls, but has problems with receiving incoming ones.

My current configuration looks like:

[general]
context=default
bindaddr=192.168.0.4
srvlookup=no
disallow=all
allow=ulaw
localnet=192.168.0.0/255.255.255.0
externip=65.87.XXX.XXX
nat=no
fromdomain = mydomain.com

[200.XXX.XXX.XXX]
type=peer
secret=asterisk
host=200.XXX.XXX.XXX
allow=ulaw
context=outgoing
dtmfmode=rfc2833
insecure=very

[from-200.XXX.XXX.XXX]
type=user
host=200.XXX.XXX.XXX
allow=ulaw
canreinvite=no
context=outgoing
insecure=very

Outgoing calls seem to work fine, but there is no indication of any
incoming calls in the SIP debug
information when I call the DID number externally.  I have all the SIP and
RTP port forwarded to my Asterisk box in my firewall and don't see
anything in the firewall logs.

I do see the following 2 entries back-to-back in an ethereal dump.  I
don't know enough about
SIP to know if the DID side is sending a bad INVITE or if Asterisk is not
handling the INVITE
correctly.  I cannot tell if the DID side is not responding back with more
address detail or if my Asterisk box is dropping the connection right
after the 484 response.

Can someone help?


Thanks,
Frank

No.     Time        Source                Destination           Protocol
Info
  2497 21.504651   XXX-IPA.155.115.200.in-addr.arpa lyla.mydomain.com
SIP/SDP  Request: INVITE sip:[EMAIL PROTECTED]:5060, with session
description

Frame 2497 (1088 bytes on wire, 1088 bytes captured)
   Arrival Time: Sep 22, 2005 23:19:50.962763000
   Time delta from previous packet: 0.003659000 seconds
   Time since reference or first frame: 21.504651000 seconds
   Frame Number: 2497
   Packet Length: 1088 bytes
   Capture Length: 1088 bytes
Ethernet II, Src: 00:04:e2:bc:76:80, Dst: 00:0e:0c:62:cb:08
   Destination: 00:0e:0c:62:cb:08 (lyla.mydomain.com)
   Source: 00:04:e2:bc:76:80 (SmcNetwo_bc:76:80)
   Type: IP (0x0800)
Internet Protocol, Src Addr: XXX-IPA.155.115.200.in-addr.arpa
(200.115.155.XXX), Dst Addr: lyla.mydomain.com (192.168.0.4)
   Version: 4
   Header length: 20 bytes
   Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
       0000 00.. = Differentiated Services Codepoint: Default (0x00)
       .... ..0. = ECN-Capable Transport (ECT): 0
       .... ...0 = ECN-CE: 0
   Total Length: 1074
   Identification: 0x0000 (0)
   Flags: 0x04 (Don't Fragment)
       0... = Reserved bit: Not set
       .1.. = Don't fragment: Set
       ..0. = More fragments: Not set
   Fragment offset: 0
   Time to live: 44
   Protocol: UDP (0x11)
   Header checksum: 0x2632 (correct)
   Source: XXX-IPA.155.115.200.in-addr.arpa (200.115.155.XXX)
   Destination: lyla.mydomain.com (192.168.0.4)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
   Source port: 5060 (5060)
   Destination port: 5060 (5060)
   Length: XXX4
   Checksum: 0x3933 (correct)
Session Initiation Protocol
   Request-Line: INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
       Method: INVITE
       Resent Packet: False
   Message Header
       Via: SIP/2.0/UDP 200.115.155.XXX:5060
       Via: SIP/2.0/UDP 200.115.155.XXX:5061;branch=z9hG4bK-e4907aa1
       From: "office1" <sip:[EMAIL PROTECTED]>;tag=bc58fe6c90fb9969o1
           SIP Display info: "office1"
           SIP from address: sip:[EMAIL PROTECTED]
           SIP tag: bc58fe6c90fb9969o1
       To: <sip:[EMAIL PROTECTED]>
           SIP to address: sip:[EMAIL PROTECTED]
       Call-ID: [EMAIL PROTECTED]
       CSeq: 101 INVITE
       Max-Forwards: 69
       Contact: "office1" <sip:[EMAIL PROTECTED]:5060>
       Expires: 240
       User-agent: Sipura/SPA3000-2.0.10(GWf)
       Content-Length: 432
       Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
       Supported: x-sipura
       Content-Type: application/sdp
       Record-Route: <sip:200.115.155.XXX:5060;lr>
   Message body
       Session Description Protocol
           Session Description Protocol Version (v): 0
           Owner/Creator, Session Id (o): - 13054566 13054566 IN IP4
200.115.155.XXX
               Owner Username: -
               Session ID: 13054566
               Session Version: 13054566
               Owner Network Type: IN
               Owner Address Type: IP4
               Owner Address: 200.115.155.XXX
           Session Name (s): -
           Connection Information (c): IN IP4 200.115.155.XXX
               Connection Network Type: IN
               Connection Address Type: IP4
               Connection Address: 200.115.155.XXX
           Time Description, active time (t): 0 0
               Session Start Time: 0
               Session Stop Time: 0
           Media Description, name and address (m): audio 16450 RTP/AVP 0
2 4 8 18 96 97 98 100 101
               Media Type: audio
               Media Port: 16450
               Media Proto: RTP/AVP
               Media Format: ITU-T G.711 PCMU
               Media Format: ITU-T G.721
               Media Format: ITU-T G.723
               Media Format: ITU-T G.711 PCMA
               Media Format: ITU-T G.729
               Media Format: 96
               Media Format: 97
               Media Format: 98
               Media Format: 100
               Media Format: 101
           Media Attribute (a): rtpmap:0 PCMU/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 0 PCMU/8000
           Media Attribute (a): rtpmap:2 G726-32/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 2 G726-32/8000
           Media Attribute (a): rtpmap:4 G723/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 4 G723/8000
           Media Attribute (a): rtpmap:8 PCMA/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 8 PCMA/8000
           Media Attribute (a): rtpmap:18 G729a/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 18 G729a/8000
           Media Attribute (a): rtpmap:96 G726-40/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 96 G726-40/8000
           Media Attribute (a): rtpmap:97 G726-24/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 97 G726-24/8000
           Media Attribute (a): rtpmap:98 G726-16/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 98 G726-16/8000
           Media Attribute (a): rtpmap:100 NSE/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 100 NSE/8000
           Media Attribute (a): rtpmap:101 telephone-event/8000
               Media Attribute Fieldname: rtpmap
               Media Attribute Value: 101 telephone-event/8000
           Media Attribute (a): fmtp:101 0-15
               Media Attribute Fieldname: fmtp
               Media Attribute Value: 101 0-15
           Media Attribute (a): ptime:30
               Media Attribute Fieldname: ptime
               Media Attribute Value: 30
           Media Attribute (a): sendrecv



No.     Time        Source                Destination           Protocol
Info
  2498 21.504923   lyla.mydomain.com   XXX-IPA.155.115.200.in-addr.arpa
SIP      Status: 484 Address Incomplete

Frame 2498 (488 bytes on wire, 488 bytes captured)
   Arrival Time: Sep 22, 2005 23:19:50.963035000
   Time delta from previous packet: 0.000272000 seconds
   Time since reference or first frame: 21.504923000 seconds
   Frame Number: 2498
   Packet Length: 488 bytes
   Capture Length: 488 bytes
Ethernet II, Src: 00:0e:0c:62:cb:08, Dst: 00:04:e2:bc:76:80
   Destination: 00:04:e2:bc:76:80 (SmcNetwo_bc:76:80)
   Source: 00:0e:0c:62:cb:08 (lyla.mydomain.com)
   Type: IP (0x0800)
Internet Protocol, Src Addr: lyla.mydomain.com (192.168.0.4), Dst Addr:
XXX-IPA.155.115.200.in-addr.arpa (200.115.155.XXX)
   Version: 4
   Header length: 20 bytes
   Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
       0000 00.. = Differentiated Services Codepoint: Default (0x00)
       .... ..0. = ECN-Capable Transport (ECT): 0
       .... ...0 = ECN-CE: 0
   Total Length: 474
   Identification: 0x4dfe (19966)
   Flags: 0x04 (Don't Fragment)
       0... = Reserved bit: Not set
       .1.. = Don't fragment: Set
       ..0. = More fragments: Not set
   Fragment offset: 0
   Time to live: 255
   Protocol: UDP (0x11)
   Header checksum: 0x078b (correct)
   Source: lyla.mydomain.com (192.168.0.4)
   Destination: XXX-IPA.155.115.200.in-addr.arpa (200.115.155.XXX)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
   Source port: 5060 (5060)
   Destination port: 5060 (5060)
   Length: 454
   Checksum: 0xdc29 (correct)
Session Initiation Protocol
   Status-Line: SIP/2.0 484 Address Incomplete
       Status-Code: 484
       Resent Packet: False
   Message Header
       Via: SIP/2.0/UDP 200.115.155.XXX:5060
       Via: SIP/2.0/UDP 200.115.155.XXX:5061;branch=z9hG4bK-e4907aa1
       From: "office1" <sip:[EMAIL PROTECTED]>;tag=bc58fe6c90fb9969o1
           SIP Display info: "office1"
           SIP from address: sip:[EMAIL PROTECTED]
           SIP tag: bc58fe6c90fb9969o1
       To: <sip:[EMAIL PROTECTED]>;tag=as00001592
           SIP to address: sip:[EMAIL PROTECTED]
           SIP tag: as00001592
       Call-ID: [EMAIL PROTECTED]
       CSeq: 101 INVITE
       User-Agent: Asterisk PBX
       Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
       Contact: <sip:[EMAIL PROTECTED]>
       Content-Length: 0




_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

Reply via email to