Re: [SR-Users] lookup(), received an $du

2010-05-12 Thread Andreas Granig
at the first sight, looking into the code, should be the same in 1.5. Are you sure is different? Practically the registrar/usrloc were touched just a bit, nothing in the lookup or save functionality. Hmmm... You're right, I'm not sure about 1.5, since I only used this version for

[SR-Users] presence_xml and xpath

2010-12-06 Thread Andreas Granig
Hi, I'm having troubles fetching an xpath from an xml document using presence_xml, so I probably do something wrong (using kamailio 3.0.x): $xml(x=doc) = '?xml version=1.0 encoding=utf-8?presence xmlns=urn:ietf:params:xml:ns:pidf entity=sip:t...@mydomain.comtuple

Re: [SR-Users] presence_xml and xpath

2010-12-06 Thread Andreas Granig
Hi Daniel, How is this actually supposed to work? What I'd like to do in the end is extracting for example the none from the basic-tag by specifying xpath:/presence/tuple/status/basic, which also returns an empty string now, also when appended with /text(). the problem is in between IETF and

Re: [SR-Users] presence_xml and xpath

2010-12-06 Thread Andreas Granig
On 12/06/2010 07:17 PM, Daniel-Constantin Mierla wrote: you can define many xml_ns parameters, each with different prefix. I guess the inner xmlns overwrites the other one in your sample xml document, so you have to use different prefix for that nodes: modparam(presence_xml, xml_ns,

[SR-Users] First public release of sip:provider Community Edition

2010-12-13 Thread Andreas Granig
Hi all, We at Sipwise are excited to announce the first public release of the sip:provider Community Edition (http://www.sipwise.com/products/spce/). It is a fully open-source SIP based Class5 VoIP soft-switch, providing every component an operator needs to offer VoIP services. It comes as a

[SR-Users] First public release of sip:provider Community Edition

2010-12-13 Thread Andreas Granig
Hi all, We at Sipwise are excited to announce the first public release of the sip:provider Community Edition (http://www.sipwise.com/products/spce/). It is a fully open-source SIP based Class5 VoIP soft-switch, providing every component an operator needs to offer VoIP services. It comes as a

Re: [SR-Users] SIP CE vmware and vbox image

2010-12-30 Thread Andreas Granig
Yeah, you probably have to activate VT (virtualization technology) in your BIOS settings. Andreas On 12/30/2010 07:07 PM, Graham Wooden wrote: Sounds like your VM Host (the physical machine) doesn't have the VT bit (I believe that is what it's called) set on the CPU's. VMWare needs this so it

Re: [SR-Users] SEMS 1.4.0 release

2011-03-15 Thread Andreas Granig
Hi SEMS-Team! On 03/15/2011 01:36 PM, Stefan Sayer wrote: We are happy to announce the availability of the SIP Express Media Server version 1.4.0. Congratulations for the great work, guys! Andreas signature.asc Description: OpenPGP digital signature

Re: [SR-Users] LCR defunct_gw use

2011-03-31 Thread Andreas Granig
Hi, On 03/31/2011 03:38 PM, Juha Heinanen wrote: Ricardo Martinez writes: This 408 response code is generated in the failure_route only? what if a gateway really answers a call with 408 because there was no answer from the client... this response is handled by the on_reply route , isn't?

[SR-Users] OT - Sipwise is hiring SIP and Web hackers

2011-04-11 Thread Andreas Granig
Hi guys, We're looking for experienced SIP (Kamailio, Sems) and Web (Perl/Catalyst, MySQL, HTML/CSS/jQuery) hackers to work on our sip:provider CE platform and their commercial counter-parts. It's on-site (Vienna/Austria), full-time (40h/week) positions, so please no consultancy or free-lancing

[SR-Users] Broken Via/reply-matching for natping OPTION

2011-04-20 Thread Andreas Granig
Hi, When kamailio-3.1 sends OPTIONS for natping, the Via branch is wrong, e.g: OPTIONS sip:192.168.51.1:5060 SIP/2.0. Via: SIP/2.0/UDP 127.0.0.1:5062;branch=0. Route: something Should be branch=z9hG4bKsomething instead of branch=0, right? When a reply comes back, like this... SIP/2.0 100

Re: [SR-Users] Broken Via/reply-matching for natping OPTION

2011-04-20 Thread Andreas Granig
Hi, On 04/20/2011 04:05 PM, Juha Heinanen wrote: for rfc3261 compliance, it needs to be 0. see 'about syn_branch' sr-users thread. That's my understanding now also, however it doesn't fix the (cosmetical - at least for me) branch=0 issue with locally generated OPTIONS requests in the

[SR-Users] Kamailio v3.1.3 in Action

2011-05-01 Thread Andreas Granig
Hi all, If you want to see a full-blown Kamailio v3.1.3 based open-source VoIP system in action, check our latest sip:provider CE v2.2-rc1, which has been released today: http://www.sipwise.com/news/announcements/spce-v2_2rc1-release/ It leverages the capabilities of Kamailio to build a quite

Re: [SR-Users] how to add RR with advertised_address in front of normal RR?

2011-05-22 Thread Andreas Granig
Hi Andrew, On 05/22/2011 03:40 PM, Andrew Pogrebennyk wrote: AFAIK kamailio rr module adds 2 RR headers (one with the inbound address and one with the outbound address) when your transaction comes with one interface/port and leaves via another. In EC2 the receive socket is the same as send

Re: [SR-Users] Multidomains - quick question

2011-05-31 Thread Andreas Granig
Hi, On 05/31/2011 03:04 PM, Lucas Alvarez wrote: Hi, if I want to register clients from outside of my local network, do I have to enable the domain module and add the external IP as a new domain? Depends on your configuration. The domain module just provides the functionality to check - based

[SR-Users] Incorrect registrar Expires handling

2011-06-02 Thread Andreas Granig
Hi, Found an interesting call-flow today where a client (pjsip) is behind NAT and behaves like this during registration (kamailio-3.1.3): REGISTER sip:somedomain.com Contact: sip:me@10.0.0.7:2001;ob Expires: 900 SIP/2.0 200 OK Contact:

Re: [SR-Users] Incorrect registrar Expires handling

2011-06-02 Thread Andreas Granig
Hi Daniel, On 06/02/2011 10:24 PM, Daniel-Constantin Mierla wrote: Hello, I looked in the code and the expires is taken from contact header parameter if present. Maybe you can run in higher debug level and see if you can spot something in the log messages that can give a lead. Well, the

Re: [SR-Users] Incorrect registrar Expires handling

2011-06-02 Thread Andreas Granig
Hi, On 06/03/2011 12:10 AM, Daniel-Constantin Mierla wrote: one more thing, what is the output of kamctl ul show? I want to see if it is a matter of building the contact header for reply or is in internal list of location records. Domain:: location table=512 records=1 max_slot=1 AOR::

[SR-Users] xhttp and dollar sign

2011-06-06 Thread Andreas Granig
Hi, Is it possible to somehow quote the $ sign in xhttp_send_reply() in order not to be interpreted by kamailio-3.1.3? Tried with \ and putting the whole body in single quotes, but I always get this error message during startup: ERROR: core [pvapi.c:720]: wrong char [$/36] in [${foo}] ERROR:

Re: [SR-Users] xhttp and dollar sign

2011-06-06 Thread Andreas Granig
Hi Daniel, On 06/06/2011 11:16 PM, Daniel-Constantin Mierla wrote: try this one: http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.1.x#pseudo-variable_marker Thanks alot! Andreas signature.asc Description: OpenPGP digital signature ___

[SR-Users] Content of $sndto(ip) is ip:port

2011-07-27 Thread Andreas Granig
Hi, Looks like in kam-3.1 the value of $sndto(ip) in onsend_route is ip:port, e.g. 1.2.3.4:5060 instead of just 1.2.3.4. Am I the only one experiencing this issue? Andreas signature.asc Description: OpenPGP digital signature ___ SIP Express Router

Re: [SR-Users] Content of $sndto(ip) is ip:port

2011-07-27 Thread Andreas Granig
Hi, I will backport right away. Thanks Daniel! signature.asc Description: OpenPGP digital signature ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] issue tracking system

2011-07-27 Thread Andreas Granig
+1 for Mantis. We use it as well (self-hosted) without any issues, both internally and for our customers. Andreas On 07/19/2011 08:05 PM, Alex Balashov wrote: We have been extremely happy with Mantis as a self-hosted approach. It is easy to use, yet has the sophistication and flexibility for a

Re: [SR-Users] Persistent dialog

2011-08-27 Thread Andreas Granig
Hi Timo, On 08/16/2011 07:59 PM, Timo Reimann wrote: On 16.08.2011 19:43, Timo Reimann wrote: So you'll either have to dig into the commit yourself and separate the fix, get a hold of my entire branch, or wait for 3.1.5 to release. ...or check out master: I just merged treimann/acc-cdr into

Re: [SR-Users] parse errors in rr-callback of path module

2011-09-13 Thread Andreas Granig
Hi, On 08/29/2011 10:27 PM, Daniel-Constantin Mierla wrote: No clue yet since I am not calling loose_route() for initial requests, like in the default config, so if there is an issue just with the case of pre-loaded Route, I couldn't spot it so far. Having the value of the parameters it tries

Re: [SR-Users] parse errors in rr-callback of path module

2011-09-14 Thread Andreas Granig
Hi Daniel, On 09/14/2011 08:30 AM, Daniel-Constantine Mierla wrote: Seems like the rr params value is not set properly. I looked in rr module and such case can happen indeed, but for the case when uri in rr does not match myself. Is this also in your case? I wonder anyhow why the callbacks

Re: [SR-Users] parse errors in rr-callback of path module

2011-09-14 Thread Andreas Granig
Hi, On 09/14/2011 10:42 AM, Daniel-Constantin Mierla wrote: Seems like the rr params value is not set properly. I looked in rr module and such case can happen indeed, but for the case when uri in rr does not match myself. Is this also in your case? I wonder anyhow why the callbacks are

Re: [SR-Users] parse errors in rr-callback of path module

2011-09-14 Thread Andreas Granig
Hi, On 09/14/2011 11:27 AM, Daniel-Constantin Mierla wrote: ok, I committed a fix to master and 3.1 branches: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=10eac9b125ff2a13a2ae240897a3f17bc1243c71 This has fixed my issue, thanks alot Daniel! Andreas signature.asc

[SR-Users] wt_timer, delayed replies and sendto error

2011-09-14 Thread Andreas Granig
Hi, Another funny thing I encountered lately is this: Client sends INVITE via kamailio (via dispatcher) to sems, gets back 100/200, sends another couple of INVITE with same CSeq (looks like retransmissions), gets back more 200, then sends ACKs for each of the 200 it got. Looks like a quite

Re: [SR-Users] wt_timer, delayed replies and sendto error

2011-09-16 Thread Andreas Granig
Hi, On 09/16/2011 09:10 AM, Daniel-Constantin Mierla wrote: It's actually an educated guess that this could be related to wt_timer, but I don't know what else it could be. what happens is that when transaction is active and tm is handling the replies, they are forwarded using the same socket

Re: [SR-Users] wt_timer, delayed replies and sendto error

2011-09-16 Thread Andreas Granig
Me again, On 09/16/2011 02:46 PM, Andreas Granig wrote: And this is what I'd need to add if I got you right: # the default reply route used when transaction is already gone onreply_route { if(reply from inside) force_send_socket(localhost); else force_send_socket(public

Re: [SR-Users] wt_timer, delayed replies and sendto error

2011-09-20 Thread Andreas Granig
Hi, On 09/20/2011 10:16 AM, Daniel-Constantin Mierla wrote: So is there actually a limitation on when I'm allowed to call force_send_socket()? Any way to force force_send_socket()? :) are you using a recent version of 3.1 branch? This was fixed with:

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Andreas Granig
Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Oct 10, 2011, at 3:34 PM, Andreas Granig agra...@sipwise.com wrote: Alex, We've had huge performance and stability issues with SEMS in the past as well, but together

[SR-Users] [OT] sip:provider CE v2.4 released

2011-12-05 Thread Andreas Granig
Ladies and Gentlemen, I'm happy to announce the official release of sip provider CE v2.4, an easy-to-use, free and open-source soft-switch built on top of Kamailio and Sems. As always, we provide a dead-simple installer to start from scratch, upgrade scripts from v2.2 and Virtualbox and VMware

Re: [SR-Users] Can the SBC (Kamailio 3.1.x and FreeSWITCH 1.0.6+) do Upper Registration?

2011-12-06 Thread Andreas Granig
Hi, On 12/06/2011 02:41 PM, edson.gomes.leme wrote: I need the following feature: Upper Registration - This feature forwards REGISTER requests sent from Client Phone to another server as configured at SBC. A client can send just one REGISTER request to SBC to register itself both at SBC and

Re: [SR-Users] How to test registration setting

2011-12-07 Thread Andreas Granig
Hi, On 12/07/2011 09:45 AM, Efelin Novak wrote: So is there any other common practice how to test registers? Is there any flag that can prevent storing location? Can I send 200 OK to these user in any other way? You can do sl_send_reply(200, Auth test ok) after www_authenticate(...) succeeds.

Re: [SR-Users] [Sems] [OT] sip:provider CE v2.4 released

2011-12-07 Thread Andreas Granig
Hello Stefan, On 12/07/2011 05:47 PM, Stefan Sayer wrote: thank you very much again for this great piece of work! I'm sure this is useful not only to newcomers, but both as a base to build on for the more experienced, and as reference on how to do things properly in many details - the way

[SR-Users] force_send_socket and IPv6

2011-12-14 Thread Andreas Granig
Hi, Is it possible to use force_send_socket() with an IPv6 address in Kamailio 3.1? I get the error ERROR: fix_actions: force_send_socket: could not resolve X:X:X:X:X:X:X:X:5060 where X:X:X:X:X:X:X:X is my IPv6 address. Another problem (not sure if it's a real problem but looks weird)

Re: [SR-Users] force_send_socket and IPv6

2011-12-14 Thread Andreas Granig
Hey Daniel, On 12/14/2011 06:00 PM, Daniel-Constantin Mierla wrote: is the ipv6 address in between square brackets (can you give exact usage of the foce_send_socket())? It should work as the bridging ipv4-ipv6 is using the same mechanism -- may be an issue with the exported function to

Re: [SR-Users] force_send_socket and IPv6

2011-12-14 Thread Andreas Granig
? Andreas On 12/14/2011 06:28 PM, Andreas Granig wrote: Hey Daniel, On 12/14/2011 06:00 PM, Daniel-Constantin Mierla wrote: is the ipv6 address in between square brackets (can you give exact usage of the foce_send_socket())? It should work as the bridging ipv4-ipv6 is using the same mechanism

[SR-Users] lcr module and IPv6

2011-12-15 Thread Andreas Granig
All, Just realized that lcr module does not support IPv6 yet. Is there already any work going on here? Otherwise we'd take this task over. Andreas signature.asc Description: OpenPGP digital signature ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Andreas Granig
Hi Daniel, On 12/15/2011 10:19 AM, Daniel-Constantin Mierla wrote: ERROR: tm [ut.h:295]: ERROR: uri2dst: failed to resolve [x::x] :unresolvable A or request (-7) Is there something I haven't considered yet? Why would it try a DNS lookup for this R-URI? is it failing over all or is the

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Andreas Granig
On 12/15/2011 11:10 AM, Andreas Granig wrote: On 12/15/2011 10:19 AM, Daniel-Constantin Mierla wrote: ERROR: tm [ut.h:295]: ERROR: uri2dst: failed to resolve [x::x] :unresolvable A or request (-7) Is there something I haven't considered yet? Why would it try a DNS lookup for this R

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Andreas Granig
, On 12/15/11 11:26 AM, Andreas Granig wrote: On 12/15/2011 11:10 AM, Andreas Granig wrote: On 12/15/2011 10:19 AM, Daniel-Constantin Mierla wrote: ERROR: tm [ut.h:295]: ERROR: uri2dst: failed to resolve [x::x] :unresolvable A or request (-7) Is there something I haven't considered yet

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Andreas Granig
So, to sum it up: If you want to use IPv6, use $fs instead of force_send_socket() (or maybe multihoming, haven't tried that yet), and set dns_try_ipv6=yes. Andreas signature.asc Description: OpenPGP digital signature ___ SIP Express Router (SER) and

[SR-Users] Suggestions for time utils

2011-12-19 Thread Andreas Granig
Hi, I'd like to implement a couple of helper functions for time handling, e.g. checking day of week, day of month etc. from within the kamailio config file. What would you prefer, a new module (timeutils maybe?) or adding it to cfgutils (there are already time-based functions there like sleep and

[SR-Users] rtpproxy and IP6 in c= line

2011-12-19 Thread Andreas Granig
Hi, Is there a flag in the rtpproxy module to force a change of the IP protocol field? When a call comes from an IPv4 endpoint and you do the bridging to IPv6, then the c= and o= lines contain the IPv6 address, but the address family is still IP4 (e.g. c=IN IP4 10.10.8.22 becomes c=IN IP4

Re: [SR-Users] rtpproxy and IP6 in c= line

2011-12-19 Thread Andreas Granig
Is there something special to be taken into consideration? I couldn't find any hints in the rtpproxy module that it tries or would try to set that correctly (kam-3.1.5). Actually there IS some handling for that in rtpproxy.c:alter_mediaip(), gonna figure out why it doesn't work for me :)

Re: [SR-Users] rtpproxy and IP6 in c= line

2011-12-19 Thread Andreas Granig
Solved, it was completely my fault. The rtpproxy daemon needs to pass back a flag indicating IP4/IP6 in its answer to the rtpproxy module of kamailio. Sorry bothering you! Andreas On 12/19/2011 05:16 PM, Andreas Granig wrote: Is there something special to be taken into consideration? I couldn't

Re: [SR-Users] force_send_socket and IPv6

2011-12-19 Thread Andreas Granig
Hi Marius, On 12/15/2011 05:47 PM, marius zbihlei wrote: I have attached an improved version (uses inet_pton instead of manually parsing the address) of the str2ip6 function that was failing initially. Can you test it against force_send_socket() with an IP address in the form

Re: [SR-Users] Suggestions for time utils

2011-12-19 Thread Andreas Granig
Hi Daniel, On 12/19/2011 07:29 PM, Daniel-Constantin Mierla wrote: I don't know what are all the functions you think of, but for the example provided above, config file does it easy right now. There is a pseudo-variable that gives broken-time attribute that can be used with avp_check(), iirc,

Re: [SR-Users] lcr module and IPv6

2011-12-20 Thread Andreas Granig
Hello Juha, On 12/15/2011 01:22 PM, Juha Heinanen wrote: Just realized that lcr module does not support IPv6 yet. Is there already any work going on here? Otherwise we'd take this task over. i don't know of such work. if you decide to do it, try to not cause any performance hit for current

Re: [SR-Users] lcr module and IPv6

2011-12-21 Thread Andreas Granig
On 12/21/2011 02:43 PM, Juha Heinanen wrote: We could argue whether to not support square brackets and just allow plain IP format, I've no strong opinions on that. We just wanted to make it as flexible as possible. i cannot comment on storing ipv6 address, because i don't know anything

[SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Andreas Granig
Hi, Could you please tell me which of the three timer processes (timer, slow timer or timer nh) is responsible for cleaning up the internal usrloc cache? Looks like every now and then the cleanup of the internal location cache is starting to fail. Funny thing is that expired locations are

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-22 Thread Andreas Granig
? Suggestions? Andreas On 12/22/2011 05:12 PM, Andreas Granig wrote: Hi, Could you please tell me which of the three timer processes (timer, slow timer or timer nh) is responsible for cleaning up the internal usrloc cache? Looks like every now and then the cleanup of the internal location

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-23 Thread Andreas Granig
Hi, On 12/23/2011 12:28 AM, Daniel-Constantin Mierla wrote: If someone is messing with the db, kamailio shouldn't try to correct admin mistakes. It was just an example, I haven't gone to all corner cases that can happen from human or (self or different) application errors. There were

Re: [SR-Users] Open Source billing

2012-01-27 Thread Andreas Granig
Hi Abid, Our open-source sip:provider CE ( http://www.sipwise.com/products/spce/ ) based on Kamailio provides a fully-fledged rating engine which you can configure using the web admin panel. Andreas On 01/27/2012 06:07 PM, Abid Naseem wrote: Looking for open source billing solution for

Re: [SR-Users] loose_route() with pre-loaded Route in ACK

2012-02-29 Thread Andreas Granig
Hi Klaus, On 02/29/2012 03:53 PM, Klaus Darilion wrote: However if a 407 is relayed back from the registrar via the lb to the UA, it sends an ACK, again with pre-loaded Route header like in the initial INVITE, this time with to-tag. In that case, loose_route() returns true, but the $du is

Re: [SR-Users] Presence in Kamailio

2012-03-16 Thread Andreas Granig
Hi, On 03/16/2012 10:03 PM, Faisal Rehman wrote: Yeah Kamailio is a purely SIP Server but as you have clearly mentioned that the Kamailio XMPP module is a stand-alone XMPP server, with no requirement for another XMPP server in the system; that is why I am using this module to get the

Re: [SR-Users] branches usage

2012-03-27 Thread Andreas Granig
Hi, On 03/27/2012 04:46 PM, Uri Shacked wrote: In my case i need to change the header and then send it. Here the case works if i make the changes after i sent the invite and got the reply. As i know the t_on_branch will work after the invite is sent... am i wrong? There are many

Re: [SR-Users] uac with more then one target?

2012-03-28 Thread Andreas Granig
Hi Karsten, On 03/28/2012 12:52 PM, Karsten Horsmann wrote: Now some ask if we can act as UAC to get calls from them, for example authenticate to sipgate and feed the landline calls to our ivr system via kamailio. AFAIK the module UAC provides only one pair of user/password credentials.

Re: [SR-Users] early media: How to change to tag

2012-03-28 Thread Andreas Granig
Hi, On 03/28/2012 06:37 PM, Iñaki Baz Castillo wrote: 2012/3/28 Min Wang ser.ba...@gmail.com: In order to properly proxy the msg to GW1, Kamailio seems need to change the to tag from B to A. Totally wrong. Multiple (early-)dialogs are 100% valid according to RFC 3261. If you find some SIP

Re: [SR-Users] SEMS IVR issue

2012-03-29 Thread Andreas Granig
Hey Uri, There's a dedicated mailing list for SEMS users: http://lists.iptel.org/mailman/listinfo/sems Regarding the docs, there are comprehensive Readmes for the different modules in the doc/ folder. For IVR, there doesn't seem to be a shared-object, because it looks like a set of python

[SR-Users] [OT] sip:provider CE v2.5 is out!

2012-04-10 Thread Andreas Granig
Hi all, I'm excited to announce the release of the Sipwise sip:provider Community Edition v2.5, a free and open source turn-key platform, which uses Kamailio, Sems and Asterisk in its core to provide a full-blown and feature-rich VoIP soft-switch.

[SR-Users] htable feature request

2012-04-17 Thread Andreas Granig
Hi, I'd like to ask for a feature request for htable. Would it be possible to add an MI function to delete specific entries from an htable, e.g. with sercmd htable.remove table key before freezing 3.3? That'd be handy for example if you hold blocked IPs in htable, but want to unblock some of

Re: [SR-Users] htable feature request

2012-04-20 Thread Andreas Granig
On 04/18/2012 09:54 AM, Daniel-Constantin Mierla wrote: the freezing is next week, so it is possible if one codes it before. Pushed to master. Sorry for the merge afterwards, forgot to rebase before push. Need to get more into git :) Andreas signature.asc Description: OpenPGP digital

Re: [SR-Users] Rtpproxy issue with connection information

2012-05-09 Thread Andreas Granig
Hi, On 05/09/2012 02:40 PM, Openser Kamailio wrote: *Owner/Connection Information (o)*: doubango 1983 678901 IN IP4 *172.27.170.984* 172.27.170.98 *Connection Information (c)*: IN IP4 *172.27.170.984* 172.27.170.98 Could it be possible that you're calling rtpproxy_offer() twice? Andreas

[SR-Users] Single-quoted vs double-quoted params in Path/Route

2012-06-04 Thread Andreas Granig
Hi guys, When I implemented the Path module 6 years ago, I chose to enclose the received-URI in double-quotes, like this: Path: sip:1.2.3.4:5060;received=sip:1.2.3.5:1234;transport=tcp This Path value is stored in usrloc by registrar module, and is converted to a Route in a subsequent request.

Re: [SR-Users] Kamailio and Netann

2012-06-04 Thread Andreas Granig
Hi Patrice, There are couple of characters in the URI which need to be escaped properly. A correct R-URI would look like this: sip:a...@cl1.oms.ser.v0.pftest.net;play=http%3A%2F%2F1xx.1xx.1xx.1xx%3A8080%2Ferrfile%2Ferr.wav;repeat=forever There are string transformations {s.escape.param} and

Re: [SR-Users] Single-quoted vs double-quoted params in Path/Route

2012-06-04 Thread Andreas Granig
On 06/04/2012 07:29 PM, Iñaki Baz Castillo wrote: My question now is if there are any concerns on your side with handling single-quoted URI params the way we handle double-quoted ones? If we were strict, we'd actually need to remove the handling for double-quoted ones, but for

Re: [SR-Users] record calls audio and video

2012-06-07 Thread Andreas Granig
Hi, On 06/05/2012 08:21 PM, Saul Waizer wrote: I am running Kamailio and rtpprox on ec2 I do have a DBUG log for it, one interesting thing to point out: On the above line notice how I have 127.0.0.1, I changed this from my external ip address because i was getting the following on the

Re: [SR-Users] Looking for RTP Proxy in TCP

2012-06-08 Thread Andreas Granig
Hi, On 06/08/2012 03:23 PM, Aft nix wrote: http://www.mbdsys.com/foss/htproxy/file/f16c43f3c3c3/README it is kind of http proxy that can be used to tunnel udp packets. You need to have a client application supporting it, on the sip server side you don't need anything. Does this tunnel

Re: [SR-Users] About xcap xuid in kamailio

2012-06-13 Thread Andreas Granig
Hi, On 06/13/2012 10:52 AM, Juha Heinanen wrote: my feeling is that there is no real commitment in jitsi for sip presence/xcap. i found a presence bug long time ago and reported it on jitsi tracker. so far nothing has happened. For me, reporting a presence bug on the jitsi-users mailing

Re: [SR-Users] About xcap xuid in kamailio

2012-06-13 Thread Andreas Granig
Hi Juha, On 06/13/2012 11:50 AM, Juha Heinanen wrote: For me, reporting a presence bug on the jitsi-users mailing list, along with pointing out exactly where in the code and how to fix it eventually worked. Did you get in touch with them on one of the lists? i don't remember if i send

Re: [SR-Users] About xcap xuid in kamailio

2012-06-13 Thread Andreas Granig
Hi Juha, On 06/13/2012 05:07 PM, Juha Heinanen wrote: i did some more presence tests with jitsi. when i start jitsi, it registers its sip uri, subscribes to its own presence.winfo and presence of another uri, and publishes its own presence. when i then quit jitsi, it un-publishes its own

[SR-Users] Binding arbitrary TLS socket

2012-06-28 Thread Andreas Granig
Hi, Got some problems when I tried this, not sure how this is intended to work: listen=tls:192.168.51.133:4343 When starting kamailio 3.3, I get the following error: ERROR: core [tcp_main.c:2915]: ERROR: tcp_init: bind(10, 0x7f5eea45db24, 16) on 192.168.51.133:4343 : Address already in use

Re: [SR-Users] Binding arbitrary TLS socket

2012-06-28 Thread Andreas Granig
On 06/28/2012 04:35 PM, Andreas Granig wrote: Got some problems when I tried this, not sure how this is intended to work: listen=tls:192.168.51.133:4343 When starting kamailio 3.3, I get the following error: ERROR: core [tcp_main.c:2915]: ERROR: tcp_init: bind(10, 0x7f5eea45db24, 16

Re: [SR-Users] How to access reason phrase of winning reply in failure_route

2012-07-02 Thread Andreas Granig
Hi, On 07/02/2012 10:29 AM, Barthel Marco (CI/AFU1) wrote: how do I access the reason phrase of winning reply in failure_route? The reply code can be accessed via $T_reply_code. Is there something similar for the reason phrase? The tmx module exports $T_rpl(), which you can use like this to

[SR-Users] Removing display-name with uac_replace_from

2012-07-04 Thread Andreas Granig
Hi, in kamailio 3.3, doing uac_replace_from(, $var(myuri)); doesn't remove the old Display part anymore (although the documentation still says it should), the debug log is: DEBUG: uac [uac.c:499]: dsp=(nil) (len=0) , uri=0x7fff87f6b840 (len=28) DEBUG: uac [replace.c:324]: uri to replace

Re: [SR-Users] Removing display-name with uac_replace_from

2012-07-04 Thread Andreas Granig
Hi, On 07/04/2012 09:42 PM, Daniel-Constantin Mierla wrote: quick look into the sources shows that fixup makes the display parameter null if its length is 0 -- perhaps introduced in the patch that unified the fixup to work also for replacing the To header display. If you have time and urgent

Re: [SR-Users] Removing display-name with uac_replace_from

2012-07-05 Thread Andreas Granig
() and w_replace_from2(), whereas 3.3 uses one unified w_replace_from(), which breaks the behavior the fixup function is providing. Thanks, Andreas On 07/05/2012 12:32 AM, Andreas Granig wrote: Hi, On 07/04/2012 09:42 PM, Daniel-Constantin Mierla wrote: quick look into the sources shows that fixup makes

Re: [SR-Users] Possible bad lcr module, after upgrade to 3.3.0 from 3.2

2012-08-13 Thread Andreas Granig
Hi, Reviving this old thread, as we ran into the same issue as well. Turned out it was a small glitch in passing a pointer to the size variable to pcre, which was int instead of size_t, potentially causing stack overflows on 64bit machines and messing with the rule_id, so the entry got

Re: [SR-Users] Kamailio and ACME

2012-08-14 Thread Andreas Granig
On 08/14/2012 11:29 AM, Fatima Chahrour~Vanrise Support wrote: I wanted to ask if Kamailio is compatible with ACME Packet or experianced by anyone in the list? and if there is any document that you recommend about such topic espacially in what is related to routing? There is nothing special

Re: [SR-Users] Kamailio and ACME

2012-08-15 Thread Andreas Granig
On 08/15/2012 08:23 PM, Fatima Chahrour wrote: Any help or ideas regarding the below? Both lcr or dispatcher module can do what you want, check the docs at http://kamailio.org/docs/modules/stable/ . You need to get an idea how this stuff works by studying the example config shipped with

[SR-Users] Wrong index on expires column in pua module

2012-08-24 Thread Andreas Granig
Hi guys, In the pua table, there is a unique key on the expires column, which seems wrong to me, because you'll sooner or later end up with different pua entries having the same expiry time, no? At least we ended up with messages like this in the logs, I think it's caused by pua_reginfo tests:

[SR-Users] [OT] sip:provider CE v2.6 is out!

2012-08-29 Thread Andreas Granig
Hi all, I'm excited to announce the release of the Sipwise sip:provider Community Edition v2.6, a free and open source turn-key platform, which uses Kamailio, Sems and Asterisk in its core to provide a full-blown and feature-rich VoIP soft-switch.

Re: [SR-Users] [OT] the role of SBCs

2012-08-30 Thread Andreas Granig
Hi Rupert, The interesting thing is that the arguments you brought up are exactly the same in every big corporation we've worked with. They're perfectly valid, also taking into account the decision making process, which department takes responsibility for what, and it's also of course politically

Re: [SR-Users] [OT] the role of SBCs

2012-08-31 Thread Andreas Granig
On 08/31/2012 11:10 AM, Olle E. Johansson wrote: Sbc also ofer a propritary way of failover for itself If node1 die node2 will replace it That's been done both with Asterisk and Kamailio (and propably SEMS) for a very long time. For SEMS it's a commercial module, same goes for the Sipwise

Re: [SR-Users] Kamailio Presence module

2012-09-18 Thread Andreas Granig
On 09/17/2012 10:36 AM, Gary Shergill wrote: root@opensep:~# service kamailio restart Not starting Kamailio: invalid configuration file! -e 0(7892) : core [cfg.y:3591]: parse error in config file /etc/kamailio/kamailio.cfg, line 392, column 32-36: syntax error 0(7892) : core

[SR-Users] Syntax of xavp

2012-10-09 Thread Andreas Granig
Hi, I'm playing around with xavp, but there are some things I can't wrap my head around. What basically works is this: $xavp(a=foo) = 'foo'; $xavp(a[0]=bar) = 'bar'; Getting the value like this: xlog(L_INFO, a-foo='$xavp(a=foo)' and a-bar='$xavp(a=bar)'); as well as xlog(L_INFO,

Re: [SR-Users] mediaproxy-ng fails to parse start_recording() command

2012-10-20 Thread Andreas Granig
Hi Juha, On 10/20/2012 07:17 PM, Juha Heinanen wrote: i tried what happens when i call start_recording() after calling rtpproxy_manage() and got this kind of error to syslog: Oct 20 19:57:43 siika mediaproxy-ng[8423]: Failed to properly parse UDP command line '8554_13 R

Re: [SR-Users] udp transport in rtpproxy sockets

2012-10-22 Thread Andreas Granig
Hi Juha, On 10/22/2012 09:50 AM, Juha Heinanen wrote: Definition of socket(s) used to connect to (a set) RTPProxy. It may specify a UNIX socket or an IPv4/IPv6 UDP socket. if that is the case, what is the justification for it, i.e, why is tcp (and better yet tls) transport not supported? I

Re: [SR-Users] Manually add Via Header

2012-10-25 Thread Andreas Granig
Hi, Sorry for hijacking this thread, but I've a similar but different question which bugs me since a while :) Is there a way in kamailio to statelessy forward a request without putting its own Via header into the message? Consider an example where a stateless load-balancer sends a request to a

Re: [SR-Users] Manually add Via Header

2012-10-25 Thread Andreas Granig
Hi, On 10/25/2012 02:51 PM, Olle E. Johansson wrote: Is there a way in kamailio to statelessy forward a request without putting its own Via header into the message? Consider an example where a stateless load-balancer sends a request to a proxy A, which again statelessy forwards it to another

[SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Hi, There are lots of parameters controlling the creation of nonce values on a server, and I'm curious if there is a way to kind of sync them between servers. The use case would be to have a UA send for example its registration to Proxy1. Proxy1 would challenge it, UA will send the registration

Re: [SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Hi David, On 11/19/2012 02:54 PM, David J wrote: Is the database shared? If so maybe when they authenticate add a secure token to the header that the second proxy can use for auth? No, the DBs are explicitely NOT shared in this scenario. Just a suggestion not sure if its the answer your

Re: [SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Thanks Olle and Carsten, On 11/19/2012 03:27 PM, Carsten Bock wrote: short question: Why don't you use a shared secret to create a nonce value? http://kamailio.org/docs/modules/devel/modules/auth.html#auth.secret I've noticed this secret parameter, but the documentation is a bit brief on

Re: [SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Hi Carsten, On 11/19/2012 03:38 PM, Carsten Bock wrote: I am using it with 3.2 in production for exactly that purpose Seems to work like charm, thanks! Andreas signature.asc Description: OpenPGP digital signature ___ SIP Express Router (SER) and

Re: [SR-Users] ul.dump Problem

2012-11-26 Thread Andreas Granig
Hi, On 11/26/2012 06:25 PM, Spencer Thomason wrote: I'm attempting to dump the contents of the usrloc cache and I'm receiving the following error: sercmd ul.dump error: 500 - Internal error creating aor struct sercmd mi ul_dump error: 500 - Internal server error processing 's': buffer too

Re: [SR-Users] ul.dump Problem

2012-11-26 Thread Andreas Granig
On 11/26/2012 06:49 PM, Spencer Thomason wrote: I'm running 3.3.2 @ commit bab07e07858464d50d310bbb52431a0b171ee771 Should be fixed here: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d195f2675569954a1f74128508db07cbc604ed9 Andreas signature.asc Description: OpenPGP

  1   2   >