Asif -
Despite what the documentation says, I'd drop the context portion of
your command.
i.e. exten => s-NOANSWER,n,VoiceMail(${EXTEN})
Since you are clearly going to VM for different reasons you can also
add an optional switch that will play a different vm-message. Check
the docs for more info.
Mark
At 03:04 a.m. 20/03/2008, you wrote:
>Hi All,
>i want to configure voice mail on Asterisk 1.4 for multiple users. let
>me explain you the scenario.
>
>i have 10 users with the name of
>1000,2000,3000,4000,5000,6000,.......and these user can call to each
>other. Now i want to configure separate voice mail box for separate
>user.
>
>my extensions.conf ..... settings below..
>[voicemail]
>exten => _X.,1,Dial(SIP/${EXTEN})
>exten => _X.,n,NoOp(Dial Status: ${DIALSTATUS})
>exten => _X.,n,Goto(s-${DIALSTATUS},1)
...........
The software can be downloaded from:
http://download.dns-hosting.info/CDRTool/
Changelog since 6.1.0:
cdrtool (6.3.0) unstable; urgency=low
* Boost the speed of the rating engine from 100% to 1000% depending
on
the complexity of the rating tables
* Fixed set of delimiter from global.inc setting when exporting csv
files
* Added GetEntityProfiles command to rating engine
* Return json encoded for GetPrepaidHistory
* Added script to create partial billing_rates tables
* Moved $CDRTool['rating'] settings to $RatingEngine in global.inc
* Added $RatingEngine['split_rating_table'] option to query rating
data in
multiple tables, each table name is autogenerated from the
billing_rates.name field
* Fixed set of timeout for each SOAP connection
* Adjust some column lengths
Must apply setup/mysql/alter_tables.mysql
cdrtool (6.2.3) unstable; urgency=low
* Print information about the normalize lock in syslog and to stdout
* Log if rating engine takes more time to complete. Must set
$RatingEngine['log_delay'] to a value in micro seconds in
global.inc and
restart ratingEngine
* Small html changes in sip settings page
* Renamed RatingEngine object to differ from the same setting name
from global.inc
cdrtool (6.2.2) unstable; urgency=low
* Added setting in global.inc $RatingEngine['prepaid_lock'] to enable
multiple parallel calls using the same prepaid account, this is
done by
disabling the lock (setting it to 0 or false). Disable the lock
only if
you accept that the balance might become negative
* Added email filter to Sip->getAccounts()
* Log the call start time in the head of rating info to eliminate
the confusion when rating calls that span multiple profiles
* Show total call duration in rate info head
* Use <voice-mailbox> instead of absolute URIs for call diversions
* Removed unnecessary code used in the past for replication of
changes to remote soap engine
* Fixed replication of customer account to remote platform
* Add active_master to replicatedDatabases in global.inc
* Added web link between sip target and sip_accounts
* Rewrite of mysql monitoring functions
* Added DeleteBalance and DeleteBalance History commands to rating
engine
* Use colors in mysql replication status
* Added posibility to replicate customer entries in Customer Port
* Added getPrepaidHistory function to the rating engine
* Replaced false with 0 and true with 1 for the return values from
rating engine
* Show database ip address when replication monitor returns an error
* Fixed name of sip_ports settings
* Added setup/crontabs directory for non debian installations
cdrtool (6.2.1) unstable; urgency=low
* Correct update of radius records when mediaproxy field is NULL
or !timeout
You must reload the sql stored procedures from
setup/radius/OpenSER/radius_accounting.proc or
update Freeradius with setup/radius/OpenSER/sql.conf
when not using the stored procedures
* Log add balance to prepaid_history table
cdrtool (6.1.9) unstable; urgency=low
* Fixed memory leak related to calling the same soap function
several times
* Added separate access numbers for FUNV, FBUS, FNOL, FNOA
* Fixed load of customer properties in ngnpro client
* Support multiple clusters for mysql replication monitor
* Fixed vulnerability related to missing BYE and MediaProxy
radius Update action (reported by Inaki Baz Castil)
You must reload the sql stored procedures from
setup/radius/OpenSER/radius_accounting.proc or
update Freeradius with setup/radius/OpenSER/sql.conf
when not using the stored procedures
* Specify if output of soap functions is html formatted or not
cdrtool (6.1.8) unstable; urgency=low
* Fixed mrtg buildStatistics call in cron.d (env LANG=C)
* Added web page to show replications status and dynamic
instructions about how to fix it
* Replace $CDRTool['mysql_clusters'] in global.inc with
$replicated_databases (see setup/global.inc.in for syntax)
* Delete DB1 and DB2 definitions from global.inc
cdrtool (6.1.7) unstable; urgency=low
* Set mobile_number per SIP account
* Add sip_accounts_lite to soap engine settings
* Update voicemail full name when sip account firstname or lastname
changes
* Create templates_c dir required by smarty
* Added templates directory for sending welcome note
cdrtool (6.1.6) unstable; urgency=low
* Fixed load of customer profiles for prepaid calls when
no default customer defined
cdrtool (6.1.5) unstable; urgency=low
* Added lock icon when SIP UA registered using TLS contact
* Added more information about renormalizing prepaid calls
* Show port number and transport protocol in sip trace
* Group trace message per IP instead of ip:port
* Added welcome message per soap engine
* Show error message when ngnpro client is not configured
* Fixed link from sip domains to sip aliases page
* Fixed ENUM soap port authentication in sip settings page
* Replaced DB_ser with DB_openser
Edit global.inc and replace DB_ser with DB_openser
* Increased curl timeout for bulk SOAP operations
* Return price in debit balance
cdrtool (6.1.4) unstable; urgency=low
* Remove sample mrtg files
cdrtool (6.1.3) unstable; urgency=high
* Fixed calculation of rating profiles when using having specific
gateways/domains/subscribers
* Fixed default port alocation for NGNPro version < 3
* Allow set of reseller 0.0 (admin) in login account
* Show SipThor node in Sip settings title bar
* Fixed management of presence rules
* Fixed link from Sip accounts to sip settings page
cdrtool (6.1.2) unstable; urgency=high
* Fixed detection of CDR duration when minimumDuration was set
cdrtool (6.1.1) unstable; urgency=low
* Corrected default login account sql insert statement
Regards,
Adrian
Hi All,
i want to configure voice mail on Asterisk 1.4 for multiple users. let
me explain you the scenario.
i have 10 users with the name of
1000,2000,3000,4000,5000,6000,.......and these user can call to each
other. Now i want to configure separate voice mail box for separate
user.
my extensions.conf ..... settings below..
[voicemail]
exten => _X.,1,Dial(SIP/${EXTEN})
exten => _X.,n,NoOp(Dial Status: ${DIALSTATUS})
exten => _X.,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Background(vm-nobodyavail)
exten => s-NOANSWER,n,VoiceMail(${EXTEN}@usersmail)
exten => s-NOANSWER,n,Hangup()
exten => s-CONGESTION,1,Background(vm-nobodyavail)
exten => s-CONGESTION,n,VoiceMail(${EXTEN}@usersmail)
exten => s-CONGESTION,n,Hangup()
exten => s-CANCEL,1,Background(vm-nobodyavail)
exten => s-CANCEL,n,VoiceMail(${EXTEN}@usersmail)
exten => s-CANCEL,n,Hangup()
exten => s-BUSY,1,Background(salesrep)
exten => s-BUSY,n,VoiceMail(${EXTEN}@usersmail)
exten => s-BUSY,n,Hangup()
exten => s-CHANUNAVAIL,1,Background(vm-nobodyavail)
exten => s-CHANUNAVAIL,n,VoiceMail(${EXTEN}@usersmail)
exten => s-CHANUNAVAIL,n,Hangup()
my voicemail.conf
[usersmail]
1000 => 1212, userm, 1000(a)abc.com
2000 => 1212, userm, 2000(a)abc.com
please help me how can i set calling number before send voice mail in
users voicemail box.
when i dial like VoiceMail(${EXTEN}@usersmail) voice mail not work and
when i heard code user, like this VoiceMail(1000@usersmail) voicemail
work fine. but i want to set if user dial 2000 or 3000 or 4000 it
should be set automatically.
thanks for your cooperations.
regards,
Asif
Hello everyone,
In OpenSER 1.1 the following route block worked perfectly:
route[5] {
# LCR PSTN handler
xlog("$rm $si $ru $ci - LCR - Starting\n");
if (!load_gws()) {
xlog("$rm $si $ru $ci - LCR - Error in load_gw, setting engerr 21\n");
avp_printf("$avp(s:engerr)", "21");
route(15);
};
if (!next_gw()) {
xlog("$rm $si $ru $ci - LCR - Error in next_gw, setting engerr 22\n");
avp_printf("$avp(s:engerr)", "22");
route(15);
};
t_on_failure("5");
xlog("$rm $si $ru $ci - LCR - Sending to $td\n");
route(1);
}
In OpenSER 1.2.3 it fails on next_gw() every time but I am unable to
find out why. I used the new convert option to mysqldb.sh and I think
my LCR tables are ok. I tried turning up the verbosity but I couldn't
see anything relevant to LCR. What could be going on here?
Thanks!
--
Kristian Kielhofner
How can I use avp_db_query() with SQLite in OpenSER?
Doug.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Hi,
I am having some trouble with nat traversal. Depending on which phone is
originating the call, it may either have one way audio, two way, or even
neither.
Here is the matrix I have tested so far. Hardphone to hard phone works fine
between two spa942 or either of the spa942 phones and the budgetone, the
problems come into the picture when soft phones are used.
caller callee RTP direction
budgetone linphone neither
budgetone spa942 both
budgetone xlite both
linphone budgetone one way
linphone spa942 one way
linphone xlite neither
spa942 budgetone both
spa942 linphone neither
spa942 xlite one way
xlite budgetone both
xlite linphone both
xlite spa942 both
Openser.cfg
http://pastebin.ca/946561
Question.... If I was to use mediaproxy with OpenSER, is there any way to capture RTP quality metrics with it?
Thanks, Doug.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Hi,
I am confused by documentation with foo bar examples.
Can someone please give me a clear ser.cfg example of avp_subst that
really works
in your running ser.cfg?
preferably one that works on and avp called $revision to substitute
a substring of numbers (8831) with another set of numbers (5431)
where the target digits are surrounded by other stuff.
..mike..
.
Hello,
On 03/18/08 13:02, Devesh wrote:
> Hi Daniel,
> Again thanks.
> I have commented authentication part from file openser.cfg . But this is not
> working for me .
there might be other problems.
> Where should I change in file.
>
that is hard to tell :-)
I would recommend you to install ngrep, wireshark or other network
sniffing tool and watch the sip traffic. It will help to troubleshoot
better, you will see where sip messages are sent and where (if) are blocked.
Cheers,
Daniel
PS. please cc to mailing list.
> Thanks & Regards
> Devesh Bissa
> persistent system ltd.
>
>
>
> -----Original Message-----
> From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
> Sent: Tuesday, March 18, 2008 3:27 PM
> To: Devesh
> Cc: users(a)openser.org
> Subject: Re: [OpenSER-Users] openser msilo problem
>
> Hello,
>
> seems that you authenticate the MESSAGEs sent by msilo -- filter out
> these ones, the source IP should be localhost.
>
> Cheers,
> Daniel
>
>
> On 03/18/08 11:49, Devesh wrote:
>
>> Hi Daniel,
>> Thanks for your reply.
>> I am not able to grep any message because this utility is not on my
>>
> machine.
>
>> I am sending you MSILO log.(attached)
>> Please guide me where I am wrong.
>>
>>
>> Thanks & Regards
>> Devesh Bissa
>> persistent system ltd.
>>
>>
>>
>> -----Original Message-----
>> From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
>> Sent: Tuesday, March 18, 2008 2:30 PM
>> To: Deveshb
>> Cc: users(a)lists.openser.org
>> Subject: Re: [OpenSER-Users] openser msilo problem
>>
>> Hello,
>>
>> On 03/14/08 16:17, Deveshb wrote:
>>
>>
>>> Hi,
>>> I have install openser with msilo module . Offline messages stored
>>>
>>>
>> there
>>
>>
>>> but it's not deliver to client( I am using X-Lite).
>>> it gives me following error
>>> DBG:maxfwd:is_maxfwd_present: max_forwards header not found!
>>> DBG:uri:has_totag: no totag
>>> DBG:tm:t_lookup_request: start searching: hash=3841, isACK=0
>>> DBG:tm:matching_3261: RFC3261 transaction matching failed
>>> DBG:tm:t_lookup_request: no transaction found
>>>
>>>
>>>
>> these are not errors, are debug messages.
>>
>> Grab the SIP traffic for this case and and send here, that will show
>> where the message is delivered. Sample command:
>>
>> ngrep -d any -qt -W byline port 5060
>>
>> Cheers,
>> Daniel
>>
>>
>>
>>
>>
>>> Could you please help me .
>>>
>>> Thank you
>>> Devesh
>>>
>>>
>>>
>> DISCLAIMER
>> ==========
>> This e-mail may contain privileged and confidential information which is
>>
> the property of Persistent Systems Ltd. It is intended only for the use of
> the individual or entity to which it is addressed. If you are not the
> intended recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this communication in
> error, please notify the sender and delete all copies of this message.
> Persistent Systems Ltd. does not accept any liability for virus infected
> mails.
>
>>
>>
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
>
I have the following permissions module setup:
modparam("auth_db|permissions|uri_db|usrloc|domain|lcr", "db_url",
"mysql://user:password@localhost/ser")
modparam("permissions", "db_mode", 0)
modparam("permissions", "trusted_table", "trusted")
if (!is_uri_host_local()) {
if (is_from_local() || allow_trusted() ) {
route(5);
route(1);
} else {
sl_send_reply("403", "Forbidden");
xlog("403 in call type processing. rs $rs si $si rm
$rm ru $ru tu $tu fu $fu fd $fd rr $rr");
};
return;
};
When an invite is received the calls is rejected with a 403 and "403 in call
type processing" is written to the log file. So allow_trusted must be
evaluating to false
I can see from the log that the following query is executed:
13 Query select proto,from_pattern,tag from trusted where
src_ip='202.180.001.001'
When I execute this query directly on the database it returns:
+-------+--------------+------+
| proto | from_pattern | tag |
+-------+--------------+------+
| any | NULL | NULL |
+-------+--------------+------+
1 row in set (0.00 sec)
Could anyone advise what I've done wrong?
OpenSER1.3.1
Regards
Cameron