[asterisk-users] Jin.
Thanks, Jeff Jones mailto:jeff.jjo...@gmail.com tel:12489068232 mobile:12486323130 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] (no subject)
Jjo Thanks, Jeff Jones mailto:jeff.jjo...@gmail.com tel:12489068232 mobile:12486323130 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] * and mj
Hello all, Has anyone have magicjack working with their asterisk? I had patched chan_sip.c with some code that allows asterisk to do the md5 hash that mjmd5 proxy does. * shows that it is registered with magicjack, but incoming calls are not even hitting my * box and outgoing calls get congestion. Here is my relevant configs. I did do a ton of google searching, but it all points to it should work. And I am stuck. I know my existing dial plan internally works, as it already works with my GV and ipkall. Any links or suggestions would be greatly appreciated. Thanks. A little snip of sip show peers magicjack/Exx0167.91.177.705070 OK (55 ms) I get this in the CLI -- Executing [12486323...@home-sip-int-in:1] Dial(SIP/jjonesip-0006, SIP/...@magicjack,30,r) in new stack == Using SIP RTP CoS mark 5 == Using UDPTL CoS mark 5 -- Called ...@magicjack -- Got SIP response 480 Temporarily Unavailable back from 67.91.177.70 -- SIP/magicjack-0007 is circuit-busy Sip.conf [general] useragent=MagicJack/2.0.554f (SJ Labs); incase they look at the UA of sip client register = Exx01:...@proxy1.detroit.talk4free.com:5070/1...@hom e-sip-int-in [magicjack] context=home-sip-int-in username=Exx01 authuser=Exx01 type=friend secret= port=5070 nat=no insecure=port,invite ;host=67.106.133.198 ; idk was in a howto host=proxy1.detroit.talk4free.com ;host=67.91.177.70 ; detroit proxy ;host=vms03.detroit.talk4free.com ;host=67.91.177.77 ; vms03.detroitproxy useragent=MagicJack/2.0.554f (SJ Labs) fromuser=Exx01 fromdomain=talk4free.com dtmfmode=rfc2833 ;dtmfmode=inband qualify=2000 canreinvite=no disallow=all allow=ulaw t38pt_udptl = no And the code I used to patch chan_sip.c --- old/channels/chan_sip.c 2009-08-13 10:24:40.0 -0700 +++ new/channels/chan_sip.c 2009-08-22 13:47:29.0 -0700 @@ -8535,6 +8535,32 @@ ast_md5_hash(a2_hash, a2); snprintf(resp, sizeof(resp), %s:%s:%s, a1_hash, usednonce, a2_hash); ast_md5_hash(resp_hash, resp); + + + /* To a Magicjack domain */ + if (strstr(uri,talk4free.com)) + { + char callid[256]; + char newnonce[256]; + char *c; + int i; + ast_copy_string(callid, p-callid, sizeof(callid)); + ast_copy_string(newnonce, p-nonce, sizeof(newnonce)); + + strcat(newnonce, _); + c = newnonce + strlen(newnonce); + char hex[2]; + hex[1] = 0; + for (i = 0; i 8; i++) { + hex[0] = newnonce[i]; + int x = strtol(hex, NULL, 16); + *c++ = callid[x]; + } + *c++ = 0; + + snprintf(resp,sizeof(resp),%s:%s:%s, a1_hash, newnonce, a2_hash); + ast_md5_hash(resp_hash, resp); + } } good_response = keys[K_RESP].s @@ -11658,6 +11684,31 @@ snprintf(resp,sizeof(resp),%s:%s:%s, a1_hash, p-nonce, a2_hash); ast_md5_hash(resp_hash, resp); + /* To a Magicjack domain */ + if (strstr(uri,talk4free.com)) + { + char callid[256]; + char newnonce[256]; + char *c; + int i; + ast_copy_string(callid, p-callid, sizeof(callid)); + ast_copy_string(newnonce, p-nonce, sizeof(newnonce)); + + strcat(newnonce, _); + c = newnonce + strlen(newnonce); + char hex[2]; + hex[1] = 0; + for (i = 0; i 8; i++) { + hex[0] = newnonce[i]; + int x = strtol(hex, NULL, 16); + *c++ = callid[x]; + } + *c++ = 0; + + snprintf(resp,sizeof(resp),%s:%s:%s, a1_hash, newnonce, a2_hash); + ast_md5_hash(resp_hash, resp); + } + /* only include the opaque string if it's set */ if (!ast_strlen_zero(p-opaque)) { snprintf(opaque, sizeof(opaque), , opaque=\%s\, p-opaque); -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Can anyone recoment T1/PRI provider in SouthOntario?
If you look hard enough in the outlook options, you would see that there is a threaded view. Look harder! On Fri, 2005-01-21 at 10:38 -0500, Nabeel Jafferali wrote: http://www.mixdown.ca/~andrew/dump/threaded_email.png is what a mailing list looks like to most people, and you can see why replying to a message, erasing its contents and starting an entirely new email about a different topic is frowned upon (yours is the highlighted message). I know this is OT, but can you recommend an email program for Windows that does something like that? ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] kind of urgent
On Fri, 2005-01-07 at 07:41 +1100, Howard Lowndes wrote: I have it running on a FC2 box and on a FC3 box - no probs. I have just found out why my S100U adaptor won't work though. Apparently the S100U driver (wcusb) won't work on 2.6.x kernels, only 2.4.x... Bummer. Hello, I saw that you have * running on fc3. Which kernel? I had it running on the older kernels, but not on 2.6.9-1.724_FC3smp. Did you have to do anything special besides the udev stuff? Any info or links would be great zaptel build bombs on me... /usr/src/zaptel/wcfxs.c: In function `wcfxs_interrupt': /usr/src/zaptel/wcfxs.c:473: sorry, unimplemented: inlining failed in call to 'wcfxs_proslic_check_hook': function body not available /usr/src/zaptel/wcfxs.c:810: sorry, unimplemented: called from here /usr/src/zaptel/wcfxs.c:474: sorry, unimplemented: inlining failed in call to 'wcfxs_proslic_recheck_sanity': function body not available /usr/src/zaptel/wcfxs.c:812: sorry, unimplemented: called from here /usr/src/zaptel/wcfxs.c:472: sorry, unimplemented: inlining failed in call to 'wcfxs_voicedaa_check_hook': function body not available /usr/src/zaptel/wcfxs.c:814: sorry, unimplemented: called from here /usr/src/zaptel/wcfxs.c: At top level: /usr/src/zaptel/wcfxs.c:2182: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2183: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2184: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2185: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2186: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2187: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2188: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2189: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) /usr/src/zaptel/wcfxs.c:2190: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552) make[2]: *** [/usr/src/zaptel/wcfxs.o] Error 1 make[1]: *** [_module_/usr/src/zaptel] Error 2 make[1]: Leaving directory `/lib/modules/2.6.9-1.724_FC3smp/build' make: *** [linux26] Error 2 Thanks, Jeff ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] OT: For Sale Cisco 7960 7905 IP Phones
What is the price you are asking for on both of the phones? Jeff On Fri, 2004-09-17 at 11:51, imail wrote: I have several new Cisco 7960 7905 IP Phones for sale. Phones come w/ the power cubes cables. If you're interested please e-mail me off list. Thanks, Jon ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users