Re: [SR-Users] Simple Trunking with Kamailio

2010-04-30 Thread Uriel Rozenbaum
Hi Jared The answer is Yes. Just keep in mind you will have to work on the cfg to identufy which calls should go to the PSTN and format them accordingly to be routed properly. You have plenty of modules to route calls to GWs. I always pick carrierroute because of the flexibility and power to act

[SR-Users] Simple Trunking with Kamailio

2010-04-30 Thread Jared Martin
Ok, this is probably an easy question: Say I have my kamailio server set up and all of my voip clients are gleefully calling each other... but now I want to connect them to the PSTN. Can I set up kamailo to trunk calls using a few grandstream gateways? or is Asterisk neccesary? Sorry if the answe

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Jeff Brower
Daniel- > On 4/30/10 10:08 PM, Jeff Brower wrote: >> Daniel- >> >> >>> On 4/30/10 8:24 PM, Iñaki Baz Castillo wrote: >>> 2010/4/30 Jignesh Gandhi: > Hello All, > > Can openser be used as a SIP Application Server in an IMS infrastructure ? > > Should I use Kamail

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Alex Balashov
SEMS? On 04/30/2010 04:31 PM, Jignesh Gandhi wrote: thank you for your reply. Would you know of anything that can be used as a SIP Application Server with capability to do REFER, RE-Invites and parse SIP-I payload passed to the server. OpenIMS has SIP AS as an external entity. thanks, --Ji

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Jignesh Gandhi
thank you for your reply. Would you know of anything that can be used as a SIP Application Server with capability to do REFER, RE-Invites and parse SIP-I payload passed to the server. OpenIMS has SIP AS as an external entity. thanks, --Jignesh -Original Message- From: Iñaki Baz Cast

Re: [SR-Users] RTPproxy in bridge mode question

2010-04-30 Thread Ovidiu Sas
It sucks to deal with broken SIP implementation on the carrier side. Here's one thing that you can try. You can encode the contact: http://kamailio.org/docs/modules/stable/modules_k/siputils.html#id2596873 Like this you will have the public IP in the Contact header. Then, for all subsequent in-di

Re: [SR-Users] RTPproxy in bridge mode question

2010-04-30 Thread Uriel Rozenbaum
Daniel, Maybe my question is silly, but in this case the contact should remain intact? (I mean in bridge mode). I understand the destination UA should read the Record-route Headers and ignore the contents of the Contact Header, but I think this is not what´s happening. I'm not using force_socket

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Daniel-Constantin Mierla
On 4/30/10 10:08 PM, Jeff Brower wrote: Daniel- On 4/30/10 8:24 PM, Iñaki Baz Castillo wrote: 2010/4/30 Jignesh Gandhi: Hello All, Can openser be used as a SIP Application Server in an IMS infrastructure ? Should I use Kamailio instead ? By definition a SIP

[SR-Users] sr-users = ser + kamailio users mailing lists

2010-04-30 Thread Daniel-Constantin Mierla
Hello, a short note that the merging of SIP Express Routers (SER) users mailing list into sr-users is completed from subscriber point of view: - posts to serus...@lists.iptel.org are directed to sr-users@lists.sip-router.org - posts to sr-users@lists.sip-router.org are received by subscribers o

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Jeff Brower
Daniel- > On 4/30/10 8:24 PM, Iñaki Baz Castillo wrote: >> 2010/4/30 Jignesh Gandhi: >> >>> Hello All, >>> >>> Can openser be used as a SIP Application Server in an IMS infrastructure ? >>> >>> Should I use Kamailio instead ? >>> >> >> By definition a SIP proxy is not a "SIP Application Server"(w

Re: [SR-Users] Bug with avp's or feature ?

2010-04-30 Thread Daniel-Constantin Mierla
Hello, On 4/26/10 5:59 PM, Tristan Mahé wrote: Hi guys, I was debugging an install on kamailio 3.0, and was asked to add per user custom outbound proxies. To do so, I used load_credentials from auth_db to store the custom route in an avp, as you can see in the relevant part below. I notic

Re: [SR-Users] [Kamailio-Users] PCRE Regex / Transformations Bug?

2010-04-30 Thread Daniel-Constantin Mierla
On 4/30/10 9:14 PM, Daniel-Constantin Mierla wrote: Hi Brandon, you are missing the multi-line matching flag, try: xlog("L_INFO", "[$ci] $(rb{re.subst,/^(.*)m=audio ([0-9]+)(.*)$/\2/s})") Note the 's' after the last '/' in subst expression. those details were missing in docs, so I updated the

Re: [SR-Users] [Kamailio-Users] PCRE Regex / Transformations Bug?

2010-04-30 Thread Daniel-Constantin Mierla
Hi Brandon, you are missing the multi-line matching flag, try: xlog("L_INFO", "[$ci] $(rb{re.subst,/^(.*)m=audio ([0-9]+)(.*)$/\2/s})") Note the 's' after the last '/' in subst expression. Cheers, Daniel On 4/29/10 10:21 PM, Brandon Armstead wrote: Daniel, Here is the XLOG output, the top l

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Daniel-Constantin Mierla
Hello, On 4/30/10 8:24 PM, Iñaki Baz Castillo wrote: 2010/4/30 Jignesh Gandhi: Hello All, Can openser be used as a SIP Application Server in an IMS infrastructure ? Should I use Kamailio instead ? By definition a SIP proxy is not a "SIP Application Server"(which in most cases are

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Alex Balashov
On 04/30/2010 02:12 PM, Jignesh Gandhi wrote: Hello All, Can openser be used as a SIP Application Server in an IMS infrastructure ? Should I use Kamailio instead ? Jignesh, note that these days when you are talking about Kamailio and OpenSER, they are one and the same. -- Alex Balashov - Pr

Re: [SR-Users] t_on_failure to named failure route

2010-04-30 Thread Daniel-Constantin Mierla
On 4/30/10 8:11 PM, Steven C. Blair wrote: The error is produced within the following block per the config file syntax check "-c". if (method=="INVITE" && !...@to.tag) { t_on_failure("FAILURE_ROUTE"); } not using selects in this way but via PV framework, but I t

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Iñaki Baz Castillo
2010/4/30 Jignesh Gandhi : > Hello All, > > Can openser be used as a SIP Application Server in an IMS infrastructure ? > > Should I use Kamailio instead ? By definition a SIP proxy is not a "SIP Application Server"(which in most cases are B2BUA's). However if you mean a "IMS SIP proxy/registrar"

Re: [SR-Users] openser as SIP AS in IMS environment...

2010-04-30 Thread Jignesh Gandhi
Hello All, Can openser be used as a SIP Application Server in an IMS infrastructure ? Should I use Kamailio instead ? thanks, --Jignesh ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org ht

Re: [SR-Users] t_on_failure to named failure route

2010-04-30 Thread Steven C. Blair
The error is produced within the following block per the config file syntax check "-c". if (method=="INVITE" && !...@to.tag) { t_on_failure("FAILURE_ROUTE"); } From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, April 30, 2010 2:09 PM To: Steven C. Bl

Re: [SR-Users] t_on_failure to named failure route

2010-04-30 Thread Daniel-Constantin Mierla
Hello, On 4/30/10 7:58 PM, Steven C. Blair wrote: I'm attempting to run an existing SER config file under a recent build of sip-router. I get a syntax error on the t_on_failure("noroute") call that exists in my config file. The specific error is "bad expression: type mismatch (str instead o

Re: [SR-Users] RTPproxy in bridge mode question

2010-04-30 Thread Daniel-Constantin Mierla
Hello, it might not be the solution, because they should route based on Record-Route headers, not on Contact header. Anyhow changing the Contact will break the routing, so you will need to store somehow the original contact. You can do manual detection in case you do bridging, by checking th

[SR-Users] t_on_failure to named failure route

2010-04-30 Thread Steven C. Blair
I'm attempting to run an existing SER config file under a recent build of sip-router. I get a syntax error on the t_on_failure("noroute") call that exists in my config file. The specific error is "bad expression: type mismatch (str instead of int)". I presume this means sip-router does not sup

[SR-Users] RTPproxy in bridge mode question

2010-04-30 Thread Uriel Rozenbaum
Guys, I'm successfully using a Kamailio + RTPproxy setup in bridge mode with most of my Gateways. My setup includes two different interfaces one with a public IP and teh other with the private IP. Now I'm facing some slight issue. Some providers won't accept my calls (or calls will have some stra

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Iñaki Baz Castillo
2010/4/30 Jiri Kuthan : >> I don't agree. As per RFC 3261 when a proxy receives a 200 for an >> INVITE the transaction is terminated so a CANCEL after the 200 should >> not match such transaction. > > That's a bug in the RFC and we shall not better projects RFC bugs in > implementations :) A well b

Re: [SR-Users] Add header on failure Route

2010-04-30 Thread Daniel-Constantin Mierla
Hello, On 4/30/10 11:07 AM, Alex Rendour wrote: Hi, We need to add header on the failure route. Exemple: On failure 404 Not found, we need add header Reason: Q.850; cause=1 We tried this in failure_route: if(t_check_status("404")){ xlog("L_ERR", "404 Not found\n

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Jiri Kuthan
Iñaki Baz Castillo wrote: 2010/4/30 Klaus Darilion : 200 OK seems correct as long as the transaction is still in memory. http://tools.ietf.org/html/rfc3261#section-9.2 I don't agree. As per RFC 3261 when a proxy receives a 200 for an INVITE the transaction is terminated so a CANCEL after the

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Iñaki Baz Castillo
2010/4/30 Iñaki Baz Castillo : > But anyway, if the INVITE has been replied with a 200 it makes no > sense at all to send a CANCEL so the proxy shouldn't reply 200 to the > CANCEL, but a 481. Not exactly, sorry, the proxy should forward the CANCEL stateless: 16.10 CANCEL Processing [...] If

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Iñaki Baz Castillo
2010/4/30 Klaus Darilion : >> I don't agree. As per RFC 3261 when a proxy receives a 200 for an >> INVITE the transaction is terminated so a CANCEL after the 200 should >> not match such transaction. Then the proxy should reply 481 to the >> CANCEL rather than a 200. > > >   If the transaction >  

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Klaus Darilion
Am 30.04.2010 11:37, schrieb Iñaki Baz Castillo: 2010/4/30 Klaus Darilion: 200 OK seems correct as long as the transaction is still in memory. http://tools.ietf.org/html/rfc3261#section-9.2 I don't agree. As per RFC 3261 when a proxy receives a 200 for an INVITE the transaction is terminate

Re: [SR-Users] kamailio and presence_xml parse error

2010-04-30 Thread Daniel-Constantin Mierla
Hello, can you get the xml doc for that case and paste it here? I attached a patch that should be print the xml doc. Thanks, Daniel On 4/29/10 4:52 PM, Francesco wrote: Hi to all. I'm new here. I'm getting crazy with presence_xml error. I'm using kamailio 1.5.4 notls with xlite 3.0 (winXP c

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Iñaki Baz Castillo
2010/4/30 Klaus Darilion : > 200 OK seems correct as long as the transaction is still in memory. > > http://tools.ietf.org/html/rfc3261#section-9.2 I don't agree. As per RFC 3261 when a proxy receives a 200 for an INVITE the transaction is terminated so a CANCEL after the 200 should not match such

[SR-Users] Add header on failure Route

2010-04-30 Thread Alex Rendour
Hi, We need to add header on the failure route. Exemple: On failure 404 Not found, we need add header Reason: Q.850; cause=1 We tried this in failure_route: if(t_check_status("404")){ xlog("L_ERR", "404 Not found\n"); append_to_reply("Reason: Q.850; cause=

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Klaus Darilion
200 OK seems correct as long as the transaction is still in memory. http://tools.ietf.org/html/rfc3261#section-9.2 regards klaus Am 30.04.2010 10:22, schrieb Iñaki Baz Castillo: 2010/4/29 pars3c: Hi, i have a problem about the handling of the “cancel” message. The B side answer with OK, af

Re: [SR-Users] Wrong handling CANCEL message

2010-04-30 Thread Iñaki Baz Castillo
2010/4/29 pars3c : > Hi, i have a problem about the handling of the “cancel” message. > The B side answer with OK, after a while , a send a CANCEL. I don’t know why > Kamailio don’t forward this message to the B side. Because Kamailio already received a 200 for the INVITE transaction so it's term

Re: [SR-Users] [sr-dev] Hello, please unsubscribe my email from the mail list, thank you.

2010-04-30 Thread Iñaki Baz Castillo
2010/4/30 Lee Jacky : >    Hello,please unsubscribe my email:jacky.lee...@yahoo.com.cn from the mail > list,thank you. List-Unsubscribe: , -- Iñaki Baz Castillo