Dear OpenSIPS-users,
The table location has the column attr where I use to store specific additional
information for each registration.
Whenever A calls B, I have to read this specific information from the A record
and from the B record. That is, I need to get and handle specific information
about the caller and callee.
For the callee, I use to invoke the lookup("location") function that put the
needed information in the attr_avp. That is good and works very well. Then, I
just have to read the attr_avp to get such specific information.
For the caller, I use to invoke:
$var(aorChamador) = $(ct.fields(uri));
lookup("location","","$var(aorChamador)");
However it causes amazing side effect in the SIP signaling. Ex: When A calls B,
B stays quiet and A rings. So A can answer A. Crazy!
According to the documentation, lookup will overwritten the Request-URI. I
guess that is why the SIP signaling become incoherent.
How could I get the caller attr specific information without side effects?
Any hint will be very helpful!!
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users