Re: [SR-Users] Help

2012-12-06 Thread SamyGo
Hi, I think you want asterisk help ! or is it related to iptel sip trunk ? Anyway here are few simple answers. 1- For asterisk you can install a Digium or Sangoma Card to connect PSTN lines to your server and make calls out to India using those PSTN lines. OR 1- As you said you can buy a local SI

[SR-Users] dlg_manage() and add_contact_alias() problem

2012-12-06 Thread Pavel Miskov
Hi all, I want to end dialog (Kamailio sends BYE to both parties) that is lasting longer then some defined time. everything is working fine when using old fix_nated_contact function, but when using new add_contact_alias function kamailio sends BYE to private addresses. 1. "kamctl fifo dlg_list" o

Re: [SR-Users] Kamailio\ Message 300 Contacts

2012-12-06 Thread Fatima Chahrour~Vanrise Support
Thank you Daniel! Kind regards, F Chahrour From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, December 06, 2012 3:11 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Cc: Fatima Chahrour~Vanrise Support Subject: Re: [SR-Users] Kam

Re: [SR-Users] How to use OR login in DB query in kamailio

2012-12-06 Thread Hemanshu Patel
thanks daniel I guess i have to use two queries here. By the way is there any LIKE operation, I mean if i want to select sip:1...@xx.xx.xx.xx value by using key 1000, then which DB operation I have to use. As far as i have seen in code file, there is no LIKE operation, only GT,LT,GET,LET,EQ,

Re: [SR-Users] Kamailio\ Message 300 Contacts

2012-12-06 Thread Daniel-Constantin Mierla
Hello, if you use location service, the number of contacts is set via registrar module: http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2497761 The contacts are ordered by q value, you can change that via: http://kamailio.org/docs/modules/stable/modules_k/usrloc.html#id249

Re: [SR-Users] Internal/External SIP setup

2012-12-06 Thread Daniel-Constantin Mierla
Maybe this tutorial can help a bit: - http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6 It shows how to route between two networks (in this case ipv4 and ipv6). You need to change the detection rules in order to know what is internal and what is external (you can map it as internal is the

Re: [SR-Users] How to use OR login in DB query in kamailio

2012-12-06 Thread Daniel-Constantin Mierla
Hello, db api has support only for AND in WHERE for the db_query member. You can print your own query and ship it to the API via db_raw_query() (this will work of course only for SQL databases). Alternatives, - do two queries (probably not that optimal) - detect which value to use (from/to he

Re: [SR-Users] db_cluster configuration

2012-12-06 Thread Daniel-Constantin Mierla
Hello, how many queries you did for these observations? The round robin is per process, not per instance (kamailio start many processes). Cheers, Daniel On 12/5/12 5:17 PM, Juan José Ivars wrote: Hello, i am configuring db_cluster module in kamailio 3.3 I have configured in roun-robin read

[SR-Users] Kamailio\ Message 300 Contacts

2012-12-06 Thread Fatima Chahrour~Vanrise Support
Dears, In the redirect message 300, is there any way to control the maximum number of contacts(IP's) returned in the message? (am only getting 5 IP's) Also, if I have one gateway with 5 IP's and trying the same call 3 times; the order of the IP's returned in the message 300 is different in eac

[SR-Users] How to use OR login in DB query in kamailio

2012-12-06 Thread Hemanshu Patel
Dear friends, I have to select entries from table which has a phone nomber in to or from column in a table. Say a dialog tables and phone number is 1000. So i need to fetch all queries where to_uri or from_uri is like 1000. I have checked the code, but i didnt find any way to do this OR beha