(gdb) where #0 0x00182cab in _int_malloc () from /lib/tls/libc.so.6 #1 0x00181e9d in malloc () from /lib/tls/libc.so.6 #2 0x0032330c in __sip_reliable_xmit (p=0x994bfc0, seqno=50606, resp=1, data=0x999daf0 "\n", len=487, fatal=0, sipmethod=1) at chan_sip.c:1158 #3 0x003141c2 in send_response (p=0x994bfc0, req=0x994bfc0, reliable=50606, seqno=161078000) at chan_sip.c:1364 #4 0x00333bb8 in check_auth (p=0x994bfc0, req=0xb7463760, randdata=0x994c02c "1aa31526", randlen=80, username=0x993e1f8 "301", secret=0x993e26c "301", md5secret=0x993e2bc "", sipmethod=5, uri=0x999daf0 "\n", reliable=1, ignore=0) at chan_sip.c:942 #5 0x00336fac in check_user_full (p=0x994bfc0, req=0xb7463760, sipmethod=5, uri=0xb746397f "sip:7777@202.173.151.24", reliable=1, sin=0xb7463750, ignore=0, mailbox=0x0, mailboxlen=161078000) at chan_sip.c:6357 #6 0x0032ff9e in handle_request_invite (p=0x994bfc0, req=0xb7463760, debug=-1220135072, ignore=0, seqno=50606, sin=0x999daf0, recount=0x999daf0, e=0x999daf0 "\n") at chan_sip.c:6521 #7 0x00329b3c in handle_request (p=0x994bfc0, req=0xb7463760, sin=0xb7463750, recount=0x999daf0, nounlock=0x999daf0) at chan_sip.c:9959 #8 0x00327941 in sipsock_read (id=0x9937de0, fd=12, events=1, ignore=0x0) at chan_sip.c:10091 #9 0x08054afb in ast_io_wait (ioc=0x9934ac0, howlong=161078000) at io.c:272 #10 0x0031f53a in do_monitor (data=0x0) at chan_sip.c:10236 #11 0x00da7dec in start_thread () from /lib/tls/libpthread.so.0 ---Type to continue, or q to quit--- #12 0x001eda2a in clone () from /lib/tls/libc.so.6 (gdb) (gdb) (gdb) bt full #0 0x00182cab in _int_malloc () from /lib/tls/libc.so.6 No symbol table info available. #1 0x00181e9d in malloc () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0032330c in __sip_reliable_xmit (p=0x994bfc0, seqno=50606, resp=1, data=0x999daf0 "\n", len=487, fatal=0, sipmethod=1) at chan_sip.c:1158 pkt = (struct sip_pkt *) 0x246180 siptimer_a = 1000 res = 1 iabuf = "\000\000\000\000 \214\000\000\020h\221\t\207\002\f\b" #3 0x003141c2 in send_response (p=0x994bfc0, req=0x994bfc0, reliable=50606, seqno=161078000) at chan_sip.c:1364 res = 2037146209 iabuf = "192.168.1.50\000\201E·" tmp = {rlPart1 = 0x236f73 "", rlPart2 = 0x0, len = -1220184639, headers = 3425028, method = -1220185156, header = { 0x34021c "Non-codec capabilities: us - %s, peer - %s, combined - %s\n", 0xb7457e68 "È", 0xb7457584 "¨{E·Nf\025", 0x158f9c "\200½îúÿÿ", 0xb745714c "so#", 0xb74573bc "0x4 (ulae®\023", 0xb74571bc "0x1 (telephone-event)", 0xb7456fbc "0x8 (alaw)", 0x16f6fb "\201Ã\235a\r", 0x0, 0x20387830
, 0x616c6128
, ---Type to continue, or q to quit--- 0xb7002977
, 0x15664e "\213½´ûÿÿ\211ù)ñ9È\017\205\233óÿÿ\001\205Pûÿÿ\200?", 0xb745760c "", 0x33c3ad "\n", 0x1
, 0x17e4d2 "\213M\b\211A\024ë¦\215¶", 0x81082e0 "Reliably Transmitting (no NAT) to 192.168.1.50:5060:\nSIP/2.0 407 Proxy Authentication Required\r\nVia: SIP/2.0/UDP 192.168.1.50;branch=z9hG4bK2f760e5b5b765026\r\nFrom: ;"..., 0x33c392 "Found description format %s\n", 0x16f6fb "\201Ã\235a\r", 0x0, 0xb74575d4 "", 0x158f9c "\200½îúÿÿ", 0xb745719c "®Ã3", 0x15664e "\213½´ûÿÿ\211ù)ñ9È\017\205\233óÿÿ\001\205Pûÿÿ\200?", 0xb745763c "", 0x33c3ad "\n", 0x20640001
, 0x0 , 0xa
, 0x13c4
, 0x0, 0x0, 0x0, 0xb74570d4 "", 0x0, 0x2
, 0xb74576e4 "\001", 0xb7457504 "", 0x0, 0x33f89c "%s, port %d\n", 0x3c
, 0xffffffff
, 0x0, 0x0, 0x0, 0x0, 0x0, 0x20750000
, 0x0, 0x0, 0x0}, lines = 0, line = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xa
, 0x32
, 0x0, 0x0, 0x0, 0x33f8a8 "", 0x0, 0x0, 0x0, 0xb7457584 "¨{E·Nf\025", 0x0, 0x236f68 "%u.%u.%u.%u", 0xc
, 0xffffffff
, 0x0, 0x0, 0x0, 0x0, 0x0, ---Type to continue, or q to quit--- 0x0, 0x0, 0x0, 0xb7457140 "", 0x0, 0x0, 0xb74571a4 "", 0x0, 0x1
, 0xb74577b4 "", 0xb74575d4 "", 0x0, 0x33c3ab "%s\n", 0x29
, 0xffffffff
, 0x0, 0x0, 0x0, 0x236f73 "", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1000000 "\225", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, data = "\000\000\000\000®Ã3", '\0' , "0x1 (telephone-event)", '\0' , "e®\023\000}\234#\000\000\000\000\000\230X$\000TZ\000\000\000\000\000\000\230X$\000\220vE·!\000\000\000\224rE·#J\032\000\212\234#\000h[\221\t`rE·\204\033\016\bLsE·ô\213\027\000\212\234#\000\204\033\016\b\200sE·ÁuE·\000\000\000\000\000sE·`rE·\001\200­ûÁuE·ÁuE·\020\000\000\000\020\000\000\000Èa$\000\000\000\000\000´a$\000¸a$\000\233I\032\000\230X$\000\220vE·!\000\000\000 rE·"..., debug = 3384905} tmpmsg = '\0' , "M\213\027\000\230X$\000ÁuE·û\001\000\000hoE·\016\000\000\000!\000\000\000\020\000\000\000\035\000\000\000\a\000\000\000ûö\026\000\000\000\000\000so#\000\000\000\000\000\230uE·Nf\025\000´uE·" #4 0x00333bb8 in check_auth (p=0x994bfc0, req=0xb7463760, randdata=0x994c02c "1aa31526", randlen=80, username=0x993e1f8 "301", secret=0x993e26c "301", md5secret=0x993e2bc "", sipmethod=5, uri=0x999daf0 "\n", reliable=1, ignore=0) at chan_sip.c:942 res = -1 response = 0x340dfc "407 Proxy Authentication Required" reqheader = 0x999daf0 "\n" ---Type to continue, or q to quit--- respheader = 0x33c57b "Proxy-Authenticate" authtoken = 0xc5ae
#5 0x00336fac in check_user_full (p=0x994bfc0, req=0xb7463760, sipmethod=5, uri=0xb746397f "sip:7777@202.173.151.24", reliable=1, sin=0xb7463750, ignore=0, mailbox=0x0, mailboxlen=161078000) at chan_sip.c:6357 user = (struct sip_user *) 0x993e1f8 peer = (struct sip_peer *) 0x178bf4 of = 0x993e1f8 "301" from = " rpid = 0x993e1f8 "301" rpid_num = '\0' iabuf = "\000\000\000\000\003\000\000\000\000\000\000\000\000\000\000" res = 0 t = 0x999daf0 "\n" calleridname = '\0' tmpvar = (struct ast_variable *) 0x796c6261 v = (struct ast_variable *) 0x5 #6 0x0032ff9e in handle_request_invite (p=0x994bfc0, req=0xb7463760, debug=-1220135072, ignore=0, seqno=50606, sin=0x999daf0, recount=0x999daf0, e=0x999daf0 "\n") at chan_sip.c:6521 res = 1 c = (struct ast_channel *) 0x0 ---Type to continue, or q to quit--- gotdest = 0 af = {frametype = 5, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0} supported = 0x999daf0 "\n" required = 0xb746397f "sip:7777@202.173.151.24" required_profile = 161078000 #7 0x00329b3c in handle_request (p=0x994bfc0, req=0xb7463760, sin=0xb7463750, recount=0x999daf0, nounlock=0x999daf0) at chan_sip.c:9959 resp = {rlPart1 = 0x0, rlPart2 = 0x0, len = 0, headers = 0, method = 0, header = {0x0 }, lines = 0, line = { 0x0 }, data = '\0' , debug = 0} cmd = 0xc5ae
cseq = 0x796c6261
from = 0x796c6261
useragent = 0x796c6261
seqno = 50606 len = 5 ignore = 0 respid = 200 res = 0 iabuf = '\0' e = 0xb746397f "sip:7777@202.173.151.24" ---Type to continue, or q to quit--- #8 0x00327941 in sipsock_read (id=0x9937de0, fd=12, events=1, ignore=0x0) at chan_sip.c:10091 req = {rlPart1 = 0xb7463978 "INVITE", rlPart2 = 0xb746397f "sip:7777@202.173.151.24", len = 826, headers = 13, method = 5, header = {0xb7463978 "INVITE", 0xb74639ab "Via: SIP/2.0/UDP 192.168.1.50;branch=z9hG4bK2f760e5b5b765026", 0xb74639e9 "From: ;tag=0d93f9942798d7d8", 0xb7463a29 "To: ", 0xb7463a53 "Contact: ", 0xb7463a7f "Supported: replaces, timer", 0xb7463a9b "Call-ID: f58a7e2989588b50@192.168.1.50", 0xb7463ac3 "CSeq: 50606 INVITE", 0xb7463ad7 "User-Agent: Grandstream GXP2000 1.0.1.9", 0xb7463b00 "Max-Forwards: 70", 0xb7463b12 "Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK", 0xb7463b61 "Content-Type: application/sdp", 0xb7463b80 "Content-Length: 283", 0xb7463b95 "", 0x0 }, lines = 14, line = {0xb7463b97 "v=0", 0xb7463b9c "o=301 8000 8000 IN IP4 192.168.1.50", 0xb7463bc1 "s=SIP Call", 0xb7463bcd "c=IN IP4 192.168.1.50", 0xb7463be4 "t=0 0", 0xb7463beb "m=audio 5004 RTP/AVP 3 4 18 8 101", 0xb7463c0e "a=sendrecv", 0xb7463c1a "a=rtpmap:3 GSM/8000", 0xb7463c2f "a=rtpmap:4 G723/8000", 0xb7463c45 "a=rtpmap:18 G729/8000", 0xb7463c5c "a=rtpmap:8 PCMA/8000", ---Type to continue, or q to quit--- 0xb7463c72 "a=ptime:10", 0xb7463c7e "a=rtpmap:101 telephone-event/8000", 0xb7463ca1 "a=fmtp:101 0-11", 0xb7463cb2 "", 0x0 }, data = "INVITE\000sip:7777@202.173.151.24\000user=phone\000SIP/2.0\000\000Via: SIP/2.0/UDP 192.168.1.50;branch=z9hG4bK2f760e5b5b765026\000\000From: ;tag=0d93f9942798d7d8\000\000To: to continue, or q to quit--- fastrestart = 0 lastpeernum = -1 curpeernum = 14 reloading = 160647824 #11 0x00da7dec in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #12 0x001eda2a in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) (gdb)