[OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
When editing the Makefile to enable aaa_radius or b2b_logic and then executing make all I continue to receive the following error: make[1]: *** [aaa_radius.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/aaa_radius' make: *** [modules] Error 2 make[1]: *** [b2b_logic.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/b2b_logic' make: *** [modules] Error 2 Does anyone know what causes this? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
I think there were more error strings in log during compile process. Show all error strings. -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Mark Holloway Sent: Wednesday, July 06, 2011 11:23 AM To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile When editing the Makefile to enable aaa_radius or b2b_logic and then executing make all I continue to receive the following error: make[1]: *** [aaa_radius.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/aaa_radius' make: *** [modules] Error 2 make[1]: *** [b2b_logic.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.0-tls/modules/b2b_logic' make: *** [modules] Error 2 Does anyone know what causes this? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] How to call a default route on Drouting
Yes Bogdan, that's what I did. Thanks, Joel -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-call-a-default-route-on-Drouting-tp6524285p6553710.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Softphone that sends the SDP 'bandwidth' parameter?
Hello. I know this isn't really openSIPS related, but I don't have anywhere else to ask. Does anyone know a softphone that sends the SDP bandwidth parameter? I know Ekiga sends it, but unfortunately it has some bugs when it uses a proxy :(. Linphone and Twinkle don't seem to send it. So, does anyone know a softphone that does? Or how to enable sending a bw parameter in the SIP messages? OR, could I somehow make openSIPS calculate the call's estimated bandwidth? Thanks! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In file included from records.h:36, from b2b_logic.c:41: You should install libxml development (libxml2-dev) package in your OS. -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Mark Holloway Sent: Wednesday, July 06, 2011 3:14 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile Here is the complete output for b2b_logic Compiling b2b_logic.c gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='b2b_logic' -DNAME='opensips' -DVERSION='1.6.0-notls' -DARCH='i386' -DOS='linux' -DCOMPILER='gcc 4.1.2' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='/usr/local/etc/opensips/' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -c b2b_logic.c -o b2b_logic.o b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In file included from records.h:36, from b2b_logic.c:41: b2b_logic.h:55: error: expected specifier-qualifier-list before ‘xmlNodePtr’ b2b_logic.h:67: error: expected specifier-qualifier-list before ‘xmlDocPtr’ In file included from b2b_logic.c:41: records.h:92: error: expected declaration specifiers or ‘...’ before ‘xmlNodePtr’ In file included from b2b_logic.c:42: pidf.h:32: error: expected ‘)’ before ‘node’ pidf.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmlNodeGetChildByName’ pidf.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmlDocGetNodeByName’ pidf.h:38: error: expected ‘)’ before ‘root’ b2b_logic.c: In function ‘load_scenario’: b2b_logic.c:184: error: ‘xmlDocPtr’ undeclared (first use in this function) b2b_logic.c:184: error: (Each undeclared identifier is reported only once b2b_logic.c:184: error: for each function it appears in.) b2b_logic.c:184: error: expected ‘;’ before ‘doc’ b2b_logic.c:185: error: ‘xmlNodePtr’ undeclared (first use in this function) b2b_logic.c:185: error: expected ‘;’ before ‘node’ b2b_logic.c:188: error: expected ‘;’ before ‘rules_node’ b2b_logic.c:192: error: ‘doc’ undeclared (first use in this function) b2b_logic.c:192: warning: implicit declaration of function ‘xmlParseFile’ b2b_logic.c:203: warning: implicit declaration of function ‘xmlFreeDoc’ b2b_logic.c:213: warning: implicit declaration of function ‘xmlNodeGetAttrContentByName’ b2b_logic.c:236: warning: implicit declaration of function ‘xmlFree’ b2b_logic.c:243: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:243: warning: implicit declaration of function ‘xmlDocGetNodeByName’ b2b_logic.c:244: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:251: error: ‘node’ undeclared (first use in this function) b2b_logic.c:258: error: ‘rules_node’ undeclared (first use in this function) b2b_logic.c:258: warning: implicit declaration of function ‘xmlNodeGetChildByName’ b2b_logic.c:264: error: ‘request_node’ undeclared (first use in this function) b2b_logic.c:266: warning: implicit declaration of function ‘xmlStrcasecmp’ b2b_logic.c:279: error: ‘rule_node’ undeclared (first use in this function) b2b_logic.c:291: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c:291: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:292: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:313: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:314: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:317: warning: implicit declaration of function ‘xmlNodeGetNodeContentByName’ b2b_logic.c:317: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:337: error: ‘b2b_rule_t’ has no member named ‘action_node’ b2b_logic.c:344: error: ‘b2b_scenario_t’ has no member named ‘doc’ b2b_logic.c:345: error: ‘b2b_scenario_t’ has no member named ‘next’ b2b_logic.c:359: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:363: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c:368: error: ‘b2b_scenario_t’ has no member named ‘reply_rules’ b2b_logic.c:372: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c: In function ‘mod_destroy’: b2b_logic.c:403: error: ‘b2b_scenario_t’ has no member named ‘next’ b2b_logic.c:406: error: ‘b2b_scenario_t’ has no member named ‘doc’ b2b_logic.c:414: error: ‘b2b_scenario_t’ has no member named ‘next’ b2b_logic.c:416:
Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile
Thanks, that was a simple fix. On Jul 6, 2011, at 4:21 AM, Denis Putyato wrote: b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In file included from records.h:36, from b2b_logic.c:41: You should install libxml development (libxml2-dev) package in your OS. -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Mark Holloway Sent: Wednesday, July 06, 2011 3:14 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] aaa_radius and b2b_logic modules will not compile Here is the complete output for b2b_logic Compiling b2b_logic.c gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='b2b_logic'-DNAME='opensips' -DVERSION='1.6.0-notls' -DARCH='i386' -DOS='linux' -DCOMPILER='gcc 4.1.2' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='/usr/local/etc/opensips/' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -c b2b_logic.c -o b2b_logic.o b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In file included from records.h:36, from b2b_logic.c:41: b2b_logic.h:55: error: expected specifier-qualifier-list before ‘xmlNodePtr’ b2b_logic.h:67: error: expected specifier-qualifier-list before ‘xmlDocPtr’ In file included from b2b_logic.c:41: records.h:92: error: expected declaration specifiers or ‘...’ before ‘xmlNodePtr’ In file included from b2b_logic.c:42: pidf.h:32: error: expected ‘)’ before ‘node’ pidf.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmlNodeGetChildByName’ pidf.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xmlDocGetNodeByName’ pidf.h:38: error: expected ‘)’ before ‘root’ b2b_logic.c: In function ‘load_scenario’: b2b_logic.c:184: error: ‘xmlDocPtr’ undeclared (first use in this function) b2b_logic.c:184: error: (Each undeclared identifier is reported only once b2b_logic.c:184: error: for each function it appears in.) b2b_logic.c:184: error: expected ‘;’ before ‘doc’ b2b_logic.c:185: error: ‘xmlNodePtr’ undeclared (first use in this function) b2b_logic.c:185: error: expected ‘;’ before ‘node’ b2b_logic.c:188: error: expected ‘;’ before ‘rules_node’ b2b_logic.c:192: error: ‘doc’ undeclared (first use in this function) b2b_logic.c:192: warning: implicit declaration of function ‘xmlParseFile’ b2b_logic.c:203: warning: implicit declaration of function ‘xmlFreeDoc’ b2b_logic.c:213: warning: implicit declaration of function ‘xmlNodeGetAttrContentByName’ b2b_logic.c:236: warning: implicit declaration of function ‘xmlFree’ b2b_logic.c:243: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:243: warning: implicit declaration of function ‘xmlDocGetNodeByName’ b2b_logic.c:244: error: ‘b2b_scenario_t’ has no member named ‘init_node’ b2b_logic.c:251: error: ‘node’ undeclared (first use in this function) b2b_logic.c:258: error: ‘rules_node’ undeclared (first use in this function) b2b_logic.c:258: warning: implicit declaration of function ‘xmlNodeGetChildByName’ b2b_logic.c:264: error: ‘request_node’ undeclared (first use in this function) b2b_logic.c:266: warning: implicit declaration of function ‘xmlStrcasecmp’ b2b_logic.c:279: error: ‘rule_node’ undeclared (first use in this function) b2b_logic.c:291: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c:291: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:292: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:313: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:314: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:317: warning: implicit declaration of function ‘xmlNodeGetNodeContentByName’ b2b_logic.c:317: error: ‘b2b_rule_t’ has no member named ‘cond_node’ b2b_logic.c:337: error: ‘b2b_rule_t’ has no member named ‘action_node’ b2b_logic.c:344: error: ‘b2b_scenario_t’ has no member named ‘doc’ b2b_logic.c:345: error: ‘b2b_scenario_t’ has no member named ‘next’ b2b_logic.c:359: error: ‘b2b_scenario_t’ has no member named ‘request_rules’ b2b_logic.c:363: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c:368: error: ‘b2b_scenario_t’ has no member named ‘reply_rules’ b2b_logic.c:372: error: ‘b2b_rule_t’ has no member named ‘next’ b2b_logic.c: In function ‘mod_destroy’: b2b_logic.c:403: error: ‘b2b_scenario_t’ has no
[OpenSIPS-Users] What is new in OpenSIPS 1.7.0
Hi all, As promised, here is a compiled list with what is new in OpenSIPS 1.7.0 version: http://www.opensips.org/Main/Ver170 It was a tremendous job to go through all SVN commits, to filter the relevant changes (for users) and I hope nothing was left over - if so, please let me know. Also, we will start to generate the migration docs and script - they will be uploaded asap. Regards, Bogdan -- Bogdan-Andrei Iancu OpenSIPS solutions and know-how ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] memory errors, too many transactions
Hi Anca, I had the same issue last night. My script is as follow: * if (subst_uri('/^sip:([0-9]+)@(.*)$/$json(cs/fwd_domainport)/i')){ if ($var(debug_level) 3) { xlog([leg2]LOG: We got: BillingID=$avp(s:billing_id) , Provider RateID=$avp(s:prov_raterec_id) , SrcipID=$avp(s:srcip_id) , Termination GW ID=$avp(s:prov_termgw_id)\n); } } b2b_init_request(top hiding); xlog(Saving to $avp(i:99): $json(cs)\n);* and my log says: *Jul 6 01:00:03 db01 opensips-leg2: [leg2]LOG: We got: BillingID=null , Provider RateID=null , SrcipID=null , Termination GW ID=null Jul 6 01:00:03 db01 opensips-leg2: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation Jul 6 01:00:03 db01 opensips-leg2: ERROR:core:parse_headers: pkg memory allocation failed Jul 6 01:00:03 db01 opensips-leg2: ERROR:b2b_logic:init_request: failed to parse message Jul 6 01:00:03 db01 opensips-leg2: Saving to null: { orig_callid: 2524605-3518920775-311...@domain.net, fwd_domainport: sip:16414656...@nnn.nnn.nnn.nnn:5060, billing_id: 1, prov_raterec_id: 2, srcip_id: 1, prov_termgw_id: 11, ani: , display_name: }* I had those errors for every single call attempt. It seems this happens on: *b2b_init_request(top hiding); *I had to restart the B2B to get rid of the issue. After the restart, here is how the same log looks like: *Jul 6 07:51:27 db01 opensips-leg2: [leg2]LOG: We got: BillingID=null , Provider RateID=null , SrcipID=null , Termination GW ID=null Jul 6 07:51:27 db01 opensips-leg2: [leg2][xxx.xxx.xxx.xxx]=LOCAL_ROUTE (INVITE - null) - CallID=B2B.131.4459132 , Term=nnn.nnn.nnn.nnn = Jul 6 07:51:27 db01 opensips-leg2: Saving to 131.0: { orig_callid: 2529570-3518945466-704...@domain.net, fwd_domainport: sip:16414656...@nnn.nnn.nnn.nnn:5060, billing_id: 1, prov_raterec_id: 2, srcip_id: 1, prov_termgw_id: 11, ani: , display_name: }* Here is my local route: *local_route { $var(debug_level) = 10; if (is_present_hf(LEG1CID)) xlog(LEG1CID AFTER TOP HIDING\n); if ($var(debug_level) 2) { xlog([leg2][$si]=LOCAL_ROUTE ($rm - $rr) - CallID=$ci , Term=$rd =\n); } if (is_method(ACK) $ci=~B2B\.[0-9]+\.[0-9]+) { route(19); } else if (is_method(BYE) $ci=~B2B\.[0-9]+\.[0-9]+ src_ip== **xxx.xxx.xxx.xxx**) { route(91); } }* Any idea?* Thanks -- Kamen* On 4 May 2011 11:45, Anca Vamanu a...@opensips.org wrote: ** Hi Jeff, Is this with B2BUA? I have a report with a complex b2b scenario and transactions hanged in memory. Regards, Anca On 29/04/11 16:28, Jeff Pyle wrote: Hello, Everything is running along just fine for weeks on 1.6.4, and then *bam*, this shows up in the logs: /usr/sbin/opensips[12290]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation /usr/sbin/opensips[12290]: ERROR:tm:insert_tmcb: no more shared memory /usr/sbin/opensips[12290]: ERROR:uac:replace_uri: failed to install TM callback /usr/sbin/opensips[12284]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation /usr/sbin/opensips[12284]: ERROR:core:new_avp: no more shm mem /usr/sbin/opensips[12284]: ERROR:core:add_avp: Failed to create new avp structure /usr/sbin/opensips[12306]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation /usr/sbin/opensips[12306]: ERROR:tm:new_t: out of mem /usr/sbin/opensips[12302]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation /usr/sbin/opensips[12302]: ERROR:tm:relay_reply: no more share memory /usr/sbin/opensips[12284]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation /usr/sbin/opensips[12294]: WARNING:core:fm_malloc: Not enough free memory, will atempt defragmenation /usr/sbin/opensips[12284]: ERROR:core:new_avp: no more shm mem /usr/sbin/opensips[12284]: ERROR:core:add_avp: Failed to create new avp structure /usr/sbin/opensips[12306]: ERROR:tm:t_newtran: new_t failed /usr/sbin/opensips[12294]: ERROR:tm:relay_reply: no more share memory Hundreds of lines like it. This is just a sample. But, it did not crash. I have shared memory set to 32M. Normally I run less than 8M used. After this event the max_used_size was at 32M, but the real_used_size was around 24M. And it wasn't changing. Strange. My first thought was a DoS attack but a pcap I took right after looked normal. Normally this proxy runs anywhere from 70-150 transactions in progress at any given moment. After this event, it was stuck at right around 1300. Things seemed to be processing; no symptoms on outbound calls. Very strange. I restarted Opensips and everything seems normal. I'm not sure where to begin on this one. I'm not sure if the shared memory problem was a symptom or a cause. In the few years I've been working with Opensips I've never seen anything like this. Any direction from the list
Re: [OpenSIPS-Users] What is new in OpenSIPS 1.7.0
On Wed, Jul 6, 2011 at 6:43 AM, Bogdan-Andrei Iancu bog...@opensips.orgwrote: Hi all, As promised, here is a compiled list with what is new in OpenSIPS 1.7.0 version: http://www.opensips.org/Main/**Ver170http://www.opensips.org/Main/Ver170 It was a tremendous job to go through all SVN commits, to filter the relevant changes (for users) and I hope nothing was left over - if so, please let me know. Bogdan Team, This is a great collection of updates. Thanks and nice work!! -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Problem with notification on presence module
Hi all, I use presence and presence_mwi modules to send notify to my user when i receive a publish request. All work well but after a few minutes, despite i send publish, my user isn't notify anymore. When i look into the presentity table i can see my request publish is stored. When i unsubscribe/subscribe again i have the notify. I need help to understand why my notifications aren't be sent after few minutes ??? For information, i have an expiration time to 3600s in my request subscription. Thanks in advance Regards, Nico ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Add Q Value to current SIP URI
http://www.opensips.org/Resources/DocsCoreVar#toc74 Works like a charm. Thanks guys. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Add-Q-Value-to-current-SIP-URI-tp6535178p6555064.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] OpenXCAP - Picture change isn't updated on subscribers client
I have two users that are on each others buddy list. When I first set my picture for each account the other client received the update and shows the picture for the buddy. Yet when I change one of the buddy's pictures the other client doesn't see the update at all. I have to restart the client in order to see the new picture. Shouldn't the client get a notify that the picture has been changed? Here is what I see with a sip trace and in the logs for opensips-mi-proxy U 2011/07/06 15:57:38.632522 173.***.***.107:5060 - 173.***.***.107:5060 PUBLISH sip:9013349...@irock.com SIP/2.0. Via: SIP/2.0/UDP 173.***.***.107;branch=z9hG4bK99e2.919f2756.0. To: sip:9013349...@irock.com. From: sip:9013349...@irock.com;tag=7f52cb3e6dec11c1ad243ecbf6ce451d-9f79. CSeq: 10 PUBLISH. Call-ID: 7ef3ba861a17870f-6376@173.***.***.107. Content-Length: 342. User-Agent: OpenSIPS (1.7.0-beta-notls (x86_64/linux)). Max-Forwards: 70. Event: xcap-diff. Expires: 3601. SIP-If-Match: a.1309969763.6378.61.5. Content-Type: application/xcap-diff+xml. . ?xml version=1.0 encoding=UTF-8? xcap-diff xmlns=urn:ietf:params:xml:ns:xcap-diff xcap-root=http://xcap.ae.com/xcap-root; document sel=http://xcap.ae.com/xcap-root/oma_status-icon/users/sip:9013349...@irock.com/sip_communicator; previous-etag=4f3371ea56c3334abdb400c52dc8178c/ /xcap-diff # U 2011/07/06 15:57:38.839863 173.***.***.107:5060 - 173.***.***.107:5060 SIP/2.0 200 OK. Via: SIP/2.0/UDP 173.***.***.107;branch=z9hG4bK99e2.919f2756.0. To: sip:9013349...@irock.com;tag=31ec65e482de21ae66d7d44df69d3d8c-bb79. From: sip:9013349...@irock.com;tag=7f52cb3e6dec11c1ad243ecbf6ce451d-9f79. CSeq: 10 PUBLISH. Call-ID: 7ef3ba861a17870f-6376@173.***.***.107. Expires: 3600. SIP-ETag: a.1309969763.6381.74.6. Server: ae SIP Proxy. Content-Length: 0. . # U 2011/07/06 15:57:39.081512 173.***.***.107:5060 - 173.***.***.107:5060 PUBLISH sip:9013349...@irock.com SIP/2.0. Via: SIP/2.0/UDP 173.***.***.107;branch=z9hG4bKa9d7.5d802e37.0. To: sip:9013349...@irock.com. From: sip:9013349...@irock.com;tag=7f52cb3e6dec11c1ad243ecbf6ce451d-736d. CSeq: 10 PUBLISH. Call-ID: 7ef3ba861a17871a-6378@173.***.***.107. Content-Length: 337. User-Agent: OpenSIPS (1.7.0-beta-notls (x86_64/linux)). Max-Forwards: 70. Event: xcap-diff. Expires: 3601. SIP-If-Match: a.1309969763.6381.74.6. Content-Type: application/xcap-diff+xml. . ?xml version=1.0 encoding=UTF-8? xcap-diff xmlns=urn:ietf:params:xml:ns:xcap-diff xcap-root=http://xcap.ae.com/xcap-root; document new-etag=2a446ef8264b9e6b8b0b3d8ec8a09fd8 sel=http://xcap.ae.com/xcap-root/oma_status-icon/users/sip:9013349...@irock.com/sip_communicator/ /xcap-diff # U 2011/07/06 15:57:39.120220 173.***.***.107:5060 - 173.***.***.107:5060 SIP/2.0 200 OK. Via: SIP/2.0/UDP 173.***.***.107;branch=z9hG4bKa9d7.5d802e37.0. To: sip:9013349...@irock.com;tag=31ec65e482de21ae66d7d44df69d3d8c-a511. From: sip:9013349...@irock.com;tag=7f52cb3e6dec11c1ad243ecbf6ce451d-736d. CSeq: 10 PUBLISH. Call-ID: 7ef3ba861a17871a-6378@173.***.***.107. Expires: 3600. SIP-ETag: a.1309969763.6378.62.7. Server: ae SIP Proxy. Content-Length: 0. Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: Got XMLRPC request from 173.***.***.111: pua_publish (sip:9013349...@irock.com 3600 xcap-diff application/xc ap-diff+xml a.1309969763.6378.61.5 . ?xml version=1.0 encoding=UTF-8? Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: xcap-diff xmlns=urn:ietf:params:xml:ns:xcap-diff xcap-root=http://xcap.ae.com/xcap-ro ot Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: document sel=http://xcap.ae.com/xcap-root/oma_status-icon/users/sip:9013349...@irock.co m/sip_communicator previous-etag=4f3371ea56c3334abdb400c52dc8178c/ Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: /xcap-diff Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: ) Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: Got XMLRPC request from 173.***.***.111: pua_publish (sip:9013349...@irock.com 3600 xcap-diff application/xc ap-diff+xml a.1309969763.6378.61.5 . ?xml version=1.0 encoding=UTF-8? Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: xcap-diff xmlns=urn:ietf:params:xml:ns:xcap-diff xcap-root=http://xcap.ae.com/xcap-ro ot Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: document new-etag=2a446ef8264b9e6b8b0b3d8ec8a09fd8 sel=http://xcap.ae.com/xcap-root/o ma_status-icon/users/sip:9013349...@irock.com/sip_communicator/ Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: /xcap-diff Jul 6 15:57:38 proxy02 opensips-mi-proxy[16453]: ) ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] b2bl_from_spec_param documentation error
The name of this specific param is *_spec_param and not *_avp. It means that it will accept both avps and vars. Please re-test this, because last time when I tested it it was working. Regards, Ovidiu Sas On Tue, Jul 5, 2011 at 4:03 AM, Jayesh Nambiar jayesh.v...@gmail.com wrote: Hi All, Was just going through the progress in b2b modules in the devel version and was experimenting with it. I just figured that the documentation for b2bl_from_param_spec is wrongly documented here http://www.opensips.org/html/docs/modules/devel/b2b_logic.html#id250322. The correct syntax for specifying the parameter is: modparam(b2b_logic, b2bl_from_spec_param, $avp(b2bl_from)). I spent good 15 minutes figuring out the problem, might help other users who wish to try this out. --- Jayesh ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Errors in syslog with newest version of Opensips trunk
I am seeing some errors in my logs that I never saw with older versions of opensips. Not sure what they could be from. Jul 6 19:35:19 proxy02 /usr/local/sbin/opensips[7680]: CRITICAL:tm:register_tmcb: invalid callback types: mask=524288 Jul 6 19:35:19 proxy02 /usr/local/sbin/opensips[7680]: ERROR:siptrace:trace_onreq_in: can't register trace_onreq_out Jul 6 19:35:22 proxy02 /usr/local/sbin/opensips[7681]: ERROR:core:parse_to: unexpected end of header in state 0 Jul 6 19:35:22 proxy02 /usr/local/sbin/opensips[7681]: ERROR:dialog:extract_mangled_fromuri: bad from header [] Jul 6 19:41:09 proxy02 /usr/local/sbin/opensips[7680]: CRITICAL:tm:register_tmcb: invalid callback types: mask=524288 Jul 6 19:41:09 proxy02 /usr/local/sbin/opensips[7680]: ERROR:siptrace:trace_onreq_in: can't register trace_onreq_out Jul 6 19:41:10 proxy02 /usr/local/sbin/opensips[7682]: ERROR:core:parse_to: unexpected end of header in state 0 Jul 6 19:41:10 proxy02 /usr/local/sbin/opensips[7682]: ERROR:dialog:extract_mangled_touri: bad to header [] Jul 6 19:41:10 proxy02 /usr/local/sbin/opensips[7682]: ERROR:core:parse_to: unexpected end of header in state 0 Jul 6 19:41:10 proxy02 /usr/local/sbin/opensips[7682]: ERROR:dialog:extract_mangled_fromuri: bad from header [] Jul 6 19:43:01 proxy02 /usr/local/sbin/opensips[7682]: CRITICAL:tm:register_tmcb: invalid callback types: mask=524288 Jul 6 19:43:01 proxy02 /usr/local/sbin/opensips[7682]: ERROR:siptrace:trace_onreq_in: can't register trace_onreq_out Jul 6 19:43:01 proxy02 /usr/local/sbin/opensips[7682]: ERROR:mediaproxy:send_command: did timeout waiting for an answer Jul 6 19:43:02 proxy02 /usr/local/sbin/opensips[7682]: ERROR:core:parse_to: unexpected end of header in state 0 Jul 6 19:43:02 proxy02 /usr/local/sbin/opensips[7682]: ERROR:dialog:extract_mangled_fromuri: bad from header [] ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users