Nick Hoffman wrote:
> Hey guys. How can you configure SER to associate a particular phone
> number, say 12341234, with a particular SIP client/user agent?
>
> The aim is to be able to call them with either john(a)foo.bar or
> 12341234, but ensure that SER associates 12341234 with john(a)foo.bar
> rather than john(a)foo.bar telling SER "I can be reached at 12341234".
>
> Cheers!
> -- Nick
> e: nick.hoffman(a)altcall.com
> p: +61 7 5591 3588
> f: +61 7 5591 6588
>
> If you receive this email by mistake, please notify us and do not make
> any use of the email. We do not waive any privilege, confidentiality
> or copyright associated with it.
On Thu February 9 2006 19:59, Klaus Darilion <klaus.mailinglists(a)pernau.at>
wrote:
lookup("aliases") and the aliases table will
translate from the alias to
the real name (address or record, canonical URI, ...).
lookup("aliases");
if (!lookup("location")) {
sl_send_reply("404","Not found");
break;
}
regards
klaus
Hi Klaus. I added the lines you mentioned above into ser.cfg and restarted
SER, but dialing 12341234 returned a 404 Not Found to my softphone. I
wasn't sure where those lines were supposed to go, so I tried them in a
few places, all with the same result.
At the moment I have a very basic ser.cfg which I have attached to this
email. When you have a minute, if you would't mind taking a look through
it and letting me know what else needs to be done to get aliases working,
I'd greatly appreciate it.
Cheers!
-- Nick
e: nick.hoffman(a)altcall.com
p: +61 7 5591 3588
f: +61 7 5591 6588
If you receive this email by mistake, please notify us and do not make any
use of the email. We do not waive any privilege, confidentiality or
copyright associated with it.