[Asterisk-Users] Asterisk vs Sipura SIP problem?

Frank Tarczynski ftarz at mindspring.com
Mon Oct 24 04:50:56 MST 2005


I am trying to use a SIP provider for outgoing and incoming calls under 
Asterisk.  I am running a recent CVS-head 1.09 build and the SIP 
provider is using a SPA-3000.  I can register with the SIP provider's 
server and outgoing calls seem to work just fine.

But I cannot get incoming calls to work at all.

I see absolutely no indication in the Asterisk SIP debug output that 
incoming SIP calls are coming from this provider!  But in output from 
ethereal I find that my Asterisk box responds to the initial INVITE with 
a 484 Address Incomplete.  There is no response from the SIP provider 
and a few seconds later my Asterisk sends an ACKnowledge.

Absolutely none of this shows-up in the Asterisk output!

The INVITE is addressed to sip:1 at 192.168.0.4:5060 and all my Asterisk 
extensions are 4 digits starting with "1"s.  Shouldn't the SPA-3000 
respond back to the 484 again?  Or since it is using just "1" is no 
additional response sent?

I tried creating an extension context of [1] but this has no effect.  I 
just keep getting the 484 responses.

Do I need to ask the SIP provider to configure the SPA-3000 
differently?  Have the INVITE request changed?  How/where would I create 
a context that Asterisk can use/understand?

No.     Time            Source                Destination           Protocol Info
   1016 20:48:20.196168 XXX-IPA.155.115.200.in-addr.arpa lyla.domian.com   SIP/SDP  Request: INVITE sip:1 at 192.168.0.4:5060, with session description

Frame 1016 (1084 bytes on wire, 1084 bytes captured)
    Arrival Time: Oct 23, 2005 20:48:20.196168000
    Time delta from previous packet: 0.001610000 seconds
    Time since reference or first frame: 32.762675000 seconds
    Frame Number: 1016
    Packet Length: 1084 bytes
    Capture Length: 1084 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.domain.com)
    Source: 00:04:e2:bc:76:80 (ipcop.domain.com)
    Type: IP (0x0800)
Internet Protocol, Src Addr: XXX-IPA.155.115.200.in-addr.arpa (200.115.155.XXX), Dst Addr: lyla.domain.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: 1070
    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: 42
    Protocol: UDP (0x11)
    Header checksum: 0x280c (correct)
    Source: XXX-IPA.155.115.200.in-addr.arpa (200.115.155.XXX)
    Destination: lyla.domain.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: 1050
    Checksum: 0xafc6 (correct)
Session Initiation Protocol
    Request-Line: INVITE sip:1 at 192.168.0.4: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.YYY:5061;branch=z9hG4bK-5d2fda22
        From: "office1" <sip:office1 at 200.115.155.XXX>;tag=c7f8491e8db6d4ao1
            SIP Display info: "office1" 
            SIP from address: sip:office1 at 200.115.155.XX
            SIP tag: c7f8491e8db6d4ao1
        To: <sip:1 at 200.115.155.XXX>
            SIP to address: sip:1 at 200.115.155.XXX
        Call-ID: 7ee83f5d-72b710ee at 200.115.155.YYY
        CSeq: 101 INVITE
        Max-Forwards: 69
        Contact: "office1" <sip:office1 at 200.115.155.XXX:5060>
        Expires: 240
        User-agent: Sipura/SPA3000-2.0.10(GWf)
        Content-Length: 431
        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): - 20897320 20897320 IN IP4 200.115.155.XXX
                Owner Username: -
                Session ID: 20897320
                Session Version: 20897320
                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 5004 RTP/AVP 4 0 2 8 18 96 97 98 100 101
                Media Type: audio
                Media Port: 5004
                Media Proto: RTP/AVP
                Media Format: ITU-T G.723
                Media Format: ITU-T G.711 PCMU
                Media Format: ITU-T G.721
                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:4 G723/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 4 G723/8000
            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: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
   1017 20:48:20.196501 lyla.domain.com   XXX-IPA.155.115.200.in-addr.arpa SIP      Status: 484 Address Incomplete

Frame 1017 (521 bytes on wire, 521 bytes captured)
    Arrival Time: Oct 23, 2005 20:48:20.196501000
    Time delta from previous packet: 0.000333000 seconds
    Time since reference or first frame: 32.763008000 seconds
    Frame Number: 1017
    Packet Length: 521 bytes
    Capture Length: 521 bytes
Ethernet II, Src: 00:0e:0c:62:cb:08, Dst: 00:04:e2:bc:76:80
    Destination: 00:04:e2:bc:76:80 (ipcop.domain.com)
    Source: 00:0e:0c:62:cb:08 (lyla.domain.com)
    Type: IP (0x0800)
Internet Protocol, Src Addr: lyla.domain.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: 507
    Identification: 0x9d01 (40193)
    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: 0xb83c (correct)
    Source: lyla.domain.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: 487
    Checksum: 0xf159 (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;received=200.115.155.XXX;rport=5060
        Via: SIP/2.0/UDP 200.115.155.YYY:5061;branch=z9hG4bK-5d2fda22
        From: "office1" <sip:office1 at 200.115.155.XXX>;tag=c7f8491e8db6d4ao1
            SIP Display info: "office1" 
            SIP from address: sip:office1 at 200.115.155.XXX
            SIP tag: c7f8491e8db6d4ao1
        To: <sip:1 at 200.115.155.XXX>;tag=as000039b4
            SIP to address: sip:1 at 200.115.155.XXX
            SIP tag: as000039b4
        Call-ID: 7ee83f5d-72b710ee at 200.115.155.YYY
        CSeq: 101 INVITE
        User-Agent: Asterisk PBX
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
        Contact: <sip:1 at 192.168.0.4>
        Content-Length: 0







More information about the asterisk-users mailing list