Hi all,
After following the link [
http://code.google.com/p/sipml5/wiki/Asterisk] , user was registered happily to asterisk.
Made a call from sipml5 client to asterisk , call also gets connected. But there is no audio between them.
On getting connected to asterisk, I am playing standard prompts like below
exten => 100,1,Answer()
same => 100,n,Playback(vm-from)
same => 100,n,Playback(demo-thanks)
same => Hangup()
Asterisk log snippet :
[2013-07-29 17:41:55.367-PM] -- Executing [100@webrtc:2] Playback("SIP/100-00000000", "vm-from") in new stack
[2013-07-29 17:41:55.370-PM] -- <SIP/100-00000000> Playing 'vm-from.gsm' (language 'en')
[2013-07-29 17:41:56.052-PM] -- Executing [100@webrtc:3] Playback("SIP/100-00000000", "demo-thanks") in new stack
[2013-07-29 17:41:56.055-PM] -- <SIP/100-00000000> Playing 'demo-thanks.gsm' (language 'en')
Also, I have few Q's on the SDP sent by sipml5 client
a) Origin field has ip address as 0.0.0.0. Shouldn't it be my local IP Address or for privacy reasons it is set to 0.0.0.0?
o=Mozilla-SIPUA-22.0 15781 1 IN IP4 0.0.0.0
b) Connection data filed has different connection IP address? What is this IP? Where it is taking from?
c=IN IP4 202.52.56.214
Shouldn't it be my local machine IP Address? Or is it correct?
c) I think asterisk is sending audio to wrong IP. Log says
[2013-07-29 17:41:54.859-PM] VERBOSE[2662][C-00000000] chan_sip.c: [2013-07-29 17:41:54.859-PM]
Peer audio RTP is at port 202.52.56.214:51299Please let me know what I am doing wrong? How to resolve this issue and proceed further.
If more information, logs, configuration files etc is needed to resolve it, please let me know.
Thank you
Rawat
Setup Info:
FF 22, asterisk-11 (trunk), sipml5 (trunk), Ubuntu 12.04
Logs :
Asterisk CLI logs attached [ ast_cli_logs]
Asterisk FULL logs attached [ ast_full_logs]