#0 0xb6960fbf in sip_setoption (chan=0xb5964e58, option=12, data=0xb5a61d08, datalen=4) at chan_sip.c:4152 4152 res = ast_rtp_instance_set_write_format(p->rtp, *(int *) data); (gdb) bt #0 0xb6960fbf in sip_setoption (chan=0xb5964e58, option=12, data=0xb5a61d08, datalen=4) at chan_sip.c:4152 #1 0x080ba683 in ast_channel_setoption (chan=0xb5964e58, option=12, data=0xb5a61d08, datalen=4, block=0) at channel.c:7333 #2 0x080b1972 in set_format (chan=0xb5964e58, fmt=2, rawformat=0xb59651a8, format=0xb5965198, trans=0xb5964e9c, direction=1) at channel.c:4989 #3 0x080b1e6b in ast_set_write_format (chan=0xb5964e58, fmt=2) at channel.c:5064 #4 0x080f92e5 in ast_stopstream (tmp=0xb5964e58) at file.c:131 #5 0xb67e736d in playback_exec (chan=0xb5964e58, data=0xb5a63f9c "you-sound-cute") at app_playback.c:469 #6 0x0812d7a9 in pbx_exec (c=0xb5964e58, app=0xff6cf00, data=0xb5a63f9c "you-sound-cute") at pbx.c:1406 #7 0x08136139 in pbx_extension_helper (c=0xb5964e58, con=0x0, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=4, label=0x0, callerid=0xb592c728 "824", action=E_SPAWN, found=0xb5a66330, combined_find_spawn=1) at pbx.c:4102 #8 0x0813798c in ast_spawn_extension (c=0xb5964e58, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=4, callerid=0xb592c728 "824", found=0xb5a66330, combined_find_spawn=1) at pbx.c:4625 #9 0xb6842517 in _macro_exec (chan=0xb5964e58, data=0xb5a68d9c "directed-sip-call-pickup", exclusive=0) at app_macro.c:408 #10 0xb684373d in macro_exec (chan=0xb5964e58, data=0xb5a68d9c "directed-sip-call-pickup") at app_macro.c:581 #11 0x0812d7a9 in pbx_exec (c=0xb5964e58, app=0xffb2d90, data=0xb5a68d9c "directed-sip-call-pickup") at pbx.c:1406 #12 0x08136139 in pbx_extension_helper (c=0xb5964e58, con=0x0, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=2, label=0x0, callerid=0xb592c728 "824", action=E_SPAWN, found=0xb5a6b228, combined_find_spawn=1) at pbx.c:4102 #13 0x0813798c in ast_spawn_extension (c=0xb5964e58, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=2, callerid=0xb592c728 "824", found=0xb5a6b228, combined_find_spawn=1) at pbx.c:4625 #14 0x08138284 in __ast_pbx_run (c=0xb5964e58, args=0x0) at pbx.c:4723 #15 0x08139c59 in pbx_thread (data=0xb5964e58) at pbx.c:5058 #16 0x08187a54 in dummy_start (data=0xb59369f0) at utils.c:973 #17 0xb736f955 in start_thread (arg=0xb5a6bb70) at pthread_create.c:300 #18 0xb757ce7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 (gdb) bt full #0 0xb6960fbf in sip_setoption (chan=0xb5964e58, option=12, data=0xb5a61d08, datalen=4) at chan_sip.c:4152 res = -1 p = 0x0 __PRETTY_FUNCTION__ = "sip_setoption" #1 0x080ba683 in ast_channel_setoption (chan=0xb5964e58, option=12, data=0xb5a61d08, datalen=4, block=0) at channel.c:7333 __PRETTY_FUNCTION__ = "ast_channel_setoption" #2 0x080b1972 in set_format (chan=0xb5964e58, fmt=2, rawformat=0xb59651a8, format=0xb5965198, trans=0xb5964e9c, direction=1) at channel.c:4989 native = 2 native_fmt = 2 res = 268606704 from = "\034~\002\020\060Ïö\017\026ÕQ·(x\002\020ð\234\002\020\070\201~¶¸\034¦µµ\f\021\b\b\235\002\020\000\000\000\000\210\000\000\000ª\236\017\bðà·\t", '\000' , "N\000\000\000\000\000\000\000\030\210\002\020\230\005\000\000 C_·ô/_· C_·0Ïö\017¸\034¦µ½\vR·y\032\034\b8\201~¶8\201~¶\024R\226µø\034¦µªM\b\bð\234\002\020\000\000\000\000\b\000\000\000¼b\033\bð\234\002\020\070\201~¶(\035¦µÂÎ\n\bXN\226µð\234\002\020\000\000\000\000\001\000\000\000\061ë\033\b\000\000\000\000(\035¦µ L\b\b \235\002\020ÿÿÿÿ" to = "\031\062\067·\000r\030\b´8\002\020(\t\000\000¨\033¦µô/_·\024R\226µ0Ïö\017¨\033¦µ\026 X·(B\037\bp»¦µ\b\034¦µÊ\026\021\b(B\037\b\000\000\000\000\026ÕQ·\022\017\021\b(B\037\b¬\027\035\b\200\004\000\000¤\037\035\bD\037\035\b(B\037\b$\r¬\t²J\b\b\000\000\000\000\200\f¬\t\001", '\000' , "\200\f¬\t\021\006\000\000Ø\003\000\000 C_·ô/_· C_·0Ïö\017(\034¦µ½\vR·(\034¦µF\237X·8\201~¶\024R\226µX\034¦µ\213\a\021\b(x\002\020\070\201~¶X\034¦µO\006\021\b" __PRETTY_FUNCTION__ = "set_format" #3 0x080b1e6b in ast_set_write_format (chan=0xb5964e58, fmt=2) at channel.c:5064 No locals. #4 0x080f92e5 in ast_stopstream (tmp=0xb5964e58) at file.c:131 __PRETTY_FUNCTION__ = "ast_stopstream" #5 0xb67e736d in playback_exec (chan=0xb5964e58, data=0xb5a63f9c "you-sound-cute") at app_playback.c:469 back = 0x0 front = 0xb5a61dc0 "you-sound-cute" res = -1 mres = 0 tmp = 0xb5a61dc0 "you-sound-cute" option_skip = 0 option_say = 0 option_noanswer = 0 args = {argc = 1, argv = 0xb5a61dec, filenames = 0xb5a61dc0 "you-sound-cute", options = 0x0} __PRETTY_FUNCTION__ = "playback_exec" #6 0x0812d7a9 in pbx_exec (c=0xb5964e58, app=0xff6cf00, data=0xb5a63f9c "you-sound-cute") at pbx.c:1406 res = 0 u = 0xfff6b20 saved_c_appl = 0xffb2dc0 "Macro" saved_c_data = 0xb5a68d9c "directed-sip-call-pickup" __PRETTY_FUNCTION__ = "pbx_exec" #7 0x08136139 in pbx_extension_helper (c=0xb5964e58, con=0x0, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=4, label=0x0, callerid=0xb592c728 "824", action=E_SPAWN, found=0xb5a66330, combined_find_spawn=1) at pbx.c:4102 e = 0xff90880 app = 0xff6cf00 res = -1247387080 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb59651c4 "macro-directed-sip-call-pickup"} passdata = "you-sound-cute", '\000' , "c§Q·\000\000\000\000\000\000\000\000¾üP·\000\000\000\000\001\000\000\000¸_¦µ\001\000\000\000ô/_·\001\000\000\000\000\000\000\000dY¦µ\210âP·$_¦µ`Û\\·c§Q·\f_¦µ&>\204¶`Û\\·²âN·\005\000\000\000¸_¦µ\005\000\000\000ô/_·$_¦µ\225>\036\bø^¦µ²âN·$_¦µ\225>\036\b", '\000' , "ÿÿÿÿ", '\000' , "ÿÿÿÿ", '\000' , "0^¦µ\000\000\000\000vûÿÿ", '\000' ... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #8 0x0813798c in ast_spawn_extension (c=0xb5964e58, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=4, callerid=0xb592c728 "824", found=0xb5a66330, combined_find_spawn=1) at pbx.c:4625 No locals. #9 0xb6842517 in _macro_exec (chan=0xb5964e58, data=0xb5a68d9c "directed-sip-call-pickup", exclusive=0) at app_macro.c:408 c = 0xff8f3e8 e = 0xff90880 foundx = 1 s = 0x0 tmp = 0xb5a66270 "directed-sip-call-pickup" cur = 0x0 rest = 0x0 macro = 0xb5a66270 "directed-sip-call-pickup" fullmacro = "macro-directed-sip-call-pickup\000·´8\002\020p»¦µ\031\062\067·\000r\030\b´8\002\020(\t\000\000Hk¦µô/_·\024R\226µÀ-û\017Hk¦µ\026 X·" varname = '\000' , "@k¦µ\232q\021\b¡O7·p»¦µ\024R\226µ\030k¦µcZ\030\b'\036\067·ºj\030\b\031\062\067·cZ\030\b" runningapp = "Playback\000n", '\000' , ",k¦µ\000\000\000\000\070k¦µ0k¦µ4k¦µ, "\030h¦µ|\000\000\000ÊÕ]·ÀÕ]·Øf¦µ%f[·ÏÕ]·Èf¦µ\000\000\000\000\000\000\000\000X¿\036\b\003\000\000\000\001\000\000\000ô/_·P¿\036\bX¿\036\b8g¦µÿL[·\003\000\000\000\000\000\000\000X¿\036\b|\000\000\000êÃ-·àÃ-·(g¦µ%f[·ïÃ-·\030g¦µ\000\000\000\000\001\000\000\000¨Ê-·\v\000\000\000\001\000\000\000ô/"... oldargs = {0x0 } argc = 1 x = -1247384664 res = 0 oldexten = "74", '\000' oldpriority = 2 gosub_level = 0 pc = "2\000¦µ\225>\036\b", '\000' , "¾üP·", '\000' , "c§Q·\001zÿ\017Ül¦µ#\000\000\000Üi¦µ\001\000\000\000pj¦µ\001\000\000\000ô/_·" depthc = "1\000\036\bHi¦µ²âN·" oldcontext = "phones", '\000' inhangupc = 0x0 offset = -1247385400 depth = 0 maxdepth = 7 setmacrocontext = 1 autoloopflag = 512 inhangup = 0 tmp_subst = 0xfff53b0 save_macro_exten = 0x0 save_macro_context = 0x0 save_macro_priority = 0x0 save_macro_offset = 0x0 macro_store = 0xfff6b48 __PRETTY_FUNCTION__ = "_macro_exec" #10 0xb684373d in macro_exec (chan=0xb5964e58, data=0xb5a68d9c "directed-sip-call-pickup") at app_macro.c:581 No locals. #11 0x0812d7a9 in pbx_exec (c=0xb5964e58, app=0xffb2d90, data=0xb5a68d9c "directed-sip-call-pickup") at pbx.c:1406 res = 0 u = 0xfff6e98 saved_c_appl = 0x0 saved_c_data = 0x0 __PRETTY_FUNCTION__ = "pbx_exec" #12 0x08136139 in pbx_extension_helper (c=0xb5964e58, con=0x0, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=2, label=0x0, callerid=0xb592c728 "824", action=E_SPAWN, found=0xb5a6b228, combined_find_spawn=1) at pbx.c:4102 e = 0xb5d46978 app = 0xffb2d90 res = -1248670992 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb59651c4 "macro-directed-sip-call-pickup"} passdata = "directed-sip-call-pickup", '\000' , "¾üP·", '\000' , "c§Q·\000\000\000\000\000\000\000\000ÿÿÿÿ\000\000\000\000\001\000\000\000䮦µ\001\000\000\000ô/_·P®¦µê\205\033\b(®¦µ²âN·P®¦µé\205\033\b\001", '\000' , "\001", '\000' , "ÿÿÿÿ", '\000' , " ", '\000' , "\200­¦µ\000\000\000\000vûÿÿ", '\000' , "ýÿÿÿ\000\000\000\000\001\000\000\000\022\000O·\000\000\000\000é\205\033"... matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #13 0x0813798c in ast_spawn_extension (c=0xb5964e58, context=0xb59651c4 "macro-directed-sip-call-pickup", exten=0xb5965214 "s", priority=2, callerid=0xb592c728 "824", found=0xb5a6b228, combined_find_spawn=1) at pbx.c:4625 No locals. #14 0x08138284 in __ast_pbx_run (c=0xb5964e58, args=0x0) at pbx.c:4723 digit = 0 invalid = 0 timeout = 0 dst_exten = "\000\000\000@", '\000' , "¤c-·A¡^·ÊÕ]·¼±¦µô/_·X²¦µ¼±¦µÔ°¦µw\027Y·¼±¦µ\005\000\000\000Dá\201\tô/_·¼±¦µü°¦µD²¦µ\023\210-·¼±¦µX²¦µ", '\000' , "\005", '\000' , "\236æQ·", '\000' , "&\001\000\000@\t\000\000\000\000\000\000\\\000\000" pos = 0 found = 1 res = 0 autoloopflag = 0 error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #15 0x08139c59 in pbx_thread (data=0xb5964e58) at pbx.c:5058 c = 0xb5964e58 #16 0x08187a54 in dummy_start (data=0xb59369f0) at utils.c:973 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1221066764, 0, 4001536, -1247366248, 90073094, 2026546557}, __mask_was_saved = 0}}, __pad = {0xb5a6b454, 0x0, 0x0, 0x0}} __cancel_routine = 0x807a179 __cancel_arg = 0xb5a6bb70 not_first_call = 0 ret = 0x0 a = {start_routine = 0x8139c3a , data = 0xb5964e58, name = 0xb5964040 "pbx_thread", ' ' , "started at [ 5079] pbx.c ast_pbx_start()"} lock_info = 0x10022fa8 mutex_attr = {__size = "\001\000\000", __align = 1} #17 0xb736f955 in start_thread (arg=0xb5a6bb70) at pthread_create.c:300 __res = __ignore1 = __ignore2 = pd = 0xb5a6bb70 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1221066764, 0, 4001536, -1247365992, 90138630, 634012163}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = freesize = __PRETTY_FUNCTION__ = "start_thread" #18 0xb757ce7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 No locals. (gdb) quit