Pjsua and Patton ATA adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 29, 2008 at 10:50 AM, Niclas Bengtsson <
Niclas.Bengtsson at enea.com> wrote:

> Hi,
>
> I tried pjsua with an SmartLink(tm) M-ATA from patton
> (http://www.patton.com/products/pe_products.asp?category=328) and I cant
> set up a call. The other software clients I have tried works with both
> the patton and pjsua.
>
>
Well that doesn't add much information, does it. ;-)

The important bit is the 200/OK from the ATA, it has no media line in the
SDP, so then pjsua sends BYE because of this. So find out the reason why the
ATA does that.

Cheers
 Benny



> Is there a solution to this problem?
>
> Regards,
> Niclas
>
> ----------------------------------Output from
> PJSUA---------------------------------------------------------
> You have 1 active call
> Current call id=0 to sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>[CALLING]
> >>>  11:29:51.482   pjsua_core.c  RX 488 bytes Response msg
> 180/INVITE/cseq=30928 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 180 Ringing
> From: sip:192.168.8.48;tag=wOwqw7saWBcBJBMgci6ccVVtPU9TWCti
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>;tag=O3Af2-CGes0
> Call-ID: O0ZEoIGvGTfqfCV4VHKSE-pkufqyk5p-
> CSeq: 30928 INVITE
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;branch=z9hG4bKPjbxtXwCqk2vEw1uuSpvrNMTFMa4cl8hSK
> Contact: M-ATA<sip:104 at 192.168.8.33:5060>
> User-Agent: Patton Smartlink MATA <4.01.001 OE EN MA
> (0309)><00a0ba02ef62>
> Record-Route: <sip:192.168.8.48:5060;lr>
> Require: 100rel
> RSeq: 823564441
> Content-Length: 0
>
>
> --end msg--
>  11:29:51.482   conference.c  Port 1 (ringback) transmitting to port 0
> (Master/sound)
>  11:29:51.482    pjsua_app.c  Call 0 state changed to EARLY (180
> Ringing)
>  11:29:51.482   pjsua_core.c  TX 404 bytes Request msg PRACK/cseq=30929
> (tdta0x81b9510) to UDP 192.168.8.48:5060:
> PRACK sip:104 at 192.168.8.33:5060 SIP/2.0
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport;branch=z9hG4bKPjqk28yDZeENAdHFxM30WovgMWt2F3Fvzy
> Max-Forwards: 70
> From: <sip:192.168.8.48>;tag=wOwqw7saWBcBJBMgci6ccVVtPU9TWCti
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>;tag=O3Af2-CGes0
> Call-ID: O0ZEoIGvGTfqfCV4VHKSE-pkufqyk5p-
> CSeq: 30929 PRACK
> Route: <sip:192.168.8.48:5060;lr>
> RAck: 823564441 30928 INVITE
> Content-Length:  0
>
>
> --end msg--
>  11:29:51.595   pjsua_core.c  RX 363 bytes Response msg
> 200/PRACK/cseq=30929 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 200 OK
> From: sip:192.168.8.48;tag=wOwqw7saWBcBJBMgci6ccVVtPU9TWCti
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>;tag=O3Af2-CGes0
> Call-ID: O0ZEoIGvGTfqfCV4VHKSE-pkufqyk5p-
> CSeq: 30929 PRACK
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;branch=z9hG4bKPjqk28yDZeENAdHFxM30WovgMWt2F3Fvzy
> User-Agent: Patton Smartlink MATA <4.01.001 OE EN MA
> (0309)><00a0ba02ef62>
> Content-Length: 0
>
>
> --end msg--
>  11:30:05.219   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:05.219 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:05.718   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:05.718 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:06.719   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:06.719 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:08.718   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
> --end msg--
>  11:30:08.718 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:12.719   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:12.719 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:16.719   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:16.719 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:20.718   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:20.718 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:24.719   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:24.719 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:28.719   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
> --end msg--
>  11:30:28.719 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:30:32.719   pjsua_core.c  RX 384 bytes Response msg
> 408/INVITE/cseq=24508 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 408 Request Timeout
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport=5061;branch=z9hG4bKPj78eV1J1qR46lo2BgG5BChFlDX5P
> S.BqY
> From: <sip:192.168.8.48>;tag=23UMSCtbA6yLiC53nhleDNoBA.8bQVDi
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=fa997f81440371de71ab448ebdb9af56-d80b
> Call-ID: twp-8El4Vkt8WBBj3LbrJtKo1UGXLPVg
> CSeq: 24508 INVITE
> Server: OpenSER (1.3.1-notls (i386/linux))
> Content-Length: 0
>
>
> --end msg--
>  11:30:32.719 sip_endpoint.c  Message Response msg 408/INVITE/cseq=24508
> (rdata0x81a5e44) from 192.168.8.48:5060 was dropped/unhandled by any
> modules
>  11:31:35.520   pjsua_core.c  RX 645 bytes Response msg
> 200/INVITE/cseq=30928 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 200 OK
> From: sip:192.168.8.48;tag=wOwqw7saWBcBJBMgci6ccVVtPU9TWCti
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>;tag=O3Af2-CGes0
> Call-ID: O0ZEoIGvGTfqfCV4VHKSE-pkufqyk5p-
> CSeq: 30928 INVITE
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;branch=z9hG4bKPjbxtXwCqk2vEw1uuSpvrNMTFMa4cl8hSK
> Contact: M-ATA<sip:104 at 192.168.8.33:5060>
> User-Agent: Patton Smartlink MATA <4.01.001 OE EN MA
> (0309)><00a0ba02ef62>
> Allow: INVITE,BYE,CANCEL,OPTIONS,PRACK,NOTIFY,UPDATE,REFER
> Supported: 100rel,timer,replaces
> Record-Route: <sip:192.168.8.48:5060;lr>
> Content-Type: application/sdp
> Content-Length: 70
>
> v=0
> o=104 42516 1 IN IP4 192.168.8.33
> s=-
> c=IN IP4 0.0.0.0
> t=0 0
>
> --end msg--
>  11:31:35.520    pjsua_app.c  Call 0 state changed to CONNECTING
>  11:31:35.520   pjsua_call.c  SDP negotiation has failed: No active
> media stream after negotiation (PJMEDIA_SDPNEG_ENOMEDIA) [status=220048]
>  11:31:35.520   pjsua_core.c  TX 370 bytes Request msg BYE/cseq=30930
> (tdta0x81b9510) to UDP 192.168.8.48:5060:
> BYE sip:104 at 192.168.8.33:5060 SIP/2.0
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport;branch=z9hG4bKPj5zb3Oh7TKXPaXl8sFSJDkDlvQuoqdEFd
> Max-Forwards: 70
> From: <sip:192.168.8.48>;tag=wOwqw7saWBcBJBMgci6ccVVtPU9TWCti
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>;tag=O3Af2-CGes0
> Call-ID: O0ZEoIGvGTfqfCV4VHKSE-pkufqyk5p-
> CSeq: 30930 BYE
> Route: <sip:192.168.8.48:5060;lr>
> Content-Length:  0
>
>
> --end msg--
>  11:31:35.521   pjsua_core.c  TX 370 bytes Request msg ACK/cseq=30928
> (tdta0x81bad20) to UDP 192.168.8.48:5060:
> ACK sip:104 at 192.168.8.33:5060 SIP/2.0
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;rport;branch=z9hG4bKPjPuAnemzGgVQWvyHVMkpdzrElZEelCi3d
> Max-Forwards: 70
> From: <sip:192.168.8.48>;tag=wOwqw7saWBcBJBMgci6ccVVtPU9TWCti
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>;tag=O3Af2-CGes0
> Call-ID: O0ZEoIGvGTfqfCV4VHKSE-pkufqyk5p-
> CSeq: 30928 ACK
> Route: <sip:192.168.8.48:5060;lr>
> Content-Length:  0
>
>
> --end msg--
>  11:31:35.521    pjsua_app.c  Call 0 state changed to CONFIRMED
>  11:31:35.633   pjsua_core.c  RX 361 bytes Response msg
> 200/BYE/cseq=30930 (rdata0x81a5e44) from UDP 192.168.8.48:5060:
> SIP/2.0 200 OK
> From: sip:192.168.8.48;tag=wOwqw7saWBcBJBMgci6ccVVtPU9TWCti
> To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>;tag=O3Af2-CGes0
> Call-ID: O0ZEoIGvGTfqfCV4VHKSE-pkufqyk5p-
> CSeq: 30930 BYE
> Via: SIP/2.0/UDP
> 192.168.8.48:5061;branch=z9hG4bKPj5zb3Oh7TKXPaXl8sFSJDkDlvQuoqdEFd
> User-Agent: Patton Smartlink MATA <4.01.001 OE EN MA
> (0309)><00a0ba02ef62>
> Content-Length: 0
>
>
> --end msg--
>  11:31:35.633   conference.c  Port 1 (ringback) stop transmitting to
> port 0 (Master/sound)
>  11:31:35.633    pjsua_app.c  Call 0 is DISCONNECTED [reason=415
> (Unsupported Media Type)]
>  11:31:35.633    pjsua_app.c
>  [DISCONNCTD] To: sip:104 at 192.168.8.48 <sip%3A104 at 192.168.8.48>
> ;tag=O3Af2-CGes0
>    Call time: 00h:00m:00s, 1st res in 184 ms, conn in 104223ms
>    SRTP status: Not active Crypto-suite: (null)
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080829/be39e661/attachment-0001.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux