[Serusers] pa module

SCHWEIZER Laurent laurent.schweizer at eivd.ch
Tue Nov 18 14:23:56 CET 2003


Hello,

I try to use the pa module but i see that i receive never NOTIFY message and that i have some errors in log file

Thanks
Schweizer Laurent


i have added this in my ser.cfg

  if (method=="SUBSCRIBE") {
                        if (t_newtran()) {
                                handle_subscription("registrar");
                        };
                        break;
                }; 


Nov 18 14:07:28 ext sbin/ser[7637]: ERROR: parse_to: invalid To -  unexpected end of header in state -1073753492
Nov 18 14:07:28 ext sbin/ser[7637]: send_xpidf_notify(): Error while parsing
Nov 18 14:07:28 ext sbin/ser[7637]: handle_subscription(): Error while sending notify
Nov 18 14:07:28 ext sbin/ser[7637]: ERROR: t_reply: can't generate 200 reply when a final 200 was sent out
Nov 18 14:07:28 ext sbin/ser[7637]: send_reply(): Error while sending 200 OK

Frame 9 (555 bytes on wire, 555 bytes captured)
Ethernet II, Src: 00:a0:24:2c:ce:ae, Dst: 00:07:e9:67:53:1f
Internet Protocol, Src Addr: 145.232.227.208 (145.232.227.208), Dst Addr: 145.232.227.217 (145.232.227.217)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request line: SUBSCRIBE sip:pleuba at sip.eyepmedia.com SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;branch=z9hG4bKfce30400
        To: <sip:pleuba at sip.eyepmedia.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-6dcf
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=3ca40400
        Call-ID: d8c10400000000000000000000000000 at 145.232.227.208
        CSeq: 2 SUBSCRIBE
        Max-Forwards: 70
        Expires: 0
        Contact: <sip:pleuba at 145.232.227.208:5060>
        Accept: application/xpidf+xml
        User-Agent: SIP EyeP Phone (Build: EMSipFtw 3.1.17)
        Event: presence
        Content-Length: 0

Frame 10 (599 bytes on wire, 599 bytes captured)
Ethernet II, Src: 00:07:e9:67:53:1f, Dst: 00:a0:24:2c:ce:ae
Internet Protocol, Src Addr: 145.232.227.217 (145.232.227.217), Dst Addr: 145.232.227.208 (145.232.227.208)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Status line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;branch=z9hG4bKfce30400
        To: <sip:pleuba at sip.eyepmedia.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-6dcf
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=3ca40400
        Call-ID: d8c10400000000000000000000000000 at 145.232.227.208
        CSeq: 2 SUBSCRIBE
        Server: Sip EXpress router (0.8.11-r1 (i386/linux))
        Content-Length: 0
        Warning: 392 145.232.227.217:5060 "Noisy feedback tells:  pid=7636 req_src_ip=145.232.227.208 req_src_port=5060 in_uri=sip:pleuba at sip.eyepmedia.com out_uri=sip:pleuba at sip.eyepmedia.com via_cnt==1"

Frame 11 (491 bytes on wire, 491 bytes captured)
Ethernet II, Src: 00:a0:24:2c:ce:ae, Dst: 00:07:e9:67:53:1f
Internet Protocol, Src Addr: 145.232.227.208 (145.232.227.208), Dst Addr: 145.232.227.217 (145.232.227.217)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request line: REGISTER sip:sip.eyepmedia.com SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport;branch=z9hG4bKbb3e0500
        To: Test <sip:ybutin at sip.eyepmedia.com>
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=53310500
        Call-ID: ad920500000000000000000000000000 at 145.232.227.208
        CSeq: 3 REGISTER
        Max-Forwards: 70
        Expires: 0
        Contact: <sip:ybutin at 145.232.227.208:5060>
        User-Agent: SIP EyeP Phone (Build: EMSipFtw 3.1.17)
        Allow-Events: presence
        Content-Length: 0

Frame 12 (708 bytes on wire, 708 bytes captured)
Ethernet II, Src: 00:07:e9:67:53:1f, Dst: 00:a0:24:2c:ce:ae
Internet Protocol, Src Addr: 145.232.227.217 (145.232.227.217), Dst Addr: 145.232.227.208 (145.232.227.208)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Status line: SIP/2.0 401 Unauthorized
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport=5060;branch=z9hG4bKbb3e0500
        To: Test <sip:ybutin at sip.eyepmedia.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.500d
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=53310500
        Call-ID: ad920500000000000000000000000000 at 145.232.227.208
        CSeq: 3 REGISTER
        WWW-Authenticate: Digest realm="eyepmedia.com", nonce="3fba1ab5df686933f5f12675312a4981274abcc9"
        Server: Sip EXpress router (0.8.11-r1 (i386/linux))
        Content-Length: 0
        Warning: 392 145.232.227.217:5060 "Noisy feedback tells:  pid=7637 req_src_ip=145.232.227.208 req_src_port=5060 in_uri=sip:sip.eyepmedia.com out_uri=sip:sip.eyepmedia.com via_cnt==1"

Frame 13 (679 bytes on wire, 679 bytes captured)
Ethernet II, Src: 00:a0:24:2c:ce:ae, Dst: 00:07:e9:67:53:1f
Internet Protocol, Src Addr: 145.232.227.208 (145.232.227.208), Dst Addr: 145.232.227.217 (145.232.227.217)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request line: REGISTER sip:sip.eyepmedia.com SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport;branch=z9hG4bKf3ae0500
        To: Test <sip:ybutin at sip.eyepmedia.com>
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=53310500
        Call-ID: ad920500000000000000000000000000 at 145.232.227.208
        CSeq: 4 REGISTER
        Max-Forwards: 70
        Expires: 0
        Contact: <sip:ybutin at 145.232.227.208:5060>
        Authorization: Digest username="ybutin", realm="eyepmedia.com", nonce="3fba1ab5df686933f5f12675312a4981274abcc9", response="be8992aff98d92f94306f8d59454d956", uri="sip:sip.eyepmedia.com"
        User-Agent: SIP EyeP Phone (Build: EMSipFtw 3.1.17)
        Allow-Events: presence
        Content-Length: 0

Frame 17 (664 bytes on wire, 664 bytes captured)
Ethernet II, Src: 00:07:e9:67:53:1f, Dst: 00:a0:24:2c:ce:ae
Internet Protocol, Src Addr: 145.232.227.217 (145.232.227.217), Dst Addr: 145.232.227.208 (145.232.227.208)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Status line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport=5060;branch=z9hG4bKf3ae0500
        To: Test <sip:ybutin at sip.eyepmedia.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.6f36
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=53310500
        Call-ID: ad920500000000000000000000000000 at 145.232.227.208
        CSeq: 4 REGISTER
        Contact: <sip:ybutin at 145.232.227.208:5060>;q=0.00;expires=1739
        Server: Sip EXpress router (0.8.11-r1 (i386/linux))
        Content-Length: 0
        Warning: 392 145.232.227.217:5060 "Noisy feedback tells:  pid=7636 req_src_ip=145.232.227.208 req_src_port=5060 in_uri=sip:sip.eyepmedia.com out_uri=sip:sip.eyepmedia.com via_cnt==1"

Frame 24 (494 bytes on wire, 494 bytes captured)
Ethernet II, Src: 00:a0:24:2c:ce:ae, Dst: 00:07:e9:67:53:1f
Internet Protocol, Src Addr: 145.232.227.208 (145.232.227.208), Dst Addr: 145.232.227.217 (145.232.227.217)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request line: REGISTER sip:sip.eyepmedia.com SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport;branch=z9hG4bKbc380600
        To: Test <sip:ybutin at sip.eyepmedia.com>
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=f65d0600
        Call-ID: 3c0b0600000000000000000000000000 at 145.232.227.208
        CSeq: 1 REGISTER
        Max-Forwards: 70
        Expires: 1800
        Contact: <sip:ybutin at 145.232.227.208:5060>
        User-Agent: SIP EyeP Phone (Build: EMSipFtw 3.1.17)
        Allow-Events: presence
        Content-Length: 0

Frame 25 (708 bytes on wire, 708 bytes captured)
Ethernet II, Src: 00:07:e9:67:53:1f, Dst: 00:a0:24:2c:ce:ae
Internet Protocol, Src Addr: 145.232.227.217 (145.232.227.217), Dst Addr: 145.232.227.208 (145.232.227.208)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Status line: SIP/2.0 401 Unauthorized
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport=5060;branch=z9hG4bKbc380600
        To: Test <sip:ybutin at sip.eyepmedia.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.2a9a
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=f65d0600
        Call-ID: 3c0b0600000000000000000000000000 at 145.232.227.208
        CSeq: 1 REGISTER
        WWW-Authenticate: Digest realm="eyepmedia.com", nonce="3fba1abc3a7d7e62a5e73b13a881000317e60993"
        Server: Sip EXpress router (0.8.11-r1 (i386/linux))
        Content-Length: 0
        Warning: 392 145.232.227.217:5060 "Noisy feedback tells:  pid=7637 req_src_ip=145.232.227.208 req_src_port=5060 in_uri=sip:sip.eyepmedia.com out_uri=sip:sip.eyepmedia.com via_cnt==1"

Frame 26 (682 bytes on wire, 682 bytes captured)
Ethernet II, Src: 00:a0:24:2c:ce:ae, Dst: 00:07:e9:67:53:1f
Internet Protocol, Src Addr: 145.232.227.208 (145.232.227.208), Dst Addr: 145.232.227.217 (145.232.227.217)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request line: REGISTER sip:sip.eyepmedia.com SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport;branch=z9hG4bKd1960c00
        To: Test <sip:ybutin at sip.eyepmedia.com>
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=f65d0600
        Call-ID: 3c0b0600000000000000000000000000 at 145.232.227.208
        CSeq: 2 REGISTER
        Max-Forwards: 70
        Expires: 1800
        Contact: <sip:ybutin at 145.232.227.208:5060>
        Authorization: Digest username="ybutin", realm="eyepmedia.com", nonce="3fba1abc3a7d7e62a5e73b13a881000317e60993", response="9d716a0163d68704832b5a1a1c8dd3c7", uri="sip:sip.eyepmedia.com"
        User-Agent: SIP EyeP Phone (Build: EMSipFtw 3.1.17)
        Allow-Events: presence
        Content-Length: 0

Frame 30 (664 bytes on wire, 664 bytes captured)
Ethernet II, Src: 00:07:e9:67:53:1f, Dst: 00:a0:24:2c:ce:ae
Internet Protocol, Src Addr: 145.232.227.217 (145.232.227.217), Dst Addr: 145.232.227.208 (145.232.227.208)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Status line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;rport=5060;branch=z9hG4bKd1960c00
        To: Test <sip:ybutin at sip.eyepmedia.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.f830
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=f65d0600
        Call-ID: 3c0b0600000000000000000000000000 at 145.232.227.208
        CSeq: 2 REGISTER
        Contact: <sip:ybutin at 145.232.227.208:5060>;q=0.00;expires=1800
        Server: Sip EXpress router (0.8.11-r1 (i386/linux))
        Content-Length: 0
        Warning: 392 145.232.227.217:5060 "Noisy feedback tells:  pid=7636 req_src_ip=145.232.227.208 req_src_port=5060 in_uri=sip:sip.eyepmedia.com out_uri=sip:sip.eyepmedia.com via_cnt==1"

Frame 31 (501 bytes on wire, 501 bytes captured)
Ethernet II, Src: 00:a0:24:2c:ce:ae, Dst: 00:07:e9:67:53:1f
Internet Protocol, Src Addr: 145.232.227.208 (145.232.227.208), Dst Addr: 145.232.227.217 (145.232.227.217)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request line: SUBSCRIBE sip:pleuba at sip.eyepmedia.com SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;branch=z9hG4bK00340d00
        To: <sip:pleuba at sip.eyepmedia.com>
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=fda80d00
        Call-ID: ff3d0d00000000000000000000000000 at 145.232.227.208
        CSeq: 1 SUBSCRIBE
        Max-Forwards: 70
        Contact: <sip:pleuba at 145.232.227.208:5060>
        Accept: application/xpidf+xml
        User-Agent: SIP EyeP Phone (Build: EMSipFtw 3.1.17)
        Event: presence
        Content-Length: 0

Frame 32 (599 bytes on wire, 599 bytes captured)
Ethernet II, Src: 00:07:e9:67:53:1f, Dst: 00:a0:24:2c:ce:ae
Internet Protocol, Src Addr: 145.232.227.217 (145.232.227.217), Dst Addr: 145.232.227.208 (145.232.227.208)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Status line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP 145.232.227.208;branch=z9hG4bK00340d00
        To: <sip:pleuba at sip.eyepmedia.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-e870
        From: Test <sip:ybutin at sip.eyepmedia.com>;tag=fda80d00
        Call-ID: ff3d0d00000000000000000000000000 at 145.232.227.208
        CSeq: 1 SUBSCRIBE
        Server: Sip EXpress router (0.8.11-r1 (i386/linux))
        Content-Length: 0
        Warning: 392 145.232.227.217:5060 "Noisy feedback tells:  pid=7637 req_src_ip=145.232.227.208 req_src_port=5060 in_uri=sip:pleuba at sip.eyepmedia.com out_uri=sip:pleuba at sip.eyepmedia.com via_cnt==1"











More information about the sr-users mailing list