################ DIALPLAN SNIPPET exten => 7703,1,JabberSend(asterisk|jmls@my.testserver.com/Pandion|Message ID is ${UNIQUEID}) exten => 7703,2,Hangup() ################ START ASTERISK WITH R39248 [root@quebec asterisk-39248]# safe_asterisk [root@quebec asterisk-39248]# asterisk -r Asterisk SVN-trunk-r39248, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================= Connected to Asterisk SVN-trunk-r39248 currently running on quebec (pid = 27481) Verbosity is at least 3 ################ TRY SENDING A MESSAGE -- Executing [7703@from-sip:1] JabberSend("SIP/7710-09ef59e8", "asterisk|jmls@my.testserver.com/Pandion|Message ID is 1156092197.0") in new stack JABBER: asterisk OUTGOING: Message ID is 1156092197.0 -- Executing [7703@from-sip:2] Hangup("SIP/7710-09ef59e8", "") in new stack ################ MESSAGE WAS RECEIVED BY MY IM CLIENT quebec*CLI> exit ################ START ASTMANPROXY [root@quebec asterisk-39248]# astmanproxy & [1] 27578 [root@quebec asterisk-39248]# asterisk -r Asterisk SVN-trunk-r39248, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================= Connected to Asterisk SVN-trunk-r39248 currently running on quebec (pid = 27481) Verbosity is at least 3 ################ TRY SENDING A MESSAGE -- Executing [7703@from-sip:1] JabberSend("SIP/7710-09ef59e8", "asterisk|jmls@my.testserver.com/Pandion|Message ID is 1156092236.1") in new stack JABBER: asterisk OUTGOING: Message ID is 1156092236.1 -- Executing [7703@from-sip:2] Hangup("SIP/7710-09ef59e8", "") in new stack == Spawn extension (from-sip, 7703, 2) exited non-zero on 'SIP/7710-09ef59e8' ################ MESSAGE WAS RECEIVED BY MY IM CLIENT quebec*CLI> exit [2]+ Done astmanproxy ################ INSTALL r39272 [root@quebec asterisk-39248]# cd ../*39272 [root@quebec asterisk-39272]# make install > /dev/null [root@quebec asterisk-39272]# asterisk -r Asterisk SVN-trunk-r39272, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================= Connected to Asterisk SVN-trunk-r39248 currently running on quebec (pid = 27481) -- Remote UNIX connection Verbosity is at least 3 ################ STOP VERSION 39248 quebec*CLI> stop now quebec*CLI> Disconnected from Asterisk server Asterisk ended with exit status 0 Asterisk shutdown normally. ################ KILL ANY ASTMANPROXY SERVICE [root@quebec asterisk-39272]# killall astmanproxy ################ START ASTERISK r39272 [root@quebec asterisk-39272]# safe_asterisk [root@quebec asterisk-39272]# asterisk -r Asterisk SVN-trunk-r39272, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================= Connected to Asterisk SVN-trunk-r39272 currently running on quebec (pid = 28210) -- Remote UNIX connection Verbosity is at least 3 ################ TRY TO SEND A MESSAGE -- Executing [7703@from-sip:1] JabberSend("SIP/7710-0961eb80", "asterisk|jmls@my.testserver.com/Pandion|Message ID is 1156092307.0") in new stack quebec*CLI> JABBER: asterisk OUTGOING: Message ID is 1156092307.0 -- Executing [7703@from-sip:2] Hangup("SIP/7710-0961eb80", "") in new stack == Spawn extension (from-sip, 7703, 2) exited non-zero on 'SIP/7710-0961eb80' ################ MESSAGE WAS RECEIVED BY MY IM CLIENT quebec*CLI> exit ################ START ASTMANPROXY [root@quebec asterisk-39272]# astmanproxy & [1] 28307 [root@quebec asterisk-39272]# asterisk -r Asterisk SVN-trunk-r39272, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================= Connected to Asterisk SVN-trunk-r39272 currently running on quebec (pid = 28210) -- Remote UNIX connection Verbosity is at least 3 ################ TRY TO SEND A MESSAGE -- Executing [7703@from-sip:1] JabberSend("SIP/7710-0961f048", "asterisk|jmls@my.testserver.com/Pandion|Message ID is 1156092322.1") in new stack ################ MESSAGE FAILED: WAS NOT RECEIVED BY MY IM CLIENT - NOTE THAT THE HANGUP COMMAND (line 2) WAS NOT EXECUTED. quebec*CLI> stop now quebec*CLI> Disconnected from Asterisk server [1]+ Done astmanproxy Asterisk ended with exit status 0 Asterisk shutdown normally.