Hello,
Meidiana Ten wrote:
Hi, I still have problem when forwarding call to voicemail I thought I have configured it the right way As your advise, I add append_hf into my ser.cfg before t_relaying
if (uri =~ "sip:1.*@") { log("Forwarding to 5070"); rewritehostport("localhost:5070"); append_hf("P-Email-Address:voicemail@pcr.ac.id\r\n"); t_relay_to_udp("localhost","5070"); break; }
that looks correct.
what does the SEMS log look like if you start it with -D 3 -E ?
Stefan
is that true btw?? the address I used is from one of aliases I added to SER database it still can't work when the call forwards to voicemail. for additional info, I configured the eyebeam to call 115@pcr.ac.id mailto:115@pcr.ac.id to forward to voicemail and 113@pcr.ac.id mailto:113@pcr.ac.id to check for voicemail.Hmm..tell me if I'm wrong my sems.conf is below. thanx for the attention
Regards,
Meidiana
# $Id: sems.conf.sample,v 1.21 2005/01/05 16:48:04 sayer Exp $ # # sems.conf.sample # # Sip Express Media Server (sems) # # sample configuration file # # # whitespaces (spaces and tabs) are ignored # comments start with a "#" and may be used inline # # example: option=value # i like this option #
plugin_config_path=/opt/sems-vm/etc/sems/
# optional parameter: fork={yes|no} # # - specifies if sems should run in daemon mode (background) # (fork=no is the same as -E) fork=yes
# optional parameter: stderr={yes|no} # # - debug mode: do not fork and log to stderr # (stderr=yes is the same as -E) stderr=yes
# optionqal parameter: loglevel={0|1|2|3} # # - sets log level (error=0, warning=1, info=2, debug=3) # (same as -D) loglevel=2
# optional parameter: socket_name=<filename> # # - path and file name of our unix socket socket_name=/tmp/sems_sock
reply_socket_name=/tmp/sems_rsp_sock
# optional parameter: ser_socket_name=<filename> # # - path and file name of Ser's unix socket ser_socket_name=/tmp/ser_sock
# optional parameter: plugin_path=<path> # # - sets the path to the plug-ins # - may be absolute or relative to CWD plugin_path=/opt/sems-vm/lib/sems/plug-in
# optional parameter: smtp_server=<hostname> # # - sets address of smtp server smtp_server=mail
# optional parameter: smtp_port=<port> # # - sets port of smtp server smtp_port=25
# optional parameter: rtp_low_port=<port> # # - sets port of rtp lowest server rtp_low_port=10000
# optional parameter: rtp_high_port=<port> # # - sets port of rtp highest server rtp_high_port=60000
# optional parameter: media_processor_threads=<num_value> # # - controls how many threads should be created that # process media - on single-processor systems set this # parameter to 1 (default), on MP systems to a higher # value media_processor_threads=1
config.voicemail=inline #CFGOPTION_SEMS_ANNOUNCEPATH announce_path=/opt/sems-vm/lib/sems/audio/ #ENDCFGOPTION
#CFGOPTION_SEMS_ANNOUNCEMENT default_announce=default_en.wav #ENDCFGOPTION
#CFGOPTION_SEMS_RECORDTIME max_record_time=30 #ENDCFGOPTION
#CFGOPTION_SEMS_TEMPLATEDIR email_template_path=/opt/sems-vm/etc/sems/ #ENDCFGOPTION config.voicemail=end
Food fight? http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367 Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367