Raymond Chen writes:
After removing the _F from HDR, still a error during compilation
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall lcr_mod.c: In function `load_contacts':
...
lcr_mod.c:830: error: too many arguments to function `next_branch' lcr_mod.c:852: error: too many arguments to function `next_branch' make[1]: *** [lcr_mod.o] Error 1
ok, since i last time compiled lcr module for 0.9.0 it seems that iptel folks have added a new argument to next_branch function. just remove the last zero argument from the two function calls.
i'll make available a 0.9.0 version of lcr module on my web site shortly.
-- juha
Juha,
When you do make a ser-0.9 compatible version of LCR availble, please let me know. I'm using a version from the day you originally committed it to CVS.
Is the web site you referred to http://lohi.tutpro.com ??
Regards, Paul
On Fri, 4 Mar 2005 06:15:53 +0200, Juha Heinanen jh@lohi.tutpro.com wrote:
Raymond Chen writes:
After removing the _F from HDR, still a error during compilation
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall lcr_mod.c: In function `load_contacts':
...
lcr_mod.c:830: error: too many arguments to function `next_branch' lcr_mod.c:852: error: too many arguments to function `next_branch' make[1]: *** [lcr_mod.o] Error 1
ok, since i last time compiled lcr module for 0.9.0 it seems that iptel folks have added a new argument to next_branch function. just remove the last zero argument from the two function calls.
i'll make available a 0.9.0 version of lcr module on my web site shortly.
-- juha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Fri, 4 Mar 2005, Juha Heinanen wrote:
rel_0.9.0 version of lcr module is available as
http://tutpro.com/tmp/lcr-0.9.0.tgz
-- juha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Great,
Instead of using tag HEAD I now use rel_0_9_0 togheter with this version of lcr and it works fine.
0(25434) Fri Mar 4 04:21:37 2005 - <null>- INVITE Call-ID: 00036bc3-7aa53655-7b98e96c-700c2631@130.244.194.233 From: sip:0856204081@sip-corporate1.tele2.se To: sip:0890510@sip-corporate1.tele2.se 0(25434) Routeblock 2 - Calls from customers 0(25434) Call from customer: Test 0(25434) Call passed A-number check 0(25434) Routeblock 3 - To customer? 0(25434) Routeblock 4 - Call not to customer, to gateways 1(25438) Failureroute 1 - Get next gateway from LCR 1(25438) After next_gw() 1(25438) After t_on_failure 0(25434) ACC: transaction answered: method=INVITE, uid=n/a, call_id=00036bc3-7aa53655-7b98e96c-700c2631@130.244.194.233, from="0856204081" sip:0856204081@sip-corporate1.tele2.se;tag=00036bc37aa5010c60335bcd-0ee41656, to=sip:0890510@sip-corporate1.tele2.se;tag=2DEB4268-20F, i-uri=sip:0890510@sip-corporate1.tele2.se, o-uri=sip:0890510@128.244.188.14, code=200 0(25434) ACC: transaction answered: method=BYE, uid=n/a, call_id=00036bc3-7aa53655-7b98e96c-700c2631@130.244.194.233, from="0856204081" sip:0856204081@sip-corporate1.tele2.se;tag=00036bc37aa5010c60335bcd-0ee41656, to=sip:0890510@sip-corporate1.tele2.se;tag=2DEB4268-20F, i-uri=sip:130.244.190.42:5060;ftag=00036bc37aa5010c60335bcd-0ee41656;lr=on, o-uri=sip:0890510@130.244.188.14:5060, code=200
Best regards, Thomas Björklund
Thomas Björklund writes:
Instead of using tag HEAD I now use rel_0_9_0 togheter with this version of lcr and it works fine.
so most likely HEAD has some bug that causes the crash. there has been lots of new code introduced recently.
-- juha
Cheers guys, works a treat....even though I only have one GW entered as yet, I see to get a default catch all for every pstn number you leave prefix blank...is that correct I tried [0-9],%, etc etc, but blank seems to work.
Iqbal
On 3/4/2005, "Juha Heinanen" jh@lohi.tutpro.com wrote:
Thomas Björklund writes:
Instead of using tag HEAD I now use rel_0_9_0 togheter with this version of lcr and it works fine.
so most likely HEAD has some bug that causes the crash. there has been lots of new code introduced recently.
-- juha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Iqbal writes:
Cheers guys, works a treat....even though I only have one GW entered as yet, I see to get a default catch all for every pstn number you leave prefix blank...is that correct I tried [0-9],%, etc etc, but blank seems to work.
as the name says, prefix is a prefix. an empty prefix thus matches anything.
-- juha
u know sometime u just miss the logic...I guess if no prefix, then it matches...how simple can it get :-)
Iqbal
On 3/4/2005, "Juha Heinanen" jh@lohi.tutpro.com wrote:
Iqbal writes:
Cheers guys, works a treat....even though I only have one GW entered as yet, I see to get a default catch all for every pstn number you leave prefix blank...is that correct I tried [0-9],%, etc etc, but blank seems to work.
as the name says, prefix is a prefix. an empty prefix thus matches anything.
-- juha