Re: [SR-Users] Register a CISCO IP phone

2011-03-11 Thread Dani Popa
CISCO SPA 303 IP phone is under NAT? if yes, what router do you use ? Dani On 03/10/11 21:32, Pang, Gary (Liguang) wrote: Dear Sir, I have a difficulty to register a CISCO SPA 303 IP phone. I can register a Soft phone to the SER server by setting the Hold IP address, Proxy, account

[SR-Users] Call subscriber online

2011-03-11 Thread Stefano Larosa
Hi, I'm new on Kamailio 3.0 This is the scenario I would like to build: 1 Subscriber A - 2 kamailio - 3 asterisk - 4 Kamailio - 5 Subscriber B Everything is working fine until the last step This is the code that manage the call from asterisk to kamailio

[SR-Users] How to save a variable in a request and use it in next reply

2011-03-11 Thread Derrick Ding
Hi, All Thanks for all your reply. I use Kamailio 3.0.2. Now I know contact header is: $ct I have some problem when I want to modify the header. Eg. Register: UAOpenSer-SIP proxy Contact in Register request is: -- REGISTER

Re: [SR-Users] pseudo variables available in on_reply route(where can I find all variables stand for)

2011-03-11 Thread Carsten Bock
Hi, see: http://www.kamailio.org/dokuwiki/doku.php - Pseudovariables Carsten 2011/3/11 Derrick Ding dd...@aastra.com: Hi, All I started using Kamailio this week. Could any one tell me where I can find all variables(eg, $ru, $du, $rd, $rp, etc) stand for. Thanks a lot! Derrick

[SR-Users] acc failed_transaction_flag and t_newtran()

2011-03-11 Thread Juha Heinanen
in order to get invite requests accounted, it seems that accounting flags need to be set before t_newtran() is called. is there any way to unset the accounting flags after calling t_newtran()? for example, i would not like to account invites that result to 407 proxy authentication required. --

[SR-Users] acc failed_transaction_flag and t_newtran()

2011-03-11 Thread Juha Heinanen
Juha Heinanen writes: is there any way to unset the accounting flags after calling t_newtran()? for example, i would not like to account invites that result to 407 proxy authentication required. just to clarify, i added statement resetflag(ACC_FAILED_FLAG); just before