[Kamailio-Users] Speed dial

salman farci farcisalman at gmail.com
Thu Aug 21 06:40:50 CEST 2008


Hi,

I have openser 1.2.2 installed with mysql as backend. I was able to
run a simple call service after registering users in location table.
Now that I'm trying implement a speed_dial, it returns "404 call not
found" error at the Xlite panel after dialing a short dial number as
per speed_dial table entry.  But if I short dial my own short dial
number it dials back to me(working) ! What might b the problem ?

script file :
...........
if (uri=~"sip:[0-9]{2}@.*")
                  sd_lookup("speed_dial");
............

speed_dial table entry :

+----+------------+----------+----------------+--------------+----------------+-----------+----------+-----------------+
| id    | username | domain | sd_username | sd_domain  | new_uri
   | fname    | lname    | description     |
+----+------------+----------+----------------+--------------+----------------+-----------+----------+-----------------+
|  5    | 103          |                | 33                  |
10.1.2.214  | 103 at 10.1.2.214 |           |
|  4    | 102          |                | 22                  |
10.1.2.214  | 102 at 10.1.2.214 |           |
|  6    | 101          |                | 11                  |
10.1.2.214  | 101 at 10.1.2.214 |           |
|  9    | 105          |                | 55                  |
10.1.2.214  | 105 at 10.1.2.214 |           |
+----+------------+----------+----------------+--------------+----------------+----------+----------+-----------------+

can anyone clarify ? Thanx

regards

Farci




More information about the Users mailing list