[OpenSIPS-Users] Accounting Invite Retransmissions and NATed Registrations
Bogdan-Andrei Iancu
bogdan at opensips.org
Sat May 4 11:41:39 CEST 2013
Hello Nathaniel,
In script, for initial requests, you can use t_newtran() (very
aggressive approach) or t_check_tras() in order to detect
retransmissions. Do that before doing any other particular processing
for the INVITE (the idea is to detect the retransmission asap, before
doing anything else).
t_check_trans() checks if it is a retransmission (by looking into the
existing transactions in memory), but does not create a transaction if
not a retransmission - the transaction will be created later, by t_relay().
t_newtran() checks and create transaction if not retransmission.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 05/01/2013 08:03 AM, Nathaniel L Keeling III wrote:
> Hello,
>
> I have a couple of questions I would like to ask. First, I have a
> client that is sending the initial Invite twice and I would like to
> know how to detect this within the script? The dual invites are
> causing double accounting and other minor issue. Second, I have a
> scenario where I have p1 send all registrations requests to p2 to
> process requests. Registration of user is successful, but when you try
> and call the user, opensips can not complete the call even though the
> user is found in the location table. How can I resolve this. Also, the
> user is behind a NAT.
>
> Thanks
>
> Nathaniel L Keeling
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list