hi I am answering myself... :
1. it is necessary to load VM module in the first ser instance too. 2.- In voicemail.cfg the fifo value is fifo="/tmp/vm_ser_fifo" 3.- In Sems.cfg: the value of 'ser_fifo_name' is "/tmp/vm_ser_fifo" instead of "/tmp/ser_fifo" ( ser_fifo_name=/tmp/vm_ser_fifo )
now it works perfectly.
Rafael
"Rafael J. Risco G.V" rafael_rgv@yahoo.com wrote: hi thanks a lot Bodgan for your help... I have added my alias in voicemail.cfg and now I have errors about "fifo_server" in the first instance as you can see in the debug below..., I will look for some reference in google but if somebody has had the same problem send me some advice.
Rafael Risco
SER (5060) DEBUG --------------------->
9(6673) ERROR: fifo_server: command vm_reply is not available 9(6673) ERROR: fifo_server: command must have at least 3 chars 9(6673) ERROR: fifo_server: command must begin with :: 00001A6105B7AC33 9(6673) ERROR: fifo_server: command must begin with :: Content-Type: application/sdp 9(6673) ERROR: fifo_server: command must begin with :: v=0 9(6673) ERROR: fifo_server: command must begin with :: s=session 9(6673) ERROR: fifo_server: command must begin with :: t=0 0 9(6673) ERROR: fifo_server: command must begin with :: a=rtpmap:0 / 9(6673) INFO: fifo_server: command empty 10(6678) DEBUG: timer routine:4,tl=0x422ba480 next=(nil) 9(6673) ERROR: fifo_server: command vm_reply is not available 9(6673) ERROR: fifo_server: command must begin with :: could not send response. 9(6673) ERROR: fifo_server: command must begin with :: 00001A6105B7AC33 9(6673) ERROR: fifo_server: command must have at least 3 chars 9(6673) INFO: fifo_server: command empty 4(6642) SIP Request: 4(6642) method: <REGISTER> 4(6642) uri: sip:200.110.2.131 4(6642) version: <SIP/2.0>
VOICEMAIL (5090) DEBUG ------------------------------------> 0(6717) DEBUG: init_mod_child (0): tm 0(6717) DEBUG: callid: '293ffabd-6717@200.110.2.131' 0(6717) DEBUG: init_mod_child (0): voicemail 0(6717) voicemail - initializing child 0 2(6719) SIP Request: 2(6719) method: <INVITE> 2(6719) uri: sip:6605454@call.millicom.com.pe:5090 2(6719) version: <SIP/2.0> 2(6719) parse_headers: flags=1 2(6719) Found param type 232, <branch> = <z9hG4bKa827.0de3cd13.0>; state=16 2(6719) end of header reached, state=5 2(6719) parse_headers: Via found, flags=1 2(6719) parse_headers: this is the first via 2(6719) After parse_msg... 2(6719) preparing to run routing scripts... 2(6719) DEBUG : is_maxfwd_present: searching for max_forwards header 2(6719) parse_headers: flags=128 2(6719) Found param type 232, <branch> = <z9hG4bK3500dd15a4123>; state=16 2(6719) end of header reached, state=5 2(6719) parse_headers: Via found, flags=128 2(6719) parse_headers: this is the second via 2(6719) end of header reached, state=9 2(6719) DEBUG: get_hdr_field: <To> [36]; uri=[sip:6605454@call.millicom.com.pe] 2(6719) DEBUG: to body [sip:6605454@call.millicom.com.pe ] 2(6719) get_hdr_field: cseq <CSeq>: <123> <INVITE> 2(6719) DEBUG: get_hdr_body : content_length=180 2(6719) DEBUG: is_maxfwd_present: value = 69 2(6719) check_self - checking if host==us: 20==13 && [call.millicom.com.pe] == [200.110.2.131] 2(6719) check_self - checking if port 5090 matches port 5090 2(6719) check_self - checking if host==us: 20==9 && [call.millicom.com.pe] == [127.0.0.1] 2(6719) check_self - checking if port 5090 matches port 5090 2(6719) DEBUG: t_addifnew: msg id=1 , global msg id=0 , T on entrance=0xffffffff 2(6719) parse_headers: flags=-1 2(6719) found end of header 2(6719) parse_headers: flags=60 2(6719) t_lookup_request: start searching: hash=29322, isACK=0 2(6719) DEBUG: RFC3261 transaction matching failed 2(6719) DEBUG: t_lookup_request: no transaction found 2(6719) DEBUG: add_param: tag=3500dd15a4 2(6719) end of header reached, state=29 2(6719) DEBUG: t_check: msg id=1 global id=1 T start=0x422b65a0 2(6719) DEBUG: t_check: T alredy found! 2(6719) parse_headers: flags=-1 2(6719) check_via_address(200.110.2.131, 200.110.2.131, 0) 2(6719) WARNING:vqm_resize: resize(0) called 2(6719) DEBUG: reply sent out. buf=0x80dbd30: SIP/2.0 1..., shmem=0x422b7ae8: SIP/2.0 1 2(6719) DEBUG: t_reply: finished 2(6719) **************** vm start - begin ****************** 2(6719) parse_headers: flags=-1 2(6719) DEBUG: t_check: msg id=1 global id=1 T start=0x422b65a0 2(6719) DEBUG: t_check: T alredy found! 2(6719) record_route->nameaddr.uri: sip:6605454@200.110.2.131;ftag=3500dd15a4;lr=on 2(6719) vm: first proxy has loose routing. 2(6719) vm: calculated route: sip:6605454@200.110.2.131;ftag=3500dd15a4;lr=on 2(6719) vm: next r-uri: sip:6603000@10.0.0.236 2(6719) parse_headers: flags=-1 2(6719) query="select email_address from subscriber where username='6605454'" 2(6719) vm: write_to_vm_fifo: <0.2 sip_request.voicemail INVITE 6605454 rrisco@millicom.com.pe call.millicom.com.pe 200.110.2.131 5090 sip:6605454@call.millicom.com.pe:5090 sip:6603000@10.0.0.236 sip:6603000@call.millicom.com.pe sip:6605454@call.millicom.com.pe 35669700-9433-dd5b-8215-0002a40055b2@10.0.0.236 3500dd15a4 . 123 29322:943117687 sip:6605454@200.110.2.131;ftag=3500dd15a4;lr=on sip:6605454@200.110.2.131;ftag=3500dd15a4;lr=on P-MsgFlags: 0 Min-SE: 1800 Date: Sat, 25 Apr 1970 20:08:21 GMT . v=0 o=- 9922101 9922101 IN IP4 10.0.0.236 s=AddPac Gateway SDP c=IN IP4 10.0.0.236 t=0 0 m=audio 23390 RTP/AVP 4 18 0 101 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15
2(6719) DEBUG: write_to_vm_fifo: write completed 2(6719) DEBUG: add_to_tail_of_timer[0]: 0x422b66dc 2(6719) **************** vm start - end ****************** 2(6719) DEBUG:destroy_avp_list: destroing list (nil) 2(6719) receive_msg: cleaning up 10(6736) DEBUG: timer routine:0,tl=0x422b66dc next=(nil) 10(6736) DEBUG: FR_handler:stop retr. and send CANCEL (0x422b65a0) 10(6736) ->>>>>>>>> T_code=100, new_code=408 10(6736) DEBUG: relay_reply: branch=0, save=0, relay=0 10(6736) parse_headers: flags=-1 10(6736) check_via_address(200.110.2.131, 200.110.2.131, 0) 10(6736) DEBUG: reply relayed. buf=0x80db730: SIP/2.0 4..., shmem=0x422b7ae8: SIP/2.0 4 10(6736) DEBUG: add_to_tail_of_timer[4]: 0x422b6654 10(6736) DEBUG: add_to_tail_of_timer[0]: 0x422b6668 10(6736) DEBUG: final_response_handler : done 4(6721) SIP Request: 4(6721) method: <ACK> 4(6721) uri: sip:6605454@call.millicom.com.pe:5090 4(6721) version: <SIP/2.0> 4(6721) parse_headers: flags=1 4(6721) Found param type 232, <branch> = <z9hG4bKa827.0de3cd13.0>; state=16 4(6721) end of header reached, state=5 4(6721) parse_headers: Via found, flags=1 4(6721) parse_headers: this is the first via 4(6721) After parse_msg... 4(6721) preparing to run routing scripts... 4(6721) DEBUG : sl_filter_ACK: to late to be a local ACK! 4(6721) DEBUG : is_maxfwd_present: searching for max_forwards header 4(6721) parse_headers: flags=128 4(6721) DEBUG: add_param: tag=39652ef7bd23dd6cc4b64cc488bcb5a3-e162 4(6721) end of header reached, state=29 4(6721) DEBUG: get_hdr_field: <To> [78]; uri=[sip:6605454@call.millicom.com.pe] 4(6721) DEBUG: to body [sip:6605454@call.millicom.com.pe] 4(6721) get_hdr_field: cseq <CSeq>: <123> <ACK> 4(6721) DEBUG: get_hdr_body : content_length=0 4(6721) found end of header 4(6721) DEBUG: is_maxfwd_present: max_forwards header not found! 4(6721) check_self - checking if host==us: 20==13 && [call.millicom.com.pe] == [200.110.2.131] 4(6721) check_self - checking if port 5090 matches port 5090 4(6721) check_self - checking if host==us: 20==9 && [call.millicom.com.pe] == [127.0.0.1] 4(6721) check_self - checking if port 5090 matches port 5090 4(6721) DEBUG: t_addifnew: msg id=1 , global msg id=0 , T on entrance=0xffffffff 4(6721) parse_headers: flags=-1 4(6721) parse_headers: flags=60 4(6721) t_lookup_request: start searching: hash=29322, isACK=1 4(6721) DEBUG: RFC3261 transaction matched, tid=a827.0de3cd13.0 4(6721) DEBUG: t_lookup_request: transaction found (T=0x422b65a0) 4(6721) DEBUG: cleanup_uacs: RETR/FR timers reset 4(6721) DEBUG: add_to_tail_of_timer[2]: 0x422b65e8 4(6721) DEBUG:destroy_avp_list: destroing list (nil) 4(6721) receive_msg: cleaning up 10(6736) DEBUG: timer routine:0,tl=0x422b6668 next=(nil) 10(6736) DEBUG: timer routine:4,tl=0x422b6654 next=(nil) 10(6736) DEBUG: timer routine:2,tl=0x422b65e8 next=(nil) 10(6736) DEBUG: wait_handler : removing 0x422b65a0 from table 10(6736) DEBUG: delete transaction 0x422b65a0 10(6736) DEBUG: wait_handler : done
Bogdan-Andrei IANCU iancu@fokus.fraunhofer.de wrote: second ser doesn't recognize the domain from RURI. added "alias=call.millicom.com.pe"
bogdan
Rafael J. Risco G.V wrote:
Hi , I am trying to add Voicemail services... the problem is that when the call is missed (busy, not answered or not connected) I can see some debug in ser´s second instance for users in "voicemail group" but the call is closed and a busy tone return to the caller... you can see my 3 config files in the following url and details from both ser debugs, please someone send me some advice.
Config files in: http://rrisco.pub.millicom.com.pe/ser_config_files.txt
- ser.cfg for Main SER running on 5060
- voicemail.cfg for second instance on port 5090
- sems.conf for Media Server (sems)
--------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo. Visíta Yahoo! Noticias.
--------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, América Latina y el resto del Mundo. Visíta Yahoo! Noticias.