[SR-Users] [Kamailio]: INVITE Authorization

2010-12-02 Thread Spinov Evgeniy
Hello. I have Kamailio ( K in further ) and 2x Asterisk boxes ( A1 and A2 in further ) configured, so UAC registers at K and when it sends a call, it's routed to A1 or A2, balanced. The problem is, that I cannot find how to authorize INVITE requests, so unregistered UAC could not send INVITE requ

Re: [SR-Users] [Kamailio]: INVITE Authorization

2010-12-03 Thread Spinov Evgeniy
t dumps and they are correct. If you like, I can put them here, but it senseless, cause UA is replying in same way every time: 1. -> INVITE 2. <- 407 from K 3. -> ACK 4. -> DIGEST Hope this will help. On Fri, 03 Dec 2010 11:20:38 +0100, Daniel-Constantin Mierla wrote: > Hello, &g

Re: [SR-Users] [Kamailio]: INVITE Authorization

2010-12-03 Thread Spinov Evgeniy
Mierla wrote: > Hello, > > On 12/2/10 1:42 PM, Spinov Evgeniy wrote: >> Hello. >> >> I have Kamailio ( K in further ) and 2x Asterisk boxes ( A1 and A2 in >> further ) configured, so UAC registers at K and when it sends a call, >> it's routed to A1 or A2, b

[SR-Users] Kamailio NOTIFY

2011-02-09 Thread Spinov Evgeniy
Hello all. I'm having problem with sending NOTIFY packet for event dialog. The problem is, that all NOTIFY packets sent with this event is empty. ( Content-length: 0 ) and in fact, not passing actual status to the phone. In my case this is SPA962. NOTIFY packets for event presence are sent fine

Re: [SR-Users] Kamailio NOTIFY

2011-02-09 Thread Spinov Evgeniy
ialog are empty, cause there are not PUBLISH event: dialog? > > Am 09.02.2011 14:16, schrieb Spinov Evgeniy: > > Hello all. > > > > I'm having problem with sending NOTIFY packet for event dialog. > > > > The problem is, that all NOTIFY packets sent with t

Re: [SR-Users] Kamailio NOTIFY

2011-02-10 Thread Spinov Evgeniy
o never come up in request. Dialog processing is very simple: if (is_method("INVITE|REGISTER")) { dlg_manage(); } Somewhy, pua_dialoginfo comes with INVITE request and never comes with REGISTER. Any ideas? > > Am 09.02.2011 14:56, schrieb Spinov Evgeniy: &g

Re: [SR-Users] Kamailio NOTIFY

2011-02-10 Thread Spinov Evgeniy
tried something like that? On Fri, 2011-02-11 at 01:28 +0100, Klaus Darilion wrote: > Spinov Evgeniy wrote: > > On Wed, 2011-02-09 at 16:24 +0100, Klaus Darilion wrote: > > > > Thank you for the links, especially this one > > http://www.kamailio.org/docs/module

Re: [SR-Users] Kamailio NOTIFY

2011-02-11 Thread Spinov Evgeniy
+0100, Klaus Darilion wrote: > > Am 11.02.2011 07:57, schrieb Spinov Evgeniy: > > Thank you for detailed explanation, now I've got it, but I'm confused > > about workaround. Really nothing could be done to send phone offline or > > get it online when it

[SR-Users] [Kamailio-Users] Rewrite $tU

2011-02-11 Thread Spinov Evgeniy
>Hello, >with the latest version there are alternatives you can use: >> On 12/10/09 5:06 PM, David wrote: >> Hey, >> >> I won't pretend to be an expert in Kamailio, someone will probably >> suggest a better way. But here is how I rewrote my SIP packet's TO >> header before relaying it to the ne

[SR-Users] Interfaces guestures

2011-02-18 Thread Spinov Evgeniy
Hello, all. I'm having Kamailio 3.0.4. Server have 2 physical interfaces, one is private, second is public. INVITE request is coming to Kamailio from public interface and being routed by Kamailio to one of ther asterisk boxes, which is in private network. Packet is routed to correct interface, bu

[SR-Users] Interfaces guestures

2011-02-19 Thread Spinov Evgeniy
warding, e.g. > $fs = "udp:xxx.xxx.xxx.xxx:5060"; > t_relay(); ... > etc. >Cheers, >-- Alex >On 02/18/2011 10:05 AM, Spinov Evgeniy wrote: >> Hello, all. >> >> I'm having Kamailio 3.0.4. Server have 2 physical interfaces, one is >

[SR-Users] Interfaces guestures

2011-02-19 Thread Spinov Evgeniy
do what you want, explicitly force the outgoing >interface by manipulating the $fs pseudovariable prior to >relaying/forwarding, e.g. > $fs = "udp:xxx.xxx.xxx.xxx:5060"; > t_relay(); ... > etc. >Cheers, >-- Alex >On 02/18/2011 10:05 AM, Spinov Evgen

[SR-Users] NAT Traversal

2011-02-24 Thread Spinov Evgeniy
Hello, all. Using nathelper + rtpproxy for subj. Kamailio has public and private network interfaces. Asterisk is only private. RTP Proxy is working in bridge mode and relaying traffic from UAC to Asterisks. Everything is working fine, except one configuration. When the client is behind router ( a

[SR-Users] NAT Traversal

2011-03-01 Thread Spinov Evgeniy
May be I miss some important details? No suggestions? Thank you. > Hello, all. > Using nathelper + rtpproxy for subj. Kamailio has public and private > network interfaces. Asterisk is only private. RTP Proxy is working in > bridge mode and relaying traffic from UAC to Asterisks. > Everything is

Re: [SR-Users] NAT Traversal

2011-03-02 Thread Spinov Evgeniy
eave > the ports. Seeing SIP headers and SDP can indicate the presence of an > ALG or something broken in config logic. > > Also, what is the parameter you give to force_rtp_proxy(...)? > > Cheers, > Daniel > > On 3/2/11 8:38 AM, Spinov Evgeniy wrote: > > M

Re: [SR-Users] NAT Traversal

2011-03-02 Thread Spinov Evgeniy
On Wed, 2011-03-02 at 09:53 +0100, Daniel-Constantin Mierla wrote: > > On 3/2/11 9:32 AM, Spinov Evgeniy wrote: > > Unfortunately ngrep is unavailable right now, cause network was > > configured to use public IPs. May be I'll can do that on development > > network

Re: [SR-Users] NAT Traversal

2011-03-18 Thread Spinov Evgeniy
. As result - complete silence. Please advice, where to dig? On Wed, 2011-03-02 at 09:53 +0100, Daniel-Constantin Mierla wrote: > > On 3/2/11 9:32 AM, Spinov Evgeniy wrote: > > Unfortunately ngrep is unavailable right now, cause network was > > configured to use public IPs. May be I

Re: [SR-Users] [Kamailio-Users] Rewrite $tU

2011-03-23 Thread Spinov Evgeniy
Hi, I've installed, as you advised Kamailio 3.1.2 and used msg_apply_changes(). However, even when I'm not changing anything in the packet and just calling msg_apply_changes() I get errors from K: 7(31755) : [msg_translator.c:519]: ERROR: lump_check_opt: null send socket 7(31755) : [msg_trans

Re: [SR-Users] [Kamailio-Users] Rewrite $tU

2011-03-23 Thread Spinov Evgeniy
the > message and then call msg_apply_changes() only when the flag is set, e.g., > > remove_hf("From"); > setflag(20); > > ... > > if(isflagset(20)) > msg_apply_changes(); > > However, I will update the sources so such log messages will not appear > unless th

Re: [SR-Users] [Kamailio-Users] Rewrite $tU

2011-03-24 Thread Spinov Evgeniy
r. If I've provided you not enough info to find out the reason, I can do the full dumps, as problem is easily repeated. Thank you. > > Cheers, > Daniel > > On 3/24/11 6:48 AM, Spinov Evgeniy wrote: > > On Wed, 2011-03-23 at 15:16 +0100, Daniel-Constantin Mierla wrot

Re: [SR-Users] [Kamailio-Users] Rewrite $tU

2011-03-25 Thread Spinov Evgeniy
On Thu, 2011-03-24 at 14:14 +0100, Daniel-Constantin Mierla wrote: > Are you calling msg apply changes after record_route()? Try to do > record_route() after since it tries to discover the outgoing local > interface which might not be set at that point. This has fixed the problem. Also I'm wond

Re: [SR-Users] [Kamailio-Users] Rewrite $tU

2011-03-27 Thread Spinov Evgeniy
Looking good. I've rewrited variables and it parses well. Script continues to run just after call of msg_apply_changes(). ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.o

[SR-Users] Managing SUBSCRIBES

2011-03-27 Thread Spinov Evgeniy
Hello, everyone. I've got stuck with a small problem with SUBSCRIBES. Let's say we have 2 separate customers with IDs: 1 and 2. They have 2 extenstions each: 1_100, 1_101 and 2_100, 2_101. The task is to subscribe 1_100 to 1_101. When I assign on DSS ( BLF ) key, phone number 1_101, then everyt

[SR-Users] Probing mode howto?

2011-04-18 Thread Spinov Evgeniy
Hello, all. Is there any possibility to set one of dispatcher destinations to probing mode manually? I can set it to active/inactive, however cannot set it to probing via MI. This is really required as, for instance, when asterisk reload takes like 1 minute to reload ( huge DB ), I want to set n

[SR-Users] Howto restore a FIFO file?

2011-05-26 Thread Spinov Evgeniy
Hello, everyone. I've accidentally started 2nd copy of Kamailio and killed it at once. However, fifo file was deleted by killed Kamailio, while the first one copy is running fine. Is there any way to restore the fifo file to the first kamailio, unless restarting it? Thank you. ___

Re: [SR-Users] Kamailio dispatcher

2011-06-12 Thread Spinov Evgeniy
gt; >> Thanks in advance. >> >> >> >> ___ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr

[SR-Users] MWI handling

2011-06-29 Thread Spinov Evgeniy
Hello. Trying to understand how to work with the presence_mwi module. It seems to me, that it's just for my purpose - inform subscribed peers about waiting messages. But it do not export any functions, noting. The scheme is simple: Peer->Kamailio->Asterisk. Asterisk can accept voicemail and when

Re: [SR-Users] MWI handling

2011-06-30 Thread Spinov Evgeniy
This makes the main problem as in documents I've found on asterisk is that it doesn't support PUBLISH, i.e. there is no way to force sending them on MWI event. It works only on SUBSCRIBE-NOTIFY scheme. Did you succeeded with PUBLISH on Asterisk in order to inform Kamailio about MWI? If yes, how? C

Re: [SR-Users] MWI handling

2011-06-30 Thread Spinov Evgeniy
; > I would stick with asterisk handling the mwi subscription and > configure kamailio as a relay only for those events. > > > Regards, > Ovidiu Sas > > On Thu, Jun 30, 2011 at 9:30 AM, Spinov Evgeniy > wrote: > > This makes the main problem as in documents I