Hi. I'm trying to get a Raspberry Pi with raspian 7.0 connect to a Fritz!Box (7240, Firmware 73.05.50) using pjsip 2.1-svn. Registration works, and I can make calls to and from internal and external numbers as far as getting the phones to ring is concerned. As soon as I try to open the actual voice connection, however, pjsip and the Fritz!Box stop being happy with one another. If (and that is a big if!) I read the logs correctly, the Fritz!Box tries to use iLBC/8000, while pjsip is convinced they should be talking G722/8000. I have attached a capture of my attempts, can anyone tell me what is amiss and maybe has an idea what I can do to fix it? Christopher -------------- next part -------------- Script started on Sun 23 Jun 2013 20:21:35 CEST pi at onyx ~/pjsip/pjsip-apps/bin$ ./pjsua-armv6l-unknown-linux-gnueabihf --registrar=sip:fritz.box --id=sip:622 at fritz.box --realm=* --username=622 --password=*** --disable-stun 20:21:49.049 os_core_unix.c !pjlib 2.1-svn for POSIX initialized 20:21:49.070 sip_endpoint.c .Creating endpoint instance... 20:21:49.092 pjlib .select() I/O Queue created (0x1a3ef30) 20:21:49.094 sip_endpoint.c .Module "mod-msg-print" registered 20:21:49.096 sip_transport. .Transport manager created. 20:21:49.098 pjsua_core.c .PJSUA state changed: NULL --> CREATED 20:21:49.102 sip_endpoint.c .Module "mod-pjsua-log" registered 20:21:49.104 sip_endpoint.c .Module "mod-tsx-layer" registered 20:21:49.105 sip_endpoint.c .Module "mod-stateful-util" registered 20:21:49.109 sip_endpoint.c .Module "mod-ua" registered 20:21:49.111 sip_endpoint.c .Module "mod-100rel" registered 20:21:49.112 sip_endpoint.c .Module "mod-pjsua" registered 20:21:49.115 sip_endpoint.c .Module "mod-invite" registered 20:21:49.367 pa_dev.c ..PortAudio sound library initialized, status=0 20:21:49.369 pa_dev.c ..PortAudio host api count=2 20:21:49.370 pa_dev.c ..Sound device count=8 20:21:49.373 pjlib ..select() I/O Queue created (0x1a64f6c) 20:21:49.450 sip_endpoint.c .Module "mod-evsub" registered 20:21:49.452 sip_endpoint.c .Module "mod-presence" registered 20:21:49.454 sip_endpoint.c .Module "mod-mwi" registered 20:21:49.456 sip_endpoint.c .Module "mod-refer" registered 20:21:49.458 sip_endpoint.c .Module "mod-pjsua-pres" registered 20:21:49.461 sip_endpoint.c .Module "mod-pjsua-im" registered 20:21:49.463 sip_endpoint.c .Module "mod-pjsua-options" registered 20:21:49.464 pjsua_core.c .1 SIP worker threads created 20:21:49.466 pjsua_core.c .pjsua version 2.1-svn for Linux-3.6.11/armv6l/glibc-2.13 initialized 20:21:49.467 pjsua_core.c .PJSUA state changed: CREATED --> INIT 20:21:49.468 sip_endpoint.c Module "mod-default-handler" registered 20:21:49.475 pjsua_core.c SIP UDP socket reachable at 192.168.178.33:5060 20:21:49.477 udp0x1a75ad0 SIP UDP transport started, published address is 192.168.178.33:5060 20:21:49.480 pjsua_acc.c Adding account: id=<sip:192.168.178.33:5060> 20:21:49.482 pjsua_acc.c .Account <sip:192.168.178.33:5060> added with id 0 20:21:49.484 pjsua_acc.c Acc 0: setting online status to 1.. 20:21:49.490 tcplis:5060 SIP TCP listener ready for incoming connections at 192.168.178.33:5060 20:21:49.492 pjsua_acc.c Adding account: id=<sip:192.168.178.33:5060;transport=TCP> 20:21:49.495 pjsua_acc.c .Account <sip:192.168.178.33:5060;transport=TCP> added with id 1 20:21:49.497 pjsua_acc.c Acc 1: setting online status to 1.. 20:21:49.497 pjsua_acc.c Adding account: id=sip:622 at fritz.box 20:21:49.499 pjsua_acc.c .Account sip:622 at fritz.box added with id 2 20:21:49.500 pjsua_acc.c .Acc 2: setting registration.. 20:21:49.514 pjsua_core.c ...TX 532 bytes Request msg REGISTER/cseq=3732 (tdta0x1a7a270) to UDP 192.168.178.1:5060: REGISTER sip:fritz.box SIP/2.0 Via: SIP/2.0/UDP 192.168.178.33:5060;rport;branch=z9hG4bKPj590JSWi9k-Ijenysz2NxYc7hJipFwuZT Max-Forwards: 70 From: <sip:622@xxxxxxxxx>;tag=9LRMFhu0bJ2XdxwUYNqPM5wNvGiArPFb To: <sip:622 at fritz.box> Call-ID: YWRJpNqOniuWuZ0ldjhWAUcFaQTjFbwD CSeq: 3732 REGISTER User-Agent: PJSUA v2.1-svn Linux-3.6.11/armv6l/glibc-2.13 Contact: <sip:622 at 192.168.178.33:5060;ob> Expires: 300 Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Content-Length: 0 --end msg-- 20:21:49.524 pjsua_acc.c ..Acc 2: Registration sent 20:21:49.525 pjsua_acc.c Acc 2: setting online status to 1.. 20:21:49.527 pjsua_core.c PJSUA state changed: INIT --> STARTING 20:21:49.528 sip_endpoint.c .Module "mod-unsolicited-mwi" registered 20:21:49.529 pjsua_core.c .PJSUA state changed: STARTING --> RUNNING 20:21:49.530 main.c Ready: Success >>>> Account list: [ 0] <sip:192.168.178.33:5060>: does not register Online status: Online [ 1] <sip:192.168.178.33:5060;transport=TCP>: does not register Online status: Online *[ 2] sip:622 at fritz.box: 100/In Progress (expires=0) Online status: Online Buddy list: -none- +=============================================================================+ | Call Commands: | Buddy, IM & Presence: | Account: | | | | | 20:21:49.539 pjsua_core.c .RX 458 bytes Response msg 401/REGISTER/cseq=3732 (rdata0x1a76efc) from UDP 192.168.178.1:5060: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.178.33:5060;rport=5060;branch=z9hG4bKPj590JSWi9k-Ijenysz2NxYc7hJipFwuZT From: <sip:622@xxxxxxxxx>;tag=9LRMFhu0bJ2XdxwUYNqPM5wNvGiArPFb To: <sip:622 at fritz.box>;tag=6CA397E0DF023D9A Call-ID: YWRJpNqOniuWuZ0ldjhWAUcFaQTjFbwD CSeq: 3732 REGISTER WWW-Authenticate: Digest realm="fritz.box", nonce="CFA114F4A69D39F1" User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Content-Length: 0 --end msg-- 20:21:49.547 pjsua_core.c ....TX 681 bytes Request msg REGISTER/cseq=3733 (tdta0x1a7a270) to UDP 192.168.178.1:5060: REGISTER sip:fritz.box SIP/2.0 Via: SIP/2.0/UDP 192.168.178.33:5060;rport;branch=z9hG4bKPjvVFOiExE4-EaLLeby7T3deqcjh0PmrIQ Max-Forwards: 70 From: <sip:622@xxxxxxxxx>;tag=9LRMFhu0bJ2XdxwUYNqPM5wNvGiArPFb To: <sip:622 at fritz.box> Call-ID: YWRJpNqOniuWuZ0ldjhWAUcFaQTjFbwD CSeq: 3733 REGISTER User-Agent: PJSUA v2.1-svn Linux-3.6.11/armv6l/glibc-2.13 Contact: <sip:622 at 192.168.178.33:5060;ob> Expires: 300 Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Authorization: Digest username="622", realm="fritz.box", nonce="CFA114F4A69D39F1", uri="sip:fritz.box", response="5761867404afbf0d96fb9dae0b3af75d" Content-Length: 0 --end msg-- | 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 | | +-----------------------------------------------------------------------------+ | q QUIT L ReLoad sleep MS echo [0|1|txt] n: detect NAT type | +=============================================================================+ You have 0 active call >>> 20:21:49.572 pjsua_core.c .RX 672 bytes Response msg 200/REGISTER/cseq=3733 (rdata0x1a76efc) from UDP 192.168.178.1:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.178.33:5060;rport=5060;branch=z9hG4bKPjvVFOiExE4-EaLLeby7T3deqcjh0PmrIQ From: <sip:622@xxxxxxxxx>;tag=9LRMFhu0bJ2XdxwUYNqPM5wNvGiArPFb To: <sip:622 at fritz.box>;tag=05F8DE8A764D6082 Call-ID: YWRJpNqOniuWuZ0ldjhWAUcFaQTjFbwD CSeq: 3733 REGISTER Contact: <sip:622 at 192.168.178.33:5060;ob>;expires=300 User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Supported: 100rel,replaces,timer Allow-Events: telephone-event,refer,reg Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH Accept: application/sdp, multipart/mixed Accept-Encoding: identity Content-Length: 0 --end msg-- 20:21:49.578 pjsua_acc.c ....SIP outbound status for acc 2 is not active 20:21:49.580 pjsua_acc.c ....sip:622 at fritz.box: registration success, status=200 (OK), will re-register in 300 seconds 20:21:49.581 pjsua_acc.c ....Keep-alive timer started for acc 2, destination:192.168.178.1:5060, interval:15s m (You currently have 0 calls) Buddy list: -none- Choices: 0 For current dialog. -1 All 0 buddies in buddy list [1 - 0] Select from buddy list URL An URL <Enter> Empty input (or 'q') to cancel Make call: sip:**613 at fritz.box 20:22:10.813 pjsua_call.c !Making call with acc #2 to sip:**613 at fritz.box 20:22:10.815 pjsua_aud.c .Set sound device: capture=-1, playback=-2 20:22:10.816 pjsua_app.c ..Turning sound device ON 20:22:10.819 pjsua_aud.c ..Opening sound device PCM at 16000/1/20ms Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994 Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994 20:22:10.841 pjsua_app.c ..Turning sound device ON 20:22:10.843 pjsua_aud.c ..Opening sound device PCM at 44100/1/20ms 20:22:10.868 ec0x1a7dd50 ...AEC created, clock_rate=44100, channel=1, samples per frame=882, tail length=200 ms, latency=100 ms 20:22:10.872 pjsua_media.c .Call 0: initializing media.. 20:22:10.877 pjsua_media.c ..RTP socket reachable at 192.168.178.33:4000 20:22:10.879 pjsua_media.c ..RTCP socket reachable at 192.168.178.33:4001 20:22:10.882 pjsua_media.c ..Media index 0 selected for audio call 0 20:22:10.899 pjsua_core.c ....TX 1115 bytes Request msg INVITE/cseq=23710 (tdta0x1b01750) to UDP 192.168.178.1:5060: INVITE sip:**613 at fritz.box SIP/2.0 Via: SIP/2.0/UDP 192.168.178.33:5060;rport;branch=z9hG4bKPjriUEd0vxwEIRvtJ8TkeoGwYWdKXZkiUB Max-Forwards: 70 From: sip:622@xxxxxxxxx;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: sip:**613 at fritz.box Contact: <sip:622 at 192.168.178.33:5060;ob> Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23710 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: PJSUA v2.1-svn Linux-3.6.11/armv6l/glibc-2.13 Content-Type: application/sdp Content-Length: 479 v=0 o=- 3581000530 3581000530 IN IP4 192.168.178.33 s=pjmedia b=AS:84 t=0 0 a=X-nat:0 m=audio 4000 RTP/AVP 98 97 99 104 3 0 8 9 96 c=IN IP4 192.168.178.33 b=TIAS:64000 a=rtcp:4001 IN IP4 192.168.178.33 a=sendrecv 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=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 --end msg-- 20:22:10.929 pjsua_app.c .......Call 0 state changed to CALLING >>> 20:22:10.935 pjsua_core.c .RX 459 bytes Response msg 401/INVITE/cseq=23710 (rdata0x1a76efc) from UDP 192.168.178.1:5060: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.178.33:5060;rport=5060;branch=z9hG4bKPjriUEd0vxwEIRvtJ8TkeoGwYWdKXZkiUB From: <sip:622@xxxxxxxxx>;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: <sip:**613 at fritz.box>;tag=1BC122B4371FB37F Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23710 INVITE WWW-Authenticate: Digest realm="fritz.box", nonce="21FC04EBD6703D92" User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Content-Length: 0 --end msg-- 20:22:10.946 pjsua_core.c ..TX 334 bytes Request msg ACK/cseq=23710 (tdta0x1b06058) to UDP 192.168.178.1:5060: ACK sip:**613 at fritz.box SIP/2.0 Via: SIP/2.0/UDP 192.168.178.33:5060;rport;branch=z9hG4bKPjriUEd0vxwEIRvtJ8TkeoGwYWdKXZkiUB Max-Forwards: 70 From: sip:622@xxxxxxxxx;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: sip:**613 at fritz.box;tag=1BC122B4371FB37F Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23710 ACK Content-Length: 0 --end msg-- 20:22:10.953 pjsua_core.c .......TX 1270 bytes Request msg INVITE/cseq=23711 (tdta0x1b01750) to UDP 192.168.178.1:5060: INVITE sip:**613 at fritz.box SIP/2.0 Via: SIP/2.0/UDP 192.168.178.33:5060;rport;branch=z9hG4bKPj9EDvpv.jsIAiS62zRuI73oM54uBcdSEC Max-Forwards: 70 From: sip:622@xxxxxxxxx;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: sip:**613 at fritz.box Contact: <sip:622 at 192.168.178.33:5060;ob> Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23711 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: PJSUA v2.1-svn Linux-3.6.11/armv6l/glibc-2.13 Authorization: Digest username="622", realm="fritz.box", nonce="21FC04EBD6703D92", uri="sip:**613 at fritz.box", response="4b0b06795cb18993250d6c3ecaacd8d7" Content-Type: application/sdp Content-Length: 479 v=0 o=- 3581000530 3581000530 IN IP4 192.168.178.33 s=pjmedia b=AS:84 t=0 0 a=X-nat:0 m=audio 4000 RTP/AVP 98 97 99 104 3 0 8 9 96 c=IN IP4 192.168.178.33 b=TIAS:64000 a=rtcp:4001 IN IP4 192.168.178.33 a=sendrecv 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=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 --end msg-- 20:22:10.956 os_core_unix.c !Info: possibly re-registering existing thread 20:22:11.010 pjsua_core.c .RX 362 bytes Response msg 100/INVITE/cseq=23711 (rdata0x1a76efc) from UDP 192.168.178.1:5060: SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.178.33:5060;rport=5060;branch=z9hG4bKPj9EDvpv.jsIAiS62zRuI73oM54uBcdSEC From: <sip:622@xxxxxxxxx>;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: <sip:**613 at fritz.box> Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23711 INVITE User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Content-Length: 0 --end msg-- 20:22:11.052 pjsua_core.c .RX 800 bytes Response msg 183/INVITE/cseq=23711 (rdata0x1a76efc) from UDP 192.168.178.1:5060: SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 192.168.178.33:5060;rport=5060;branch=z9hG4bKPj9EDvpv.jsIAiS62zRuI73oM54uBcdSEC From: <sip:622@xxxxxxxxx>;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: <sip:**613 at fritz.box>;tag=18CB37107D296181 Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23711 INVITE Contact: <sip:08F8E7E6CCF8E9E7622F1FD4F3171 at 192.168.178.1> User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Content-Type: application/sdp Content-Length: 312 v=0 o=user 3540616 3540616 IN IP4 192.168.178.1 s=pjmedia c=IN IP4 192.168.178.1 t=0 0 m=audio 7082 RTP/AVP 9 104 0 8 96 a=rtpmap:104 iLBC/8000 a=fmtp:104 mode=30 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 a=sendrecv a=rtcp:7083 --end msg-- 20:22:11.067 pjsua_app.c .....Call 0 state changed to EARLY (183 Session Progress) 20:22:11.069 pjsua_media.c .....Call 0: updating media.. 20:22:11.074 pjsua_aud.c ......Audio channel update.. 20:22:11.076 strm0x1b0a5ec .......VAD temporarily disabled 20:22:11.084 strm0x1b0a5ec .......Encoder stream started 20:22:11.086 strm0x1b0a5ec .......Decoder stream started 20:22:11.089 pjsua_media.c ......Audio updated, stream #0: G722 (sendrecv) 20:22:11.092 pjsua_app.c .....Call 0 media 0 [type=audio], status is Active 20:22:11.094 pjsua_aud.c .....Conf connect: 3 --> 0 20:22:11.098 conference.c ......Port 3 (sip:**613 at fritz.box) transmitting to port 0 (Generic USB Audio Device: USB Audio (hw:0,0) (44KHz)) 20:22:11.100 pjsua_aud.c .....Conf connect: 0 --> 3 20:22:11.102 conference.c ......Port 0 (Generic USB Audio Device: USB Audio (hw:0,0) (44KHz)) transmitting to port 3 (sip:**613 at fritz.box) 20:22:11.124 stream.c G722 codec used, remote samples per frame detected = 80 20:22:13.832 pjsua_core.c .RX 1046 bytes Response msg 200/INVITE/cseq=23711 (rdata0x1a76efc) from UDP 192.168.178.1:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.178.33:5060;rport=5060;branch=z9hG4bKPj9EDvpv.jsIAiS62zRuI73oM54uBcdSEC From: <sip:622@xxxxxxxxx>;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: <sip:**613 at fritz.box>;tag=18CB37107D296181 Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23711 INVITE Contact: <sip:08F8E7E6CCF8E9E7622F1FD4F3171 at 192.168.178.1> Session-Expires: 1800;refresher=uac Min-SE: 90 User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Supported: 100rel,replaces,timer Allow-Events: telephone-event,refer Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH Content-Type: application/sdp Accept: application/sdp, multipart/mixed Accept-Encoding: identity Content-Length: 288 v=0 o=user 3540616 3540617 IN IP4 192.168.178.1 s=pjmedia c=IN IP4 192.168.178.1 t=0 0 m=audio 7082 RTP/AVP 104 0 8 96 a=rtpmap:104 iLBC/8000 a=fmtp:104 mode=30 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 a=sendrecv a=rtcp:7083 --end msg-- 20:22:13.851 pjsua_app.c .....Call 0 state changed to CONNECTING 20:22:13.853 inv0x1afb9a4 ....SDP negotiation done, message body is ignored 20:22:13.858 pjsua_core.c .....TX 362 bytes Request msg ACK/cseq=23711 (tdta0x1b0ead0) to UDP 192.168.178.1:5060: ACK sip:08F8E7E6CCF8E9E7622F1FD4F3171 at 192.168.178.1 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.33:5060;rport;branch=z9hG4bKPjBA-Invi6GZXz1YjMFERrsvVUDIFlUslX Max-Forwards: 70 From: sip:622@xxxxxxxxx;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: sip:**613 at fritz.box;tag=18CB37107D296181 Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23711 ACK Content-Length: 0 --end msg-- 20:22:13.864 pjsua_app.c .....Call 0 state changed to CONFIRMED 20:22:13.866 pjsua_call.c .Call 0 sending UPDATE for updating media session to use only one codec 20:22:13.870 pjsua_core.c ....TX 819 bytes Request msg UPDATE/cseq=23712 (tdta0x1b12c68) to UDP 192.168.178.1:5060: UPDATE sip:08F8E7E6CCF8E9E7622F1FD4F3171 at 192.168.178.1 SIP/2.0 Via: SIP/2.0/UDP 192.168.178.33:5060;rport;branch=z9hG4bKPjx77pyCFzL9rfOc9nO1T4ntCHr0GUWt4E Max-Forwards: 70 From: sip:622@xxxxxxxxx;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: sip:**613 at fritz.box;tag=18CB37107D296181 Contact: <sip:622 at 192.168.178.33:5060;ob> Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23712 UPDATE Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800;refresher=uac Min-SE: 90 Content-Type: application/sdp Content-Length: 277 v=0 o=- 3581000530 3581000531 IN IP4 192.168.178.33 s=pjmedia b=AS:84 t=0 0 a=X-nat:0 m=audio 4000 RTP/AVP 9 96 c=IN IP4 192.168.178.33 b=TIAS:64000 a=rtcp:4001 IN IP4 192.168.178.33 a=rtpmap:9 G722/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 a=sendrecv --end msg-- 20:22:13.925 pjsua_core.c .RX 396 bytes Response msg 488/UPDATE/cseq=23712 (rdata0x1a76efc) from UDP 192.168.178.1:5060: SIP/2.0 488 Not Acceptable Here Via: SIP/2.0/UDP 192.168.178.33:5060;rport=5060;branch=z9hG4bKPjx77pyCFzL9rfOc9nO1T4ntCHr0GUWt4E From: <sip:622@xxxxxxxxx>;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 To: <sip:**613 at fritz.box>;tag=18CB37107D296181 Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23712 UPDATE User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Content-Length: 0 --end msg-- 20:22:13.934 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:13.957 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:13.984 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.011 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.043 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.078 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.105 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.131 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.162 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.198 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.224 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.251 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.283 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.318 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.345 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.373 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.403 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.438 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.465 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.490 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.523 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.558 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.584 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.611 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.643 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.680 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.705 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.730 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.762 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.798 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.825 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.850 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.885 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.918 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.945 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:14.971 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.002 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.038 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.065 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.091 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.124 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.158 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.185 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.211 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.243 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.278 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.305 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.332 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.363 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.398 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.424 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.451 strm0x1b0a5ec Bad RTP pt 104 (expecting 9) 20:22:15.474 pjsua_core.c .RX 745 bytes Request msg BYE/cseq=23712 (rdata0x1a76efc) from UDP 192.168.178.1:5060: BYE sip:622 at 192.168.178.33:5060;ob SIP/2.0 Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK9485C8D4556E3894 From: <sip:**613@xxxxxxxxx>;tag=18CB37107D296181 To: <sip:622 at fritz.box>;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 CSeq: 23712 BYE X-RTP-Stat: CS=0;PS=247;ES=221;OS=19680;SP=0/0;SO=0;QS=-;PR=2;ER=221;OR=320;CR=0;SR=0;QR=-;PL=0,0;BL=0;LS=0;RB=0/0;SB=-/-;EN=iLBC-30,G722;DE=G722;JI=27,0;DL=0,0,0;IP=192.168.178.1:7082,192.168.178.33:4000 X-RTP-Stat-Add: DQ=0;DSS=0;DS=0;PLCS=38208;JS=128 Reason: Q.850; cause=16 Max-Forwards: 70 User-Agent: AVM FRITZ!Box Fon WLAN 7240 (UI) 73.05.50 (Jan 14 2013) Supported: 100rel,replaces,timer Allow-Events: telephone-event,refer Content-Length: 0 --end msg-- 20:22:15.489 pjsua_core.c .......TX 301 bytes Response msg 200/BYE/cseq=23712 (tdta0x1b17570) to UDP 192.168.178.1:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.178.1:5060;received=192.168.178.1;branch=z9hG4bK9485C8D4556E3894 Call-ID: AK26UmOEhnn6IurFCYOZyd0TdK9jJDp7 From: <sip:**613@xxxxxxxxx>;tag=18CB37107D296181 To: <sip:622 at fritz.box>;tag=FQAeMzW7OSeHDstakA-l49Ys7Lsze0f7 CSeq: 23712 BYE Content-Length: 0 --end msg-- 20:22:15.495 pjsua_app.c ......Call 0 is DISCONNECTED [reason=200 (Normal call clearing)] 20:22:15.498 pjsua_app_comm ...... [DISCONNCTD] To: sip:**613 at fritz.box;tag=18CB37107D296181 Call time: 00h:00m:01s, 1st res in 195 ms, conn in 2992ms #0 audio G722 @16kHz, sendrecv, peer=192.168.178.1:7082 SRTP status: Not active Crypto-suite: RX pt=9, last update:00h:00m:04.239s ago total 189pkt 24.4KB (32.0KB +IP hdr) @avg=44.3Kbps/58.0Kbps pkt loss=0 (0.0%), discrd=0 (0.0%), dup=0 (0.0%), reord=0 (0.0%) (msec) min avg max last dev loss period: 0.000 0.000 0.000 0.000 0.000 jitter : 0.000 18.142 177.125 9.875 17.060 TX pt=9, ptime=20, last update:00h:00m:01.969s ago total 2pkt 320B (400B +IP hdr) @avg=580bps/725bps pkt loss=0 (0.0%), dup=0 (0.0%), reorder=0 (0.0%) (msec) min avg max last dev loss period: 0.000 0.000 0.000 0.000 0.000 jitter : 3.375 3.375 3.375 3.375 0.000 RTT msec : 3.189 3.189 3.189 3.189 0.000 20:22:15.508 pjsua_media.c ......Call 0: deinitializing media.. 20:22:15.510 pjsua_media.c ........Media stream call00:0 is destroyed 20:22:16.510 pjsua_aud.c Closing sound device after idle for 1 second(s) 20:22:16.512 pjsua_app.c .Turning sound device OFF 20:22:16.513 pjsua_aud.c .Closing Generic USB Audio Device: USB Audio (hw:0,0) sound playback device and Generic USB Audio Device: USB Audio (hw:0,0) sound capture device ^C Script done on Sun 23 Jun 2013 20:22:30 CEST