Displaying 1 result from an estimated 1 matches for "ast_md5_hash".
2010 Sep 01
2
* and mj
...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.000000000 -0700
+++ new/channels/chan_sip.c 2009-08-22 13:47:29.000000000 -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"))
+ {
+...