[Serusers] accounting
harry gaillac
gaillacharry at yahoo.fr
Sun Jul 24 18:42:11 CEST 2005
Can we add email_address column in aliases table
and something like in AnswerMachine.cpp (voicemail
plugin):
email address would be added in aliases table
with someting like: serctl alias add <alias> <uri>
<email>
///////////////////////////////////////////////////////
if(AmConfig::SendMethod == "fifo"){
DBG("`P-Email-Address' has not been found: trying
fifo db\n");
SerDBQuery email_query("aliases");
email_query.addKey("email_address");
email_query.addWhereClause("username = \"" + cmd.user
+ "\"");
///////////////////////////////////////////////////////
--- harry gaillac <gaillacharry at yahoo.fr> a écrit :
> Hello,
>
> I use ser/serweb-0.9.3 I added tow accounts with
> numerical aliases.
> When I dial user1 at domain to user2 at domain it's ok.
> if i wish to forward to voicemail sems send me back
> voicemessages.
> However if i dial alias1 at domain to alias2 at domain I
> get
>
> the message below.
>
> How can I solve this problem ?
>
> Harry
>
>
///////////////////////////////////////////////////////
> Jul 24 14:58:15 serveur1 Sems[2535]: Error:
> (AmSession.cpp)(startSession)(497): 404 voicemail:
> no
> email address for user <84>
> Jul 24 14:58:15 serveur1 /usr/sbin/ser[7495]: ACC:
> call missed: method=INVITE,
> i-uri=sip:84 at nxs.yi.org:5060;user=phone,
> o-uri=sip:h.gaillac at 192.168.0.20,
> call_id=66219bb6-f9eef79c-bc2479d3 at 192.168.0.21,
> from="test"
> <sip:test at nxs.yi.org>;tag=CB323432-D0A509E1,
> code=404
> voicemail: no email address for user <84>,
> userpart=84
>
///////////////////////////////////////////////////////
>
>
>
>
>
>
>
___________________________________________________________________________
>
> Appel audio GRATUIT partout dans le monde avec le
> nouveau Yahoo! Messenger
> Téléchargez cette version sur
> http://fr.messenger.yahoo.com
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
More information about the sr-users
mailing list