-----Ursprüngliche Nachricht-----
Von: users-bounces(a)lists.openser.org
[mailto:users-bounces@lists.openser.org] Im Auftrag von Ali Jawad
Gesendet: Dienstag, 12. Februar 2008 16:25
An: Iñaki Baz Castillo; users(a)lists.openser.org
Betreff: Re: [OpenSER-Users] Routing Problem "To Many Hops"
Thanks again ..I refered to the documentation and it
worked..I have tried to find lookup("location")) to see what
it does but I could not find it. In which part should I look for it ?
Thanks for your patience and help. It is working now but I am
trying to understand my script better.
-----Original Message-----
From: users-bounces(a)lists.openser.org
[mailto:users-bounces@lists.openser.org] On Behalf Of Iñaki
Baz Castillo
Sent: Tuesday, February 12, 2008 5:21 PM
To: users(a)lists.openser.org
Subject: Re: [OpenSER-Users] Routing Problem "To Many Hops"
On Tuesday 12 February 2008 16:12:14 Ali Jawad wrote:
Thank you for your reply
I commented out my section and replaced it with
if (does_uri_exist()) { # The called number is
a local user
if (lookup("location")) #
The user is online
{
route(1);
exit;
}
else
{
route(2);
exit;
}
}
Now if I call a PSTN number I get too many hops, and if I
do a local call
to a user online it does not ring at the other
end. Thank you.
Ali, OpenSer scripting is not easy, you should read more doc
and understand it
better before trying to do all your requeriments.
If a call does "too many hops" it mean that you send it out
(t_relay) without
chaning the RURI, so it comes back to OpenSer, again and again.
If you call a registered user and doesn't ring it's because
the INVITE doesn't
arrive to the phone, does it? have you verified it? This is a
low level
software, you cannot speak about "a phone doesn't ring", the
question is:
does the INVITE arrive to the phone? you can test it with
ngrep, for example.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users