I have this error 400 ul_add : flag expected .
I found this thread but I am not sure where to add the lines in the config
file
http://lists.iptel.org/pipermail/serusers/2005-February/015535.html
>So i cheated, I edited config.php in serweb, added a line
>var $flags
>
>Then I went further down, and addedd
>$this->flags="128";
>
>and then in sql_and_fifo_functions.php
>
>I changed the lines reading
>
>$replication. "\n" to
>
>$replication.
>$config->flags."\n";
>
>NOTICE I removed the "\n" after replication, it didnt work with that.
>
>I ran it all again, and it works, cleaned up the pending table, added in
>subscriber and also added the alias in aliases, user logged in find from
>xlite and also from his login panel, so I guess its all okay.
Hello I use a cisco 2600 as sip gw, and i have an error when i make call
forwarding, the caller do not receive the ringing tonne.
example:
the GW receive a call from the pstn (caller1), and he forward this call to
the proxy.
on the proxy a call forwarding is activated to a mobile phone, so the proxy
rewrite the sip uri, and the call is forwarded to the same GW.
the problem is that caller1 never receive the ringing tone. I see that the
GW correctly send and receive the 183 Session Progress message but he never
send this on the pstn.
I have also tried to used 2 different GW but I have the same problem.
Laurent
8.313239 1x.x.x.x70 -> 1x.x.x.x13 SIP/SDP Request: INVITE
sip:4202371@spadatel.org:5060, with session description
8.315617 1x.x.x.x13 -> 1x.x.x.x70 SIP Status: 100 trying -- your call is
important to us
8.316326 1x.x.x.x13 -> 1x.x.x.x14 SIP/SDP Request: INVITE
sip:0244203036@sip.spadatel.org:5060, with session description
8.318357 1x.x.x.x14 -> 1x.x.x.x13 SIP Status: 100 trying -- your call is
important to us
8.318876 1x.x.x.x14 -> 1x.x.x.x70 SIP/SDP Request: INVITE
sip:0244203036@1x.x.x.x70:5060, with session description
8.386719 1x.x.x.x70 -> 1x.x.x.x14 SIP Status: 100 Trying
15.636038 1x.x.x.x70 -> 1x.x.x.x14 SIP/SDP Status: 183 Session Progress,
with session description
15.636451 1x.x.x.x14 -> 1x.x.x.x13 SIP/SDP Status: 183 Session Progress,
with session description
15.637680 1x.x.x.x13 -> 1x.x.x.x70 SIP/SDP Status: 183 Session Progress,
with session description
15.662967 1x.x.x.x70 -> 1x.x.x.x13 SIP Request: PRACK
sip:1x.x.x.x13:5060;ftag=A5A7C-2313;lr=on
15.663123 1x.x.x.x13 -> 1x.x.x.x70 SIP Request: PRACK
sip:0244203036@1x.x.x.x70:5060
When I start ser, log file shows a warning:
rtpp_test: can't get version of the RTP proxy
Based on other posts, I got the latest version of RTP Proxy
(cvs -d:pserver:anonymous@cvs.ser.berlios.de:/cvsroot/ser co rtpproxy) and
installed it.
ps shows that rtpproxy is running
I am running FC2. Do I need to massage the config file to get this working
properly?
Any suggestions would be greatfully received.
Regards
Cameron
Yes, this is the same issue I'm going through, append_branch seems to work on the server side. Haven't had time to test on the client side though.
-----Original Message-----
From: Evan Borgström [mailto:evan.borgstrom@ca.mci.com]
Sent: Wednesday, April 06, 2005 3:20 PM
To: kramarv(a)yahoo.com
Cc: Greger V. Teigre; Matt Schulte; serusers(a)lists.iptel.org
Subject: Re: [Serusers] still no help - usrloc synchronization
It's just the way that t_register works, if you call t_relay_to more
than once the same error will occur... It's quite messy, you probably
have to use append_branch like;
save("location");
rewritehostport("ser2.domain.com:5060");
append_branch();
rewritehostport("ser3.domain.com:5060");
append_branch();
t_replicate("ser4.domain.com:5060");
I haven't tested this but the logic should work since the t_replicate
function just calls t_relay_to. Also, you'll probably want to use
save_noreply() on the hosts processing the replicated register messages
otherwise the host replicating the register will spew errors. Like I
said, messy.
You could probably do it more elegantly using avpops similar to the
trusted ip example in the docs.
-Evan
Tina wrote:
> Yep, it didn't help
>
> */REGISTER++++fixing contact and port/*
> */Fix contact: Insert buf - sip:tuka@192.168.25.113:5060
> 6(1305) ERROR: t_newtran: transaction already in process 0x28361068
> /*
> */"Greger V. Teigre" <greger(a)teigre.com>/* wrote:
>
> The error means that t_newtran has been run while an
> existing transaction is still in the workings. Have you tried
> moving your save() to *before* the t_replicate()?
> g-)
>
> ---- Original Message ----
> From: Tina
> To: Matt Schulte
> Cc: serusers(a)lists.iptel.org ; greger(a)teigre.com
> Sent: Tuesday, April 05, 2005 05:00 PM
> Subject: RE: [Serusers] still no help - usrloc synchronization
>
> > Thanks a lot, gentelmens!
> >
> > I have jumped to the same conclusion. The only thing I am worried -
> > t_replicate() creates aditional SIP traffic between sers. And I also
> > get some strange error with each REGISTER:
> >
> > 1(712) ERROR: t_newtran: transaction already in process 0x28336768
> >
> > Don't have any idea what I am doing wrong....
> >
> > Below is my ser.cfg snippet.
> > As far as you see I am using mediaproxy package to solve NAT issues.
> > I always force relay, cause I had nathelper problems with
> > UAC1->ser->NAT->UAC2 configuration.
> > I am going to test new mediaproxy release.
> > BRs,
> > Tina
> >
> >
> > < BR>> ============================
> >
> > . . .
> > # ------------------------- request routing logic
> -------------------
> > # main routing logic
> > route{
> > #-------------------------------------------------------
> > if (!method=="REGISTER") record_route();
> >
> #-------------------------------------------------------????????????????????
> > # loose-route processing
> > if (loose_route()) {
> > route(8); #--go to mediaproxy processing
> > break;
> > };
> > ...
> > if (method=="REGISTER") {
> > #------Replicate to the peers
> >
> > #---Ser 1
> > if (!src_ip==192.168.25.103)
> > t_replicate("192.168.25.103","5060");
> > #---Ser 2
> > if (!src_ip==192.168.25.115)
> > t_replicate("192.168.25.115","5060");
> >
> > save ("location");
> > break;
> > };
> > #-----------------------------------------------INVITE
> > if (method=="INVITE") {
> > log (1, "INVITE: Radius Accounting\n");
> > t_on_failure("4"); #---voice mail
> > use_media_proxy();
> > t_on_reply("5"); #--mediaproxy
> > };
> > #--------------------------------------------------BYE
> > if (method=="BYE" || method=="CANCEL") {
> > log (1, "BYE or CANCEL: Radius Accounting\n");
> > };
> > #---------------------------------------------------
> > if (!lookup("location") && !lookup("aliases")) {
> > sl_send_reply("404", "Not Found");
> > break;
> > };
> > if (!t_relay()) {
> > sl_reply_error();
> > };
> > }
> >
> > #-------------------------------------------------------
> > failure_route[4]{
> > if (t_check_status("408|486")){
> > append_hf("P-hint: Rewrited to VM");
> > rewritehostport("192.168.25.116:5060");
> > append_branch();
> > t_relay();
> > break;
> > };
> > }
> > #---------------------------------------------------------
> > onreply_route[5]{
> > if (status =~ "(183)|2[0-9][0-9]" && !search("^Content-Length:\
> > 0")) {
> > if ( (!(src_ip=="SERVER1"))
> > && (!(src_ip=="SERVER2"))
> > && (!(src_ip=="SERVER3")) ){
> > if ( search("c=IN IP4 192.168.*")||search("c=IN IP4
> > 10.*")||search("c=IN IP4 172.16.*") ) {
> > fix_contact();
> > };
> > };
> > use_media_proxy();
> > }
> > }
> >
> > ===================================================
> >
> > Matt Schulte <mschulte(a)netlogic.net> wrote:
> > I'm starting to lean this direction, using t_replicate and all. I
> > could
> > never get usrloc (db mode) to function properly.. t_replicate is a
> > dirty
> > but very effective workaround.
> >
> > -----Original Message-----
> > From: Greger V. Teigre [mailto:greger@teigre.com]
> > Sent: Saturday, April 02, 2005 1:33 AM
> > To: kramarv(a)yahoo.com
> > Cc: serusers(a)lists.iptel.org
> > Subject: Re: [Serusers] still no help - usrloc synchronization
> >
> >
> > Have a look at this thread:
> > http://lists.iptel.org/pipermail/serusers/2005-January/014669.html
> > g-)
> >
> > Java Rockx wrote:
> >> Tina,
> >& gt;
> >> I thought I saw you post the other day that you did not want to use
> >> t_replicate(), however, this is probably your best bet to getting
> >> this
> >
> >> to work, IMHO.
> >>
> >> Regards,
> >> Paul
> >>
> >> On Apr 1, 2005 4:08 PM, Tina wrote:>>
> >>> Hi, please help me, I'm stuck with it!!!!!
> >>> I am trying to set up several sers with a shared MySQL database for
> >>> location service.
> >>>
> >>> I set in each ser.cfg:
> >>>
> >>> modparam("usrloc", "db_mode", 2)
> >>> modparam("usrloc",
> >>> "db_url","sql://ser:heslo@192.168.25.163/ser")
> >>>
> >>> and the servers are not synchronized.
> >>> The I set
> >>> modparam("usrloc", "db_mode", 2)
> >>>
> >>>
> >>> made UAC (Xlite) register to one of the servers.
> >>> ; I see it via usrloc, but there is no record in "location" mySQL
> >>> table....So others do not see the client and I'm unable to make
> >>> calls....
> >>>
> >>>
> >>> Please help how to work with usrloc and mySQL...
> >>>
> >>> Tina,
> >>> software engineer
> >>>
> >>> ________________________________
> >>> Do you Yahoo!?
> >>> Better first dates. More second dates. Yahoo! Personals
> >>>
> >>>
> >>> _______________________________________________
> >>> Serusers mailing list
> >>> serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
> >>>
> >>>
> >>>
> >>
> >> _______________________________________________
> >> Serusers mailing list
> >> serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced search. Learn
> more.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
How about with append_branch? I tested it out server side and it passes
the register to each server. I didn't test from the UA yet though. Will
keep you posted.
-----Original Message-----
From: Andreas Granig [mailto:andreas.granig@inode.info]
Sent: Wednesday, April 06, 2005 5:14 PM
To: Matt Schulte
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] t_replicate to multiple servers
Hi,
Matt Schulte wrote:
> Does anyone know if it's possible to replicate to multiple servers?
> When testing, the first one in the list is fine but all subsequent
> replicates don't ever make it to the servers. When I look in my 'main'
> ser I see:
>
> ERROR: t_newtran: transaction already in process 0xd7231e04
I had the same problem and didn't get it to work with t_replicate(), but
it works like charm using forward_tcp() in combination with
save_noreply() for some months now...
See http://lists.iptel.org/pipermail/serusers/2005-February/015300.html
for a configuration example.
Hth,
Andy
Ack, I didn't even think about NAT. Would these be added before it gets
sent off to the second proxy? ie:
if (!src_ip==blah.netlogic.net) {
add_rcv_param();
t_replicate("blah.netlogic.net", "999");
};
-----Original Message-----
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Tuesday, April 05, 2005 7:49 AM
To: Matt Schulte; kramarv(a)yahoo.com
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] still no help - usrloc synchronization
Well, you still have the NAT issues unless you do load balancing and
your
SER servers have the same public IP.
Have you looked at 0.9.0 nathelper function add_rcv_param() ? It will
add received info to the contact header for the other SER to
process. Haven't really tried yet...
g-)
Matt Schulte wrote:
> I'm starting to lean this direction, using t_replicate and all. I
> could never get usrloc (db mode) to function properly.. t_replicate is
> a dirty but very effective workaround.
>
> -----Original Message-----
> From: Greger V. Teigre [mailto:greger@teigre.com]
> Sent: Saturday, April 02, 2005 1:33 AM
> To: kramarv(a)yahoo.com
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] still no help - usrloc synchronization
>
>
> Have a look at this thread:
> http://lists.iptel.org/pipermail/serusers/2005-January/014669.html
> g-)
>
> Java Rockx wrote:
>> Tina,
>>
>> I thought I saw you post the other day that you did not want to use
>> t_replicate(), however, this is probably your best bet to getting
>> this
>
>> to work, IMHO.
>>
>> Regards,
>> Paul
>>
>> On Apr 1, 2005 4:08 PM, Tina <kramarv(a)yahoo.com> wrote:
>>>
>>> Hi, please help me, I'm stuck with it!!!!!
>>> I am trying to set up several sers with a shared MySQL database for
>>> location service.
>>>
>>> I set in each ser.cfg:
>>>
>>> modparam("usrloc", "db_mode", 2)
>>> modparam("usrloc",
>>> "db_url","sql://ser:heslo@192.168.25.163/ser")
>>>
>>> and the servers are not synchronized.
>>> The I set
>>> modparam("usrloc", "db_mode", 2)
>>>
>>>
>>> made UAC (Xlite) register to one of the servers.
>>> I see it via usrloc, but there is no record in "location" mySQL
>>> table....So others do not see the client and I'm unable to make
>>> calls....
>>>
>>>
>>> Please help how to work with usrloc and mySQL...
>>>
>>> Tina,
>>> software engineer
>>>
>>> ________________________________
>>> Do you Yahoo!?
>>> Better first dates. More second dates. Yahoo! Personals
>>>
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Does anyone know if it's possible to replicate to multiple servers? When
testing, the first one in the list is fine but all subsequent replicates
don't ever make it to the servers. When I look in my 'main' ser I see:
ERROR: t_newtran: transaction already in process 0xd7231e04
I'm assuming it's talking about replication to the first one, maybe I'm
barking up the wrong tree?
code:
if (!src_ip==blah.netlogic.net) {
add_rcv_param();
t_replicate("server1.netlogic.net",
"5060");
t_replicate("server2.netlogic.net",
"5060");
};
Hi,
I was searching for mediaproxy and rtpproxy.
I realized that they help to pass voice traffic through NAT, but I do not
want this.
I just want to pass the media through tha same machine that has ser.
I have a two softphones and a SER server at the same network.
Any advice?
Best regards,
---------------------------------------
Alexandre Passito
Universidade Federal do Amazonas
Departamento de Ciência da Computação
LabVoIP - GRSD - UFAM - Brasil
---------------------------------------
When I start ser, log file shows a warning:
rtpp_test: can't get version of the RTP proxy
Based on other posts, I got the latest version of RTP Proxy
(cvs -d:pserver:anonymous@cvs.ser.berlios.de:/cvsroot/ser co rtpproxy) and
installed it.
ps shows that rtpproxy is running
I am running FC2. Do I need to massage the config file to get this working
properly?
Any suggestions would be greatfully received.
Regards
Cameron
Are you refering to append_branch? If so the format is a URI. I'm not
sure what I would put there.
Thanks much...
-----Original Message-----
From: Samuel Osorio Calvo [mailto:samuel.osorio@nl.thalesgroup.com]
Sent: Wednesday, April 06, 2005 10:13 AM
To: serusers(a)lists.iptel.org; Matt Schulte
Subject: Re: [Serusers] t_replicate to multiple servers
I guess you should use several add_branch calls and one final
t_replicate. Similar to the t_relay behavior....in fact they are almost
the same...
Try something like:
if (!src_ip==blah.netlogic.net) {
add_rcv_param();
add_branch( "server1.netlogic.net",
"5060");
t_replicate("server2.netlogic.net",
"5060");
Samuel.
Unclassified.
>>> "Matt Schulte" <mschulte(a)netlogic.net> 04/06/05 04:43PM >>>
Does anyone know if it's possible to replicate to multiple servers? When
testing, the first one in the list is fine but all subsequent replicates
don't ever make it to the servers. When I look in my 'main' ser I see:
ERROR: t_newtran: transaction already in process 0xd7231e04
I'm assuming it's talking about replication to the first one, maybe I'm
barking up the wrong tree?
code:
if (!src_ip==blah.netlogic.net) {
add_rcv_param();
t_replicate("server1.netlogic.net",
"5060");
t_replicate("server2.netlogic.net",
"5060");
};
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers