[SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-04 Thread Alex Villací­s Lasso
I am currently trying to replace a pure-Asterisk implementation of SIP messaging through Websockets, with a Kamailio-4.1.2-based implementation. However, when I try to send a message with jsSIP, Kamailio crashes: Program terminated with signal 11, Segmentation fault. #0 0x7f0e5cf31be3 in r

Re: [SR-Users] uac_replace_from

2014-04-04 Thread Kelvin Chua
what i did was to put uac_replace_from() in branch_route instead of route[RELAY] however, i also tried it on route[RELAY] but it is still the same problem. i placed an xlog() just before uac_replace_from() to make sure that it is not called twice while doing ngrep to inspect the outgoing packet.

Re: [SR-Users] Kamailio 4.1 and Cisco 79xx Integration Work

2014-04-04 Thread Jonathan Hunter
Hi Alex, Thanks for the fast response as usual! :) Will give it a try. Thanks Jon From: abalas...@evaristesys.com Date: Fri, 4 Apr 2014 17:10:10 +0200 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 4.1 and Cisco 79xx Integration Work You can modify the destination set ($du), w

Re: [SR-Users] Kamailio with rtpproxy-ng and mediaproxy-ng: Error rewriting SDP

2014-04-04 Thread Juha Heinanen
Olli Heiskanen writes: > if ( sdp_get_line_startswith("$avp(mline)", "m=") ) { > if ($avp(mline) =~ "SAVPF") { in order to simplify the above, how about introducing a new function sdp_with_transport_like(transport)? that function would return 1 if string of the param is included in the transport

Re: [SR-Users] Kamailio 4.1 and Cisco 79xx Integration Work

2014-04-04 Thread Alex Balashov
You can modify the destination set ($du), which will influence where t_relay() and forward() sends things. On 4 April 2014 17:08:46 CEST, Jonathan Hunter wrote: >Hi Guys, >I'm doing some work, with Legacy Cisco phones, its a long story but I >need to manipulate signaling due to firmware limita

[SR-Users] Kamailio 4.1 and Cisco 79xx Integration Work

2014-04-04 Thread Jonathan Hunter
Hi Guys, I'm doing some work, with Legacy Cisco phones, its a long story but I need to manipulate signaling due to firmware limitations. I am looking to implement a workaround, whereby I need to modify an ACK, so that it sends the RURI is sent to port 5060, and the destination Port at the IP lay

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
no you don't need the S-CSCF DB support unless you want it. Can you send debug log of P-CSCF as well as pcap of the same attempt. Include both registrations and the call. cheers Jason On Fri, Apr 4, 2014 at 2:22 PM, Andrea Meroni wrote: > Ok, using the new scheme the contact records are corre

[SR-Users] carrierroute prefix regex?

2014-04-04 Thread Igor Potjevlesch
Hello, I'm wondering if we can set into < scan_prefix > an entrier with regex like : 3[0-9]{3}? If not, what would be the best module to manage in a DB the prefix that can be composed by SIP clients before call cr_route? Something equivalent to a dialplan I guess. Thanks for your feedback.

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Ok, using the new scheme the contact records are correctly saved in the DB (both for Alice and Bob). But i still get the same error. Perhaps its a stupid question ... Should i also add the DB support in the S-CSCFs? Isn't enough (for some preliminar tests, just to look at the Kamailio's behavior) t

Re: [SR-Users] Record-Route headers all over the place

2014-04-04 Thread Alex Balashov
On 04/04/2014 07:46 AM, Phillman25 Kyriacou wrote: Hi im receiving the following INVITE on my system, you can see that the Record-Route headers are all over the place, is there a way to group the Record-Route headers together followed by the via headers grouped together? Kamailio does not prov

[SR-Users] Record-Route headers all over the place

2014-04-04 Thread Phillman25 Kyriacou
Hi im receiving the following INVITE on my system, you can see that the Record-Route headers are all over the place, is there a way to group the Record-Route headers together followed by the via headers grouped together? INVITE sip:2217@81.21.42.184;uniq=DBFF66459C85D6171B30016D2422B SIP/2.0

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Well ... Just let me try to explain the situation: - Alice registers on scscf1 through pcscf: ok - Bob registers on scscf2 through pcscf: ok (i get a 200 OK after the challenge), but the Bob's record isn't inserted in the local db of the pcscf (because probably i mismatch something in the db confi

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
In this case you have not successfully registered the B party for some reason... On Fri, Apr 4, 2014 at 11:33 AM, Andrea Meroni wrote: > Just another couple of questions: > > - now the tables are added simply when is run kamdbctl create? > - the modules read properly the infos from the db or ar

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Just another couple of questions: - now the tables are added simply when is run kamdbctl create? - the modules read properly the infos from the db or are there others open issues (i tried with my db, modified by hand, to registrate a user, and it was ok; then i tried to make a call to another user

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Ok, thank you very much On Fri, Apr 4, 2014 at 10:06 AM, Jason Penton wrote: > master, yes > > utils/kamctl/mysql/ > > > On Fri, Apr 4, 2014 at 11:02 AM, Andrea Meroni wrote: > >> Many many thanks ... Is it in examples/pcscf? In the master branch? >> >> >> On Fri, Apr 4, 2014 at 10:00 AM, Jason

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
master, yes utils/kamctl/mysql/ On Fri, Apr 4, 2014 at 11:02 AM, Andrea Meroni wrote: > Many many thanks ... Is it in examples/pcscf? In the master branch? > > > On Fri, Apr 4, 2014 at 10:00 AM, Jason Penton > wrote: > >> Hi Andrea, >> >> I have just added the schema to git repo. >> >> Cheers

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Many many thanks ... Is it in examples/pcscf? In the master branch? On Fri, Apr 4, 2014 at 10:00 AM, Jason Penton wrote: > Hi Andrea, > > I have just added the schema to git repo. > > Cheers > Jason > > > On Fri, Apr 4, 2014 at 10:17 AM, Andrea Meroni wrote: > >> Edit: i successfully make it wor

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
Hi Andrea, I have just added the schema to git repo. Cheers Jason On Fri, Apr 4, 2014 at 10:17 AM, Andrea Meroni wrote: > Edit: i successfully make it working, by adding the proper columns in the > database. However, i still have some issues ... Does anyone know where i > can get a descriptio

Re: [SR-Users] What going on this SDP

2014-04-04 Thread Rainer Piper
you can try to turn of the opus codec support in the browser. At firefox ... open about:config and search for media.opus.enabled and set it to false. At Chrome ... open about:flags and search for opus. Regards Rainer Am 04.04.2014 10:31, schrieb jaflong jaflong: Hi, Is it possible to use

Re: [SR-Users] uac_replace_from

2014-04-04 Thread Daniel Tryba
On Friday 04 April 2014 09:53:48 Alex Balashov wrote: > I've seen this when calling uac_replace_from twice, which you cannot do. I ran into this before, and based upon recommendations here I decided to store the changes in avps and commit the changes in route[RELAY]. That works fine until somet

Re: [SR-Users] Load new module in Kamailio

2014-04-04 Thread DURECU, OLIVIER (OLIVIER)
Hello Get the compiled module from kamailio-websocket-modules (apt-get install kamailio-websocket-modules) Or make a build from sources (in src dir: make_and_install compile kwebsocket) but there ar

Re: [SR-Users] What going on this SDP

2014-04-04 Thread jaflong jaflong
Hi, Is it possible to use pcmu start to end, so I send pcmu instead of opus from the browser? Regards 04.04.2014, 12:29, "Jon Bonilla (Manwe)" : > El Fri, 04 Apr 2014 08:18:22 +0200 > Rainer Piper escribió: > >>  Hallo, >>  my guess is the audio codec opus >> >>  asterisk can NOT do transcod

Re: [SR-Users] What going on this SDP

2014-04-04 Thread Jon Bonilla (Manwe)
El Fri, 04 Apr 2014 08:18:22 +0200 Rainer Piper escribió: > Hallo, > my guess is the audio codec opus > > asterisk can NOT do transcoding from opus to pcmu. > > The opus codec in asterisk is (just) a path through codec. > > your trace right at the end: > !!! Failed to parse SessionDescription.

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Edit: i successfully make it working, by adding the proper columns in the database. However, i still have some issues ... Does anyone know where i can get a description of the DB structure of Kamailio? Especially the tables needed for the modules i mentioned in the previous mail? Andrea On Thu,

Re: [SR-Users] uac_replace_from

2014-04-04 Thread Alex Balashov
I've seen this when calling uac_replace_from twice, which you cannot do. On 4 April 2014 01:29:51 CEST, Kelvin Chua wrote: >Has anybody experienced having uac_replace_from() concatenate the old >from: >value after the new domain? > >for example: >From: "user1" > >becomes >From: "user2" > >Kel

Re: [SR-Users] What going on this SDP

2014-04-04 Thread Rainer Piper
upps ... sorry ... *pass th**rough* and not path through :-[ 2013-08-23 15:49 + [r397524-397527] Matthew Jordan * CHANGES: Update CHANGES file to reflect pass through support for Opus/VP8 Source -> http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog

[SR-Users] Load new module in Kamailio

2014-04-04 Thread Patrik Kristel
Hello all, I would like to ask, how can I load new module in Kamailio 4.1.2? Actually, I have an issue, when I tried to compile my kamaiio.cfg I've got error: root@kamailio:/usr/local/# kamailio -c kamailio.cfg loading modules under /usr/local/lib64/kamailio/modules/ 0(25392) ERROR: [sr_module.