Re: [SR-Users] source port used for forwarded requests

2011-12-15 Thread Alex Balashov
Maybe, if I understand you correctly, the 'advertised_address' and/or 'advertised_port' settings are the thing for you? -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peacht

Re: [SR-Users] source port used for forwarded requests

2011-12-15 Thread Ben WIlliams
On Fri, Dec 16, 2011 at 12:26 PM, Alex Balashov wrote: > On 12/15/2011 06:25 PM, Ben WIlliams wrote: > >> Hi, >> My Kamailio server listens on multiple IPs - say IP1, IP2. If a >> request arrives on one IP, Kamailio uses the same IP as the source >> address when forwarding, which is good. But is t

Re: [SR-Users] source port used for forwarded requests

2011-12-15 Thread Alex Balashov
On 12/15/2011 06:25 PM, Ben WIlliams wrote: Hi, My Kamailio server listens on multiple IPs - say IP1, IP2. If a request arrives on one IP, Kamailio uses the same IP as the source address when forwarding, which is good. But is there any way a UA could generate a request to IP1 that gets forwarded

[SR-Users] source port used for forwarded requests

2011-12-15 Thread Ben WIlliams
Hi, My Kamailio server listens on multiple IPs - say IP1, IP2. If a request arrives on one IP, Kamailio uses the same IP as the source address when forwarding, which is good. But is there any way a UA could generate a request to IP1 that gets forwarded by Kamailio with source address IP2 ? The reas

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread marius zbihlei
On 12/15/2011 06:33 PM, Andreas Granig wrote: 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 Hello, I have attached an improved version (uses inet_pton instead of manually pa

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

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Andreas Granig
Hi, Alright, dns_try_ipv6=yes did the trick. Thanks, Andreas On 12/15/2011 11:55 AM, Andreas Granig wrote: > Hi, > > Here is the full sip trace of the hop proxy->lb (SDP snipped), this > should help getting an idea what's going on. What the lb does it taking > the value from P-R-Uri and tries t

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread marius zbihlei
On 12/15/2011 04:41 PM, Daniel-Constantin Mierla wrote: Hello, On 12/15/11 1:18 PM, marius zbihlei wrote: On 12/14/2011 07:28 PM, Andreas Granig wrote: Hey Dani Hello, Actually, looking at the code I've observed some weird behavior : for example to fix the force_send_socket IPv6 address, a

Re: [SR-Users] How to get dispatcher list with sercmd command

2011-12-15 Thread Mino Haluz
Only this worked: sercmd -s unixs:/tmp/kamailio_ctl system.listMethods core.arg core.echo core.flags core.info core.kill core.printi core.prints core.ps core.psx core.pwd core.sctp_info core.sctp_options core.shmmem core.tcp_info core.tcp_options core.udp4_raw_info core.uptime core.version ctl.co

Re: [SR-Users] How to get dispatcher list with sercmd command

2011-12-15 Thread Mino Haluz
Do I have to load some specific module ? ERROR: connect_unix_sock: connect(/tmp/sercmd_ctl): No such file or directory [2] On Thu, Dec 15, 2011 at 3:55 PM, Daniel-Constantin Mierla wrote: > > > On 12/15/11 3:45 PM, Mino Haluz wrote: > > kamctl dispatcher dump > > did the thing. > > that is usi

Re: [SR-Users] How to get dispatcher list with sercmd command

2011-12-15 Thread Daniel-Constantin Mierla
On 12/15/11 3:45 PM, Mino Haluz wrote: kamctl dispatcher dump did the thing. that is using fifo file and MI command. sercmd is doing the RPC command. Can you give the output of: sercmd system.listMethods Cheers, Daniel kamailio 3.2.0. On Thu, Dec 15, 2011 at 3:38 PM, Daniel-Constantin

Re: [SR-Users] How to get dispatcher list with sercmd command

2011-12-15 Thread Mino Haluz
kamctl dispatcher dump did the thing. kamailio 3.2.0. On Thu, Dec 15, 2011 at 3:38 PM, Daniel-Constantin Mierla wrote: > Hello, > > > On 12/15/11 2:50 PM, Timo Klecker wrote: > > Hi Mino > > ** ** > > Try > > Sercmd dispatcher list > > ** ** > > Without the dot. This works with

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Daniel-Constantin Mierla
Hello, On 12/15/11 1:18 PM, marius zbihlei wrote: On 12/14/2011 07: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 bridg

Re: [SR-Users] How to get dispatcher list with sercmd command

2011-12-15 Thread Daniel-Constantin Mierla
Hello, On 12/15/11 2:50 PM, Timo Klecker wrote: Hi Mino Try Sercmd dispatcher list Without the dot. This works with kamctl, haven't used sercmd. in sercmd should be dispatcher.list with dot, but the command is available starting with v3.2.0. What is your kamailio version? Cheers, Daniel

Re: [SR-Users] How to get dispatcher list with sercmd command

2011-12-15 Thread Timo Klecker
Hi Mino Try Sercmd dispatcher list Without the dot. This works with kamctl, haven't used sercmd. Greetings Timo Von: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] Im Auftrag von Mino Haluz Gesendet: Donnerstag, 15. Dezember 2011 14:31 An: S

[SR-Users] How to get dispatcher list with sercmd command

2011-12-15 Thread Mino Haluz
Hi, # sercmd dispatcher.list error: 500 - command dispatcher.list not found The module is loaded, dispatcher.list file exists. Am I doing something wrong ? Thanks. Mino. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-use

[SR-Users] lcr module and IPv6

2011-12-15 Thread Juha Heinanen
Andreas Granig writes: > 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 ipv4 usage. -- juha _

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread marius zbihlei
On 12/14/2011 07: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 -- may be a

[SR-Users] Dispatcher module with call load balancing

2011-12-15 Thread Mino Haluz
Hi, I would like to use the dispatcher module with algorithm 10 - call load balancing. But there are multiple things that are a bit unclear to me. I have multiple gateways that can serve different maximum number of calls. 1) Can I somehow set the maximum calls count for each dispatcher gateway, s

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Andreas Granig
Hi, Here is the full sip trace of the hop proxy->lb (SDP snipped), this should help getting an idea what's going on. What the lb does it taking the value from P-R-Uri and tries to send it to that destination (no $du will get set on the lb): U 2011/12/15 11:45:34.357000 127.0.0.1:5080 -> 127.0.0.1

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Daniel-Constantin Mierla
Hello, 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 consider

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 >>> loo

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 al

[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 (OpenSER

Re: [SR-Users] How to enable rtp repacketization

2011-12-15 Thread Daniel-Constantin Mierla
Hello, On 12/14/11 11:52 AM, Arif Tuhin wrote: I want to enable the rtp repacketization feature of the rtpproxy. I have set force_rtp_proxy("z150"). But the repacketization is not happening. in the log it does show that rtp will be repacketizes but when i see the wireshark capture, its the sam

Re: [SR-Users] Bug: Dialog State=*Teminated* even when the call is active

2011-12-15 Thread Daniel-Constantin Mierla
Hello, On 12/15/11 1:32 AM, Gnaneshwar Gatla wrote: Hello, I have come across this behavior in Kamailio 3.1.5 version. The proxy is behind a Firewall and uses the advertised IP to communicate to sipclients. I have used the "dlg_match_mode", as the record_route_preset() does not include t

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Daniel-Constantin Mierla
Hello, On 12/14/11 7:12 PM, Andreas Granig wrote: Hey, One more thing related to outbound routing. Maybe this question is stupid, but I still have to learn a lot regarding IPv6 :) So my Jitsi registered fine, the contact in location table looks like this: contact: sip:testuser1@[x::x]:5060;tr

Re: [SR-Users] force_send_socket and IPv6

2011-12-15 Thread Daniel-Constantin Mierla
Hello, On 12/14/11 6: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 -- may

Re: [SR-Users] Kamailio - Asterisk Integration

2011-12-15 Thread Sammy Govind
Hi, As per my practical experience the same file works for 3.2.z as I was using for 3.1.x, nothing changed in configuration file except the part where rtpproxy functions are called. Regards, Sammy. On Thu, Dec 15, 2011 at 9:12 AM, Anthony Sanchez wrote: > Is there an update of default Kamailio

[SR-Users] Kamailio - Asterisk Integration

2011-12-15 Thread Anthony Sanchez
Is there an update of default Kamailio 3.2.1 configuration file to integrate with Asterisk? Thanks in advance, Tony ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-b