Re: Asterisk crashs with PJSIP

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

 



Here are the files sorry...

Le 10/03/2017 à 10:26, ➔ Dan ADAGIO a écrit :
Hello PJSIP mailing list,

We are a french startup and we have a problem with Asterisk/PJSIP.
We didn't find any answer or solution in wiki so, we post our problem here.

We have a business application that uses both conventional telephony and VoIP. We use the PJSIP library to make VoIP calls from mobile devices (Android & iOS). On server side we have Asterisk with PJSIP.

Sometimes "Asterisk" process crash with "double free or corruption". This happens shortly after the INVITE transaction was finished (we hear about 0.5s of sound) and only if the call was started on Android device.

We tried to reproduce the crash with other softphones (Zoiper, CSipSimple, Ekiga) and pjsua in CLI but it doesn't crash. Also it doesn't crash when iOS app is used. So, it seems that, the problem is with our Android implementation, but we don't know where to search for the solution.

We tried workarounds from here: https://issues.asterisk.org/jira/browse/ASTERISK-25274
https://issues.asterisk.org/jira/browse/ASTERISK-25275
But nothing worked.

This crash occur once in about 200 calls.
After using Valgrind (valgrind.org) to analyze Asterisk memory, we restart Asterisk and crash is happening more often. Is there a link ?

You will find backtrace and debug in attachments.

We tried Asterisk versions: 13.14 and 14.2
PJSSIP versions: 2.5.5, 2.6
(We tried to change audio codec but nothing changed)

Thanks a lot
Adagio Team

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


#0  0x00007f4cb5a07067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f4cb5a08448 in __GI_abort () at abort.c:89
#2  0x00007f4cb5a451b4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7f4cb5b3a210 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007f4cb5a4a98e in malloc_printerr (action=1, str=0x7f4cb5b3a360 "double free or corruption (out)", ptr=<optimized out>) at malloc.c:4996
#4  0x00007f4cb5a4b696 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5  0x00007f4c52d0ba98 in default_block_free () from /usr/local/lib/libpj.so.2
#6  0x00007f4c52d13afa in pj_pool_destroy_int () from /usr/local/lib/libpj.so.2
#7  0x00007f4c52d142c8 in cpool_release_pool () from /usr/local/lib/libpj.so.2
#8  0x00007f4c52d132e9 in pj_pool_release () from /usr/local/lib/libpj.so.2
#9  0x00007f4c53ded0e0 in destroy_tdata () from /usr/local/lib/libpjnath.so.2
#10 0x00007f4c53dedcb6 in stun_sess_on_destroy () from /usr/local/lib/libpjnath.so.2
#11 0x00007f4c52d114fc in grp_lock_destroy () from /usr/local/lib/libpj.so.2
#12 0x00007f4c52d11982 in grp_lock_dec_ref () from /usr/local/lib/libpj.so.2
#13 0x00007f4c52d119ce in pj_grp_lock_dec_ref () from /usr/local/lib/libpj.so.2
#14 0x00007f4c52d11390 in grp_lock_release () from /usr/local/lib/libpj.so.2
#15 0x00007f4c52d117b6 in pj_grp_lock_release () from /usr/local/lib/libpj.so.2
#16 0x00007f4c53de1a96 in pj_ice_sess_on_rx_pkt () from /usr/local/lib/libpjnath.so.2
#17 0x00007f4beeaa00db in __rtp_recvfrom (instance=0x7f4c340b5e90, buf=0x7f4c340b6e50, size=8192, flags=0, sa=0x7f4be56c6940, rtcp=0)
    at res_rtp_asterisk.c:2260
#18 0x00007f4beeaa0255 in rtp_recvfrom (instance=0x7f4c340b5e90, buf=0x7f4c340b6e50, size=8192, flags=0, sa=0x7f4be56c6940) at res_rtp_asterisk.c:2292
#19 0x00007f4beeaa8e00 in ast_rtp_read (instance=0x7f4c340b5e90, rtcp=0) at res_rtp_asterisk.c:4505
#20 0x0000000000596dcb in ast_rtp_instance_read (instance=0x7f4c340b5e90, rtcp=0) at rtp_engine.c:495
#21 0x00007f4bea9e004f in chan_pjsip_read (ast=0x7f4c340292a0) at chan_pjsip.c:718
#22 0x00000000004b8cc7 in __ast_read (chan=0x7f4c340292a0, dropaudio=0) at channel.c:3943
#23 0x00000000004ba858 in ast_read (chan=0x7f4c340292a0) at channel.c:4375
#24 0x000000000051ba80 in waitstream_core (c=0x7f4c340292a0, breakon=0x6507a4 "0123456789#*ABCD", forward=0x63b0aa "", reverse=0x63b0aa "", skip_ms=0, 
    audiofd=-1, cmdfd=-1, context=0x0, cb=0x0) at file.c:1602
#25 0x000000000051c0ed in ast_waitstream (c=0x7f4c340292a0, breakon=0x6507a4 "0123456789#*ABCD") at file.c:1754
#26 0x000000000058a22f in pbx_builtin_background (chan=0x7f4c340292a0, 
    data=0x7f4be56c77e0 "/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-mode-ecoute-active") at pbx_builtins.c:1110
#27 0x00000000005887a8 in pbx_exec (c=0x7f4c340292a0, app=0xe7c620, data=0x7f4be56c77e0 "/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-mode-ecoute-active")
    at pbx_app.c:485
#28 0x00007f4c4dc6a7b4 in handle_exec (chan=0x7f4c340292a0, agi=0x7f4be56c80e0, argc=3, argv=0x7f4be56c7330) at res_agi.c:3127
#29 0x00007f4c4dc6d2e2 in agi_handle_command (chan=0x7f4c340292a0, agi=0x7f4be56c80e0, buf=0x7f4be56c77d0 "EXEC", dead=0) at res_agi.c:4028
#30 0x00007f4c4dc6dd81 in run_agi (chan=0x7f4c340292a0, request=0x7f4be56c8070 "/prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php", agi=0x7f4be56c80e0, pid=30236, 
    status=0x7f4be56c80d4, dead=0, argc=2, argv=0x7f4be56c8108) at res_agi.c:4228
#31 0x00007f4c4dc6eff0 in agi_exec_full (chan=0x7f4c340292a0, data=0x7f4be56c8630 "/prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php,40", enhanced=0, dead=0)
    at res_agi.c:4514
#32 0x00007f4c4dc6f132 in agi_exec (chan=0x7f4c340292a0, data=0x7f4be56c8630 "/prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php,40") at res_agi.c:4548
#33 0x00000000005887a8 in pbx_exec (c=0x7f4c340292a0, app=0x325c5a0, data=0x7f4be56c8630 "/prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php,40") at pbx_app.c:485
#34 0x0000000000575d78 in pbx_extension_helper (c=0x7f4c340292a0, con=0x0, context=0x7f4c34029c70 "Taxinergy", exten=0x7f4c34029cc0 "0972579035", priority=1, 
    label=0x0, callerid=0x7f4c3407a090 "0685765923", action=E_SPAWN, found=0x7f4be56cacd4, combined_find_spawn=1) at pbx.c:2884
#35 0x0000000000579344 in ast_spawn_extension (c=0x7f4c340292a0, context=0x7f4c34029c70 "Taxinergy", exten=0x7f4c34029cc0 "0972579035", priority=1, 
    callerid=0x7f4c3407a090 "0685765923", found=0x7f4be56cacd4, combined_find_spawn=1) at pbx.c:4110
#36 0x0000000000579fba in __ast_pbx_run (c=0x7f4c340292a0, args=0x0) at pbx.c:4285
#37 0x000000000057b70d in pbx_thread (data=0x7f4c340292a0) at pbx.c:4605
#38 0x0000000000600f38 in dummy_start (data=0x7f4c34069570) at utils.c:1235
#39 0x00007f4cb6d41064 in start_thread (arg=0x7f4be56cb700) at pthread_create.c:309
#40 0x00007f4cb5aba62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
[2017-03-07 18:17:01] VERBOSE[29791] pbx_spool.c: Attempting call on Local/0972510452@Taxinergy for 400@Taxinergy:1 (Retry 1)
[2017-03-07 18:17:01] VERBOSE[29794] dial.c: Called 0972510452@Taxinergy
[2017-03-07 18:17:01] VERBOSE[29795][C-00000000] pbx.c: Executing [0972510452@Taxinergy:1] Set("Local/0972510452@Taxinergy-00000000;2", "TIMEOUT(absolute)=18") in new stack
[2017-03-07 18:17:01] VERBOSE[29795][C-00000000] func_timeout.c: Channel will hangup at 2017-03-07 18:17:19.440 CET.
[2017-03-07 18:17:01] VERBOSE[29795][C-00000000] pbx.c: Executing [0972510452@Taxinergy:2] AGI("Local/0972510452@Taxinergy-00000000;2", "/prod-Asterisk-Client/SVI/Clients/SVI_Client_Demo.php,40,44") in new stack
[2017-03-07 18:17:01] VERBOSE[29795][C-00000000] res_agi.c: Launched AGI Script /prod-Asterisk-Client/SVI/Clients/SVI_Client_Demo.php
[2017-03-07 18:17:01] VERBOSE[29795][C-00000000] res_agi.c: AGI Script Executing Application: (BackGround) Options: (/prod-Asterisk-Client/SVI/Clients/Sounds/Accueil/annonce-groupement-demo)
[2017-03-07 18:17:01] VERBOSE[29794] dial.c: Local/0972510452@Taxinergy-00000000;1 answered
[2017-03-07 18:17:01] VERBOSE[29794][C-00000001] pbx.c: Executing [400@Taxinergy:1] Answer("Local/0972510452@Taxinergy-00000000;1", "") in new stack
[2017-03-07 18:17:01] VERBOSE[29794][C-00000001] pbx.c: Executing [400@Taxinergy:2] BackGround("Local/0972510452@Taxinergy-00000000;1", "demo-congrats") in new stack
[2017-03-07 18:17:01] VERBOSE[29794][C-00000001] file.c: <Local/0972510452@Taxinergy-00000000;1> Playing 'demo-congrats.gsm' (language 'fr')
[2017-03-07 18:17:01] VERBOSE[29795][C-00000000] file.c: <Local/0972510452@Taxinergy-00000000;2> Playing '/prod-Asterisk-Client/SVI/Clients/Sounds/Accueil/annonce-groupement-demo.slin' (language 'fr')
[2017-03-07 18:17:06] VERBOSE[29795][C-00000000] res_agi.c: AGI Script Executing Application: (MixMonitor) Options: (/prod-Asterisk-Client/Conferences/96551_confbridge_350_0647493834.wav)
[2017-03-07 18:17:06] VERBOSE[29827][C-00000000] app_mixmonitor.c: Begin MixMonitor Recording Local/0972510452@Taxinergy-00000000;2
[2017-03-07 18:17:06] VERBOSE[29795][C-00000000] res_agi.c: AGI Script Executing Application: (Confbridge) Options: (350,taxinergy_bridge,taxinergy_user_demo,taxinergy_menu)
[2017-03-07 18:17:06] VERBOSE[29834] bridge_channel.c: Channel CBAnn/350-00000001;2 joined 'softmix' base-bridge <cd2528f9-eb07-4b51-bba2-dcffb229f538>
[2017-03-07 18:17:06] VERBOSE[29795][C-00000000] res_musiconhold.c: Started music on hold, class 'Taxinergy_demo', on channel 'Local/0972510452@Taxinergy-00000000;2'
[2017-03-07 18:17:06] VERBOSE[29795][C-00000000] bridge_channel.c: Channel Local/0972510452@Taxinergy-00000000;2 joined 'softmix' base-bridge <cd2528f9-eb07-4b51-bba2-dcffb229f538>
[2017-03-07 18:17:06] VERBOSE[29833] file.c: <CBAnn/350-00000001;1> Playing 'confbridge-join.gsm' (language 'fr')
[2017-03-07 18:17:12] VERBOSE[27732][C-00000002] netsock2.c: Using SIP RTP CoS mark 5
[2017-03-07 18:17:12] VERBOSE[29848][C-00000002] pbx.c: Executing [s@ovh-in:1] NoOp("SIP/Groupement_Demo2-00000000", "SIP Headers: <sip:0972579035@10.7.1.65;user=phone>") in new stack
[2017-03-07 18:17:12] VERBOSE[29848][C-00000002] pbx.c: Executing [s@ovh-in:2] NoOp("SIP/Groupement_Demo2-00000000", "Extension: s") in new stack
[2017-03-07 18:17:12] VERBOSE[29848][C-00000002] pbx.c: Executing [s@ovh-in:3] Goto("SIP/Groupement_Demo2-00000000", "Taxinergy,0972579035,1") in new stack
[2017-03-07 18:17:12] VERBOSE[29848][C-00000002] pbx_builtins.c: Goto (Taxinergy,0972579035,1)
[2017-03-07 18:17:12] VERBOSE[29848][C-00000002] pbx.c: Executing [0972579035@Taxinergy:1] AGI("SIP/Groupement_Demo2-00000000", "/prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php,40") in new stack
[2017-03-07 18:17:12] VERBOSE[29848][C-00000002] res_agi.c: Launched AGI Script /prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php
[2017-03-07 18:17:12] VERBOSE[29848][C-00000002] res_agi.c: AGI Script Executing Application: (Background) Options: (/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-taxi-c-est-a-vous)
[2017-03-07 18:17:13] VERBOSE[29848][C-00000002] file.c: <SIP/Groupement_Demo2-00000000> Playing '/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-taxi-c-est-a-vous.slin' (language 'fr')
[2017-03-07 18:17:13] VERBOSE[29848][C-00000002] res_rtp_asterisk.c: 0x7f4bc4009060 -- Probation passed - setting RTP source address to 91.121.129.140:31460
[2017-03-07 18:17:14] VERBOSE[29848][C-00000002] res_agi.c: AGI Script Executing Application: (Confbridge) Options: (350,taxinergy_bridge,taxinergy_user,taxinergy_menu)
[2017-03-07 18:17:14] VERBOSE[29848][C-00000002] res_musiconhold.c: Stopped music on hold on Local/0972510452@Taxinergy-00000000;2
[2017-03-07 18:17:14] VERBOSE[29848][C-00000002] bridge_channel.c: Channel SIP/Groupement_Demo2-00000000 joined 'softmix' base-bridge <cd2528f9-eb07-4b51-bba2-dcffb229f538>
[2017-03-07 18:17:14] VERBOSE[29833] file.c: <CBAnn/350-00000001;1> Playing 'confbridge-join.gsm' (language 'fr')
[2017-03-07 18:17:14] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (1295 bytes) from UDP:77.135.117.214:5062 --->
INVITE sip:0972579035@46.255.165.62 SIP/2.0
Via: SIP/2.0/UDP 77.135.117.214:5062;rport;branch=z9hG4bKPjf91670eb-2fa6-4e03-917c-ececc859f81d
Max-Forwards: 70
From: sip:0685765923@46.255.165.62;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: sip:0972579035@46.255.165.62
Contact: <sip:0685765923@77.135.117.214:5062;ob>;+sip.ice
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
CSeq: 27145 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
Content-Type: application/sdp
Content-Length:   661

v=0
o=- 3697895834 3697895834 IN IP4 77.135.117.214
s=pjmedia
b=AS:84
t=0 0
a=X-nat:8
m=audio 40577 RTP/AVP 8 96
c=IN IP4 77.135.117.214
b=TIAS:64000
a=rtcp:37370 IN IP4 77.135.117.214
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ice-ufrag:18cd4346
a=ice-pwd:3b06c323
a=candidate:Sc0a8013b 1 UDP 1862270975 77.135.117.214 40577 typ srflx raddr 192.168.1.59 rport 40577
a=candidate:Hc0a8013b 1 UDP 1694498815 192.168.1.59 40577 typ host
a=candidate:Sc0a8013b 2 UDP 1862270974 77.135.117.214 37370 typ srflx raddr 192.168.1.59 rport 37370
a=candidate:Hc0a8013b 2 UDP 1694498814 192.168.1.59 37370 typ host

[2017-03-07 18:17:14] VERBOSE[27142] res_pjsip_logger.c: <--- Transmitting SIP response (583 bytes) to UDP:77.135.117.214:5062 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 77.135.117.214:5062;rport=5062;received=77.135.117.214;branch=z9hG4bKPjf91670eb-2fa6-4e03-917c-ececc859f81d
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
From: <sip:0685765923@46.255.165.62>;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: <sip:0972579035@46.255.165.62>;tag=z9hG4bKPjf91670eb-2fa6-4e03-917c-ececc859f81d
CSeq: 27145 INVITE
WWW-Authenticate: Digest  realm="asterisk",nonce="1488907034/2ee8e885f90bce16fa7ffdda84b412fa",opaque="182685b12cfb0648",algorithm=md5,qop="auth"
Server: Asterisk PBX 13.14.0
Content-Length:  0


[2017-03-07 18:17:14] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (1287 bytes) from UDP:80.14.192.114:5062 --->
INVITE sip:0972579035@46.255.165.62 SIP/2.0
Via: SIP/2.0/UDP 80.14.192.114:5062;rport;branch=z9hG4bKPjc2b0aab6-17dd-4932-ae7d-ba4441d298ca
Max-Forwards: 70
From: sip:0689178401@46.255.165.62;tag=220a81fc-513b-42b9-b084-74b8a6873fa4
To: sip:0972579035@46.255.165.62
Contact: <sip:0689178401@80.14.192.114:5062;ob>;+sip.ice
Call-ID: 4dd3c303-cfe9-4ff0-8a51-f4c9b207f3ec
CSeq: 4256 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
Content-Type: application/sdp
Content-Length:   656

v=0
o=- 3697895838 3697895838 IN IP4 80.14.192.114
s=pjmedia
b=AS:84
t=0 0
a=X-nat:8
m=audio 41741 RTP/AVP 8 96
c=IN IP4 80.14.192.114
b=TIAS:64000
a=rtcp:51163 IN IP4 80.14.192.114
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ice-ufrag:4b66ed2a
a=ice-pwd:01f2f027
a=candidate:Sc0a8015c 1 UDP 1862270975 80.14.192.114 41741 typ srflx raddr 192.168.1.92 rport 41741
a=candidate:Hc0a8015c 1 UDP 1694498815 192.168.1.92 41741 typ host
a=candidate:Sc0a8015c 2 UDP 1862270974 80.14.192.114 51163 typ srflx raddr 192.168.1.92 rport 51163
a=candidate:Hc0a8015c 2 UDP 1694498814 192.168.1.92 51163 typ host

[2017-03-07 18:17:14] VERBOSE[27142] res_pjsip_logger.c: <--- Transmitting SIP response (580 bytes) to UDP:80.14.192.114:5062 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 80.14.192.114:5062;rport=5062;received=80.14.192.114;branch=z9hG4bKPjc2b0aab6-17dd-4932-ae7d-ba4441d298ca
Call-ID: 4dd3c303-cfe9-4ff0-8a51-f4c9b207f3ec
From: <sip:0689178401@46.255.165.62>;tag=220a81fc-513b-42b9-b084-74b8a6873fa4
To: <sip:0972579035@46.255.165.62>;tag=z9hG4bKPjc2b0aab6-17dd-4932-ae7d-ba4441d298ca
CSeq: 4256 INVITE
WWW-Authenticate: Digest  realm="asterisk",nonce="1488907034/9c96172b2f0141ef225b5231ee845dec",opaque="4cdd903225846a8d",algorithm=md5,qop="auth"
Server: Asterisk PBX 13.14.0
Content-Length:  0


[2017-03-07 18:17:14] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (404 bytes) from UDP:77.135.117.214:5062 --->
ACK sip:0972579035@46.255.165.62 SIP/2.0
Via: SIP/2.0/UDP 77.135.117.214:5062;rport;branch=z9hG4bKPjf91670eb-2fa6-4e03-917c-ececc859f81d
Max-Forwards: 70
From: sip:0685765923@46.255.165.62;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: sip:0972579035@46.255.165.62;tag=z9hG4bKPjf91670eb-2fa6-4e03-917c-ececc859f81d
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
CSeq: 27145 ACK
Content-Length:  0


[2017-03-07 18:17:14] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (1602 bytes) from UDP:77.135.117.214:5062 --->
INVITE sip:0972579035@46.255.165.62 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.59:5062;rport;branch=z9hG4bKPjb4021833-7764-4782-b119-9f8ef7c45357
Max-Forwards: 70
From: sip:0685765923@46.255.165.62;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: sip:0972579035@46.255.165.62
Contact: <sip:0685765923@77.135.117.214:5062;ob>;+sip.ice
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
CSeq: 27146 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
Authorization: Digest username="0685765923", realm="asterisk", nonce="1488907034/2ee8e885f90bce16fa7ffdda84b412fa", uri="sip:0972579035@46.255.165.62", response="d74f55d42f5e7e1b4f327ed62e31e43c", algorithm=md5, cnonce="24177143-52b6-409d-81f0-d6bd723d65a9", opaque="182685b12cfb0648", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length:   661

v=0
o=- 3697895834 3697895834 IN IP4 77.135.117.214
s=pjmedia
b=AS:84
t=0 0
a=X-nat:8
m=audio 40577 RTP/AVP 8 96
c=IN IP4 77.135.117.214
b=TIAS:64000
a=rtcp:37370 IN IP4 77.135.117.214
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ice-ufrag:18cd4346
a=ice-pwd:3b06c323
a=candidate:Sc0a8013b 1 UDP 1862270975 77.135.117.214 40577 typ srflx raddr 192.168.1.59 rport 40577
a=candidate:Hc0a8013b 1 UDP 1694498815 192.168.1.59 40577 typ host
a=candidate:Sc0a8013b 2 UDP 1862270974 77.135.117.214 37370 typ srflx raddr 192.168.1.59 rport 37370
a=candidate:Hc0a8013b 2 UDP 1694498814 192.168.1.59 37370 typ host

[2017-03-07 18:17:14] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (402 bytes) from UDP:80.14.192.114:5062 --->
ACK sip:0972579035@46.255.165.62 SIP/2.0
Via: SIP/2.0/UDP 80.14.192.114:5062;rport;branch=z9hG4bKPjc2b0aab6-17dd-4932-ae7d-ba4441d298ca
Max-Forwards: 70
From: sip:0689178401@46.255.165.62;tag=220a81fc-513b-42b9-b084-74b8a6873fa4
To: sip:0972579035@46.255.165.62;tag=z9hG4bKPjc2b0aab6-17dd-4932-ae7d-ba4441d298ca
Call-ID: 4dd3c303-cfe9-4ff0-8a51-f4c9b207f3ec
CSeq: 4256 ACK
Content-Length:  0


[2017-03-07 18:17:14] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (1595 bytes) from UDP:80.14.192.114:5062 --->
INVITE sip:0972579035@46.255.165.62 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.92:5062;rport;branch=z9hG4bKPj5797f43d-8154-4716-9cdf-96a4e0f46bb4
Max-Forwards: 70
From: sip:0689178401@46.255.165.62;tag=220a81fc-513b-42b9-b084-74b8a6873fa4
To: sip:0972579035@46.255.165.62
Contact: <sip:0689178401@80.14.192.114:5062;ob>;+sip.ice
Call-ID: 4dd3c303-cfe9-4ff0-8a51-f4c9b207f3ec
CSeq: 4257 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
Authorization: Digest username="0689178401", realm="asterisk", nonce="1488907034/9c96172b2f0141ef225b5231ee845dec", uri="sip:0972579035@46.255.165.62", response="fd905bbb818dbc982fddc18d18ac1222", algorithm=md5, cnonce="3356ba27-405e-4f10-b8c0-ca17de5df137", opaque="4cdd903225846a8d", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length:   656

v=0
o=- 3697895838 3697895838 IN IP4 80.14.192.114
s=pjmedia
b=AS:84
t=0 0
a=X-nat:8
m=audio 41741 RTP/AVP 8 96
c=IN IP4 80.14.192.114
b=TIAS:64000
a=rtcp:51163 IN IP4 80.14.192.114
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ice-ufrag:4b66ed2a
a=ice-pwd:01f2f027
a=candidate:Sc0a8015c 1 UDP 1862270975 80.14.192.114 41741 typ srflx raddr 192.168.1.92 rport 41741
a=candidate:Hc0a8015c 1 UDP 1694498815 192.168.1.92 41741 typ host
a=candidate:Sc0a8015c 2 UDP 1862270974 80.14.192.114 51163 typ srflx raddr 192.168.1.92 rport 51163
a=candidate:Hc0a8015c 2 UDP 1694498814 192.168.1.92 51163 typ host

[2017-03-07 18:17:14] VERBOSE[27142] pbx_variables.c: Setting global variable 'SIPDOMAIN' to '46.255.165.62'
[2017-03-07 18:17:14] VERBOSE[27142] res_pjsip_logger.c: <--- Transmitting SIP response (378 bytes) to UDP:77.135.117.214:5062 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.59:5062;rport=5062;received=77.135.117.214;branch=z9hG4bKPjb4021833-7764-4782-b119-9f8ef7c45357
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
From: <sip:0685765923@46.255.165.62>;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: <sip:0972579035@46.255.165.62>
CSeq: 27146 INVITE
Server: Asterisk PBX 13.14.0
Content-Length:  0


[2017-03-07 18:17:14] VERBOSE[27144] pbx_variables.c: Setting global variable 'SIPDOMAIN' to '46.255.165.62'
[2017-03-07 18:17:14] VERBOSE[30211][C-00000003] pbx.c: Executing [0972579035@Taxinergy:1] AGI("PJSIP/0685765923-00000000", "/prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php,40") in new stack
[2017-03-07 18:17:14] VERBOSE[30211][C-00000003] res_agi.c: Launched AGI Script /prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php
[2017-03-07 18:17:14] VERBOSE[27144] res_pjsip_logger.c: <--- Transmitting SIP response (376 bytes) to UDP:80.14.192.114:5062 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.92:5062;rport=5062;received=80.14.192.114;branch=z9hG4bKPj5797f43d-8154-4716-9cdf-96a4e0f46bb4
Call-ID: 4dd3c303-cfe9-4ff0-8a51-f4c9b207f3ec
From: <sip:0689178401@46.255.165.62>;tag=220a81fc-513b-42b9-b084-74b8a6873fa4
To: <sip:0972579035@46.255.165.62>
CSeq: 4257 INVITE
Server: Asterisk PBX 13.14.0
Content-Length:  0


[2017-03-07 18:17:14] VERBOSE[30265][C-00000004] pbx.c: Executing [0972579035@Taxinergy:1] AGI("PJSIP/0689178401-00000001", "/prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php,40") in new stack
[2017-03-07 18:17:14] VERBOSE[30265][C-00000004] res_agi.c: Launched AGI Script /prod-Asterisk-Client/SVI/Taxis/SVI_Taxi.php
[2017-03-07 18:17:15] VERBOSE[30211][C-00000003] res_agi.c: AGI Script Executing Application: (Background) Options: (/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-mode-ecoute-active)
[2017-03-07 18:17:15] VERBOSE[30265][C-00000004] res_agi.c: AGI Script Executing Application: (Background) Options: (/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-mode-ecoute-active)
[2017-03-07 18:17:15] VERBOSE[27142] res_pjsip_logger.c: <--- Transmitting SIP response (1290 bytes) to UDP:77.135.117.214:5062 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.59:5062;rport=5062;received=77.135.117.214;branch=z9hG4bKPjb4021833-7764-4782-b119-9f8ef7c45357
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
From: <sip:0685765923@46.255.165.62>;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: <sip:0972579035@46.255.165.62>;tag=4f19db80-49ef-44e4-a396-1ed322065cc5
CSeq: 27146 INVITE
Server: Asterisk PBX 13.14.0
Contact: <sip:46.255.165.62:5060>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length:   594

v=0
o=- 3697895834 3697895836 IN IP4 46.255.165.62
s=Asterisk
c=IN IP4 46.255.165.62
t=0 0
m=audio 10676 RTP/AVP 8 96
a=ice-ufrag:2f7b1fdf2598cbf1105b89355bf3e788
a=ice-pwd:66f845196444828f278227f668a02565
a=candidate:H7f000002 1 UDP 2130706431 127.0.0.2 10676 typ host
a=candidate:H2effa53e 1 UDP 2130706431 46.255.165.62 10676 typ host
a=candidate:H7f000002 2 UDP 2130706430 127.0.0.2 10677 typ host
a=candidate:H2effa53e 2 UDP 2130706430 46.255.165.62 10677 typ host
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

[2017-03-07 18:17:15] VERBOSE[27144] res_pjsip_logger.c: <--- Transmitting SIP response (1288 bytes) to UDP:80.14.192.114:5062 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.92:5062;rport=5062;received=80.14.192.114;branch=z9hG4bKPj5797f43d-8154-4716-9cdf-96a4e0f46bb4
Call-ID: 4dd3c303-cfe9-4ff0-8a51-f4c9b207f3ec
From: <sip:0689178401@46.255.165.62>;tag=220a81fc-513b-42b9-b084-74b8a6873fa4
To: <sip:0972579035@46.255.165.62>;tag=66ef3c0a-c4b2-4b13-b3c6-0f478920ad50
CSeq: 4257 INVITE
Server: Asterisk PBX 13.14.0
Contact: <sip:46.255.165.62:5060>
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800;refresher=uac
Require: timer
Content-Type: application/sdp
Content-Length:   594

v=0
o=- 3697895838 3697895840 IN IP4 46.255.165.62
s=Asterisk
c=IN IP4 46.255.165.62
t=0 0
m=audio 13740 RTP/AVP 8 96
a=ice-ufrag:10ce8bc60d0d9c7814b8870631424902
a=ice-pwd:7efe42615d2bc40834100fd36549a0e0
a=candidate:H7f000002 1 UDP 2130706431 127.0.0.2 13740 typ host
a=candidate:H2effa53e 1 UDP 2130706431 46.255.165.62 13740 typ host
a=candidate:H7f000002 2 UDP 2130706430 127.0.0.2 13741 typ host
a=candidate:H2effa53e 2 UDP 2130706430 46.255.165.62 13741 typ host
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ptime:20
a=maxptime:150
a=sendrecv

[2017-03-07 18:17:15] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (389 bytes) from UDP:77.135.117.214:5062 --->
ACK sip:46.255.165.62:5060 SIP/2.0
Via: SIP/2.0/UDP 77.135.117.214:5062;rport;branch=z9hG4bKPj63da7f50-e3dc-4b9e-b2b7-f2f9c291cd45
Max-Forwards: 70
From: sip:0685765923@46.255.165.62;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: sip:0972579035@46.255.165.62;tag=4f19db80-49ef-44e4-a396-1ed322065cc5
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
CSeq: 27146 ACK
Content-Length:  0


[2017-03-07 18:17:15] VERBOSE[30211][C-00000003] file.c: <PJSIP/0685765923-00000000> Playing '/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-mode-ecoute-active.slin' (language 'fr')
[2017-03-07 18:17:15] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (387 bytes) from UDP:80.14.192.114:5062 --->
ACK sip:46.255.165.62:5060 SIP/2.0
Via: SIP/2.0/UDP 80.14.192.114:5062;rport;branch=z9hG4bKPj2e1460d4-dfb5-479a-b33b-167233097a8d
Max-Forwards: 70
From: sip:0689178401@46.255.165.62;tag=220a81fc-513b-42b9-b084-74b8a6873fa4
To: sip:0972579035@46.255.165.62;tag=66ef3c0a-c4b2-4b13-b3c6-0f478920ad50
Call-ID: 4dd3c303-cfe9-4ff0-8a51-f4c9b207f3ec
CSeq: 4257 ACK
Content-Length:  0


[2017-03-07 18:17:15] VERBOSE[27140] res_pjsip_logger.c: <--- Received SIP request (1175 bytes) from UDP:77.135.117.214:5062 --->
UPDATE sip:46.255.165.62:5060 SIP/2.0
Via: SIP/2.0/UDP 77.135.117.214:5062;rport;branch=z9hG4bKPj24d3f11a-a3ef-49e3-b1fb-68b64724403b
Max-Forwards: 70
From: sip:0685765923@46.255.165.62;tag=fecfa46f-e146-42b8-bea2-3d11286d446c
To: sip:0972579035@46.255.165.62;tag=4f19db80-49ef-44e4-a396-1ed322065cc5
Contact: <sip:0685765923@77.135.117.214:5062;ob>;+sip.ice
Call-ID: 247f1648-321f-49d4-95c4-4990e2d73dd8
CSeq: 27147 UPDATE
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800;refresher=uac
Min-SE: 90
Content-Type: application/sdp
Content-Length:   590

v=0
o=- 3697895834 3697895835 IN IP4 77.135.117.214
s=pjmedia
b=AS:84
t=0 0
a=X-nat:8
m=audio 40577 RTP/AVP 8 96
c=IN IP4 77.135.117.214
b=TIAS:64000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-16
a=ice-ufrag:18cd4346
a=ice-pwd:3b06c323
a=rtcp:37370 IN IP4 77.135.117.214
a=candidate:Sc0a8013b 1 UDP 1862270975 77.135.117.214 40577 typ srflx raddr 192.168.1.59 rport 40577
a=candidate:Sc0a8013b 2 UDP 1862270974 77.135.117.214 37370 typ srflx raddr 192.168.1.59 rport 37370
a=remote-candidates:1 46.255.165.62 10676 2 46.255.165.62 10677
a=sendrecv

[2017-03-07 18:17:15] VERBOSE[30265][C-00000004] file.c: <PJSIP/0689178401-00000001> Playing '/prod-Asterisk-Client/SVI/Taxis/Sounds/taxinergy-mode-ecoute-active.slin' (language 'fr')
[2017-03-07 18:17:15] VERBOSE[30211][C-00000003] res_rtp_asterisk.c: 0x7f4c340b6d80 -- Probation passed - setting RTP source address to 77.135.117.214:40577
[2017-03-07 18:23:14] Asterisk 13.14.0 built by root @ v2118 on a x86_64 running Linux on 2017-03-06 09:09:39 UTC
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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