Hello all, As you may have gathered from the messages I've sent over the last couple of weeks, I have been running into some real problems with pjproject-1.10. After a struggle I managed to get it to cross-compile for an ARM9 an have even made a number of test calls with it, however, the problem comes when I try to make a local call between two pjsua clients on the same network. The problem is I constantly get a "500 internal server error", however, this is not always the case and have managed to make two internal calls using this implementation. I just can't see where the problem is coming from. I have included the app-logs below but can't seem to get much other than the error from these... so was wondering whether anybody could kindly have a look through and see if there is anything obvious that I am missing? Any help would be greatly appreciated. Best regards, Steven _*Calling node: 10.1.200.60 AMD x86_64*_ +=============================================================================+ | Call Commands: | Buddy, IM & Presence: | Account: | | | | | | m Make new call | +b Add new buddy .| +a Add new accnt | | M Make multiple calls | -b Delete buddy | -a Delete accnt. | | a Answer call | i Send IM | !a Modify accnt. | | h Hangup call (ha=all) | s Subscribe presence | rr (Re-)register | | H Hold call | u Unsubscribe presence | ru Unregister | | v re-inVite (release hold) | t ToGgle Online status | > Cycle next ac.| | U send UPDATE | T Set online status | < Cycle prev ac.| | ],[ Select next/prev call +--------------------------+-------------------+ | x Xfer call | Media Commands: | Status & Config: | | X Xfer with Replaces | | | | # Send RFC 2833 DTMF | cl List ports | d Dump status | | * Send DTMF with INFO | cc Connect port | dd Dump detailed | | dq Dump curr. call quality | cd Disconnect port | dc Dump config | | | V Adjust audio Volume | f Save config | | S Send arbitrary REQUEST | Cp Codec priorities | f Save config | +------------------------------+--------------------------+-------------------+ | q QUIT L ReLoad sleep MS echo [0|1|txt] n: detect NAT type | +=============================================================================+ You have 0 active call >>> m (You currently have 0 calls) Buddy list: [ 1] <?> sip:10.1.200.40:5060 Choices: 0 For current dialog. -1 All 1 buddies in buddy list [1 - 1] Select from buddy list URL An URL <Enter> Empty input (or 'q') to cancel Make call: 1 16:33:33.618 pjsua_media.c Opening null sound device.. 16:33:33.618 pjsua_call.c Making call with acc #1 to sip:10.1.200.40:5060 16:33:33.619 dlg0x1450688 UAC dialog created 16:33:33.619 pjsua_media.c Media index 0 selected for call 1 16:33:33.619 dlg0x1450688 Module mod-invite added as dialog usage, data=0x1460718 16:33:33.619 dlg0x1450688 Session count inc to 3 by mod-invite 16:33:33.619 dlg0x1450688 Module mod-100rel added as dialog usage, data=0x1462318 16:33:33.619 dlg0x1450688 100rel module attached 16:33:33.619 inv0x1450688 UAC invite session created for dialog dlg0x1450688 16:33:33.619 endpoint Request msg INVITE/cseq=30773 (tdta0x1462590) created. 16:33:33.619 inv0x1450688 Sending Request msg INVITE/cseq=30773 (tdta0x1462590) 16:33:33.619 dlg0x1450688 Sending Request msg INVITE/cseq=30773 (tdta0x1462590) 16:33:33.619 tsx0x14655a8 Transaction created for Request msg INVITE/cseq=30772 (tdta0x1462590) 16:33:33.619 tsx0x14655a8 Sending Request msg INVITE/cseq=30772 (tdta0x1462590) in state Null 16:33:33.619 sip_resolve.c Target '10.1.200.40:5060' type=Unspecified resolved to '10.1.200.40:5060' type=UDP (UDP transport) 16:33:33.619 pjsua_core.c TX 1065 bytes Request msg INVITE/cseq=30772 (tdta0x1462590) to UDP 10.1.200.40:5060: INVITE sip:10.1.200.40:5060 SIP/2.0 Via: SIP/2.0/UDP 10.1.200.60:5060;rport;branch=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Max-Forwards: 70 From: <sip:10.1.200.60>;tag=m1gl6B76LUMaN9n2zm0UyDkQMHShc9Tl To: sip:10.1.200.40 Contact: <sip:10.1.200.60:5060;ob> Call-ID: tnCoDZs1WehMMlv2CjyYnCMDOT.-y5db CSeq: 30772 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: PJSUA v1.10.0 Linux-2.6.40.4/x86_64/glibc-2.14 Content-Type: application/sdp Content-Length: 447 v=0 o=- 3525435213 3525435213 IN IP4 10.1.200.60 s=pjmedia c=IN IP4 10.1.200.60 t=0 0 a=X-nat:0 m=audio 4002 RTP/AVP 98 97 99 104 3 0 8 9 96 a=rtcp:4003 IN IP4 10.1.200.60 a=rtpmap:98 speex/16000 a=rtpmap:97 speex/8000 a=rtpmap:99 speex/32000 a=rtpmap:104 iLBC/8000 a=fmtp:104 mode=30 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=sendrecv a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 --end msg-- 16:33:33.619 tsx0x14655a8 State changed from Null to Calling, event=TX_MSG 16:33:33.619 dlg0x1450688 Transaction tsx0x14655a8 state changed to Calling 16:33:33.619 pjsua_app.c Call 1 state changed to CALLING >>> 16:33:33.631 sip_endpoint.c Processing incoming message: Response msg 500/INVITE/cseq=30772 (rdata0x7f2390003868) 16:33:33.631 pjsua_core.c RX 367 bytes Response msg 500/INVITE/cseq=30772 (rdata0x7f2390003868) from UDP 10.1.200.40:5060: SIP/2.0 500 Internal Server Error Via: SIP/2.0/UDP 10.1.200.60:5060;rport=5060;received=10.1.200.60;branch=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Call-ID: tnCoDZs1WehMMlv2CjyYnCMDOT.-y5db From: <sip:10.1.200.60>;tag=m1gl6B76LUMaN9n2zm0UyDkQMHShc9Tl To: <sip:10.1.200.40>;tag=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW CSeq: 30772 INVITE Content-Length: 0 --end msg-- 16:33:33.631 tsx0x14655a8 Incoming Response msg 500/INVITE/cseq=30772 (rdata0x7f2390003868) in state Calling 16:33:33.631 endpoint Request msg ACK/cseq=30772 (tdta0x7f23900008e0) created. 16:33:33.631 pjsua_core.c TX 353 bytes Request msg ACK/cseq=30772 (tdta0x7f23900008e0) to UDP 10.1.200.40:5060: ACK sip:10.1.200.40:5060 SIP/2.0 Via: SIP/2.0/UDP 10.1.200.60:5060;rport;branch=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Max-Forwards: 70 From: <sip:10.1.200.60>;tag=m1gl6B76LUMaN9n2zm0UyDkQMHShc9Tl To: sip:10.1.200.40;tag=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Call-ID: tnCoDZs1WehMMlv2CjyYnCMDOT.-y5db CSeq: 30772 ACK Content-Length: 0 --end msg-- 16:33:33.631 tsx0x14655a8 State changed from Calling to Completed, event=RX_MSG 16:33:33.631 dlg0x1450688 Received Response msg 500/INVITE/cseq=30772 (rdata0x7f2390003868) 16:33:33.631 dlg0x1450688 Transaction tsx0x14655a8 state changed to Completed 16:33:33.631 pjsua_app.c Call 1 is DISCONNECTED [reason=500 (Internal Server Error)] 16:33:33.631 pjsua_app.c Call 1 disconnected, dumping media stats.. 16:33:33.631 pjsua_app.c [DISCONNCTD] To: sip:10.1.200.40 Call time: 00h:00m:00s, 1st res in 12 ms, conn in 0ms SRTP status: Not active Crypto-suite: (null) 16:33:33.631 dlg0x1450688 Session count dec to 1 by mod-invite 16:33:33.631 tdta0x1462590 Destroying txdata Request msg INVITE/cseq=30772 (tdta0x1462590) 16:33:34.631 pjsua_media.c Closing sound device after idle for 1 seconds 16:33:34.631 pjsua_media.c Closing null sound device.. _*Receiving node: 10.1.200.40 ARM9*_ +=============================================================================+ | Call Commands: | Buddy, IM & Presence: | Account: | | | | | | m Make new call | +b Add new buddy .| +a Add new accnt | | M Make multiple calls | -b Delete buddy | -a Delete accnt. | | a Answer call | i Send IM | !a Modify accnt. | | h Hangup call (ha=all) | s Subscribe presence | rr (Re-)register | | H Hold call | u Unsubscribe presence | ru Unregister | | v re-inVite (release hold) | t ToGgle Online status | > Cycle next ac.| | U send UPDATE | T Set online status | < Cycle prev ac.| | ],[ Select next/prev call +--------------------------+-------------------+ | x Xfer call | Media Commands: | Status & Config: | | X Xfer with Replaces | | | | # Send RFC 2833 DTMF | cl List ports | d Dump status | | * Send DTMF with INFO | cc Connect port | dd Dump detailed | | dq Dump curr. call quality | cd Disconnect port | dc Dump config | | | V Adjust audio Volume | f Save config | | S Send arbitrary REQUEST | Cp Codec priorities | f Save config | +------------------------------+--------------------------+-------------------+ | q QUIT L ReLoad sleep MS echo [0|1|txt] n: detect NAT type | +=============================================================================+ You have 0 active call >>> 16:33:09.140 sip_endpoint.c Processing incoming message: Request msg INVITE/cseq=30772 (rdata0x181204) 16:33:09.141 pjsua_core.c RX 1065 bytes Request msg INVITE/cseq=30772 (rdata0x181204) from UDP 10.1.200.60:5060: INVITE sip:10.1.200.40:5060 SIP/2.0 Via: SIP/2.0/UDP 10.1.200.60:5060;rport;branch=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Max-Forwards: 70 From: <sip:10.1.200.60>;tag=m1gl6B76LUMaN9n2zm0UyDkQMHShc9Tl To: sip:10.1.200.40 Contact: <sip:10.1.200.60:5060;ob> Call-ID: tnCoDZs1WehMMlv2CjyYnCMDOT.-y5db CSeq: 30772 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: PJSUA v1.10.0 Linux-2.6.40.4/x86_64/glibc-2.14 Content-Type: application/sdp Content-Length: 447 v=0 o=- 3525435213 3525435213 IN IP4 10.1.200.60 s=pjmedia c=IN IP4 10.1.200.60 t=0 0 a=X-nat:0 m=audio 4002 RTP/AVP 98 97 99 104 3 0 8 9 96 a=rtcp:4003 IN IP4 10.1.200.60 a=rtpmap:98 speex/16000 a=rtpmap:97 speex/8000 a=rtpmap:99 speex/32000 a=rtpmap:104 iLBC/8000 a=fmtp:104 mode=30 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=sendrecv a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 --end msg-- 16:33:09.143 pjsua_media.c Media index 0 selected for call 1 16:33:09.148 endpoint Response msg 500/INVITE/cseq=30772 (tdta0x191f30) created 16:33:09.149 pjsua_core.c TX 367 bytes Response msg 500/INVITE/cseq=30772 (tdta0x191f30) to UDP 10.1.200.60:5060: SIP/2.0 500 Internal Server Error Via: SIP/2.0/UDP 10.1.200.60:5060;rport=5060;received=10.1.200.60;branch=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Call-ID: tnCoDZs1WehMMlv2CjyYnCMDOT.-y5db From: <sip:10.1.200.60>;tag=m1gl6B76LUMaN9n2zm0UyDkQMHShc9Tl To: <sip:10.1.200.40>;tag=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW CSeq: 30772 INVITE Content-Length: 0 --end msg-- 16:33:09.150 tdta0x191f30 Destroying txdata Response msg 500/INVITE/cseq=30772 (tdta0x191f30) 16:33:09.152 sip_endpoint.c Processing incoming message: Request msg ACK/cseq=30772 (rdata0x181204) 16:33:09.152 pjsua_core.c RX 353 bytes Request msg ACK/cseq=30772 (rdata0x181204) from UDP 10.1.200.60:5060: ACK sip:10.1.200.40:5060 SIP/2.0 Via: SIP/2.0/UDP 10.1.200.60:5060;rport;branch=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Max-Forwards: 70 From: <sip:10.1.200.60>;tag=m1gl6B76LUMaN9n2zm0UyDkQMHShc9Tl To: sip:10.1.200.40;tag=z9hG4bKPj.9yiBODWwmrRdA6BxK8krqp8PuBCXTOW Call-ID: tnCoDZs1WehMMlv2CjyYnCMDOT.-y5db CSeq: 30772 ACK Content-Length: 0 --end msg-- 16:33:10.159 pjsua_media.c Closing sound device after idle for 1 seconds 16:33:10.159 pjsua_media.c Closing null sound device.. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110919/da544bb5/attachment-0001.html>