Hi Raphael - As suggested, I tried with Kamailio as a Sip proxy and it worked as required. Thank you. I have another question though. Is there a way of getting SEMS to prompt for a user's ID and then a PIN to access the messages in a voicebox rather than invoking the Voicebox application directly and passing that information in via the P-App-Param header? I looked into the PIN Collect app, but it uses REFER to send the collected pin back. Ideally I don't want to perform any REFER handling. I've also looked at the tutorials and examples and thought of using some kind of mix between the myjukebox and mycc applications, but being completely new to C++ I'm not sure about how I would go about using these apps to build what I need. Any help would be greatly appreciated. Thank you. Sachin ________________________________
From: Raphael Coeffic [mailto:[email protected]] Sent: 20 January 2010 16:43 To: Medakkar, Sachin (Sachin); [email protected] Subject: via address vs. received ip/port (was: Re: [Sems] Help using SEMS) On 20.01.2010 12:06, Medakkar, Sachin (Sachin) wrote: Hi Raphael - Firstly, thank you for your quick response. Could you tell me whether I could use SER to have the response from SEMS sent back to the expected port my application server is listening on, or whether it too behaves in a similar way to SEMS? I am not 100% sure at this place. If I were you, I would try it. Actually, all the UAs I have tried so far were working like a charm... Are you trying to do something special by sending the request from another ip/port as were you which to get the reply? Maybe there is another much simpler solution? Another thought was whether SEMS can use TCP? unfortunately not. And it is not on the agenda, as SER can be used that purpose. It can translate between UDP and TCP back and forth. Regards, Raphael. Regards, Sachin ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Raphael Coeffic Sent: 20 January 2010 10:40 To: [email protected] Subject: Re: [Sems] Help using SEMS On 19.01.2010 16:49, Medakkar, Sachin (Sachin) wrote: Hi - I've just downloaded and installed SEMS to try and use, but am having a little difficulty in receiving its responses. I have a SIP Servlet that is sending an INVITE to SEMS over UDP from a random socket it has opened (e.g. port 8111) and expecting to receive a response at port 5070 as defined in the topmost Via header it has added. It seems to me that SEMS is sending responses to the same port that it the request was sent along (i.e 8111) instead of 5070. Could you confirm whether SEMS sends its responses over UDP to the address AND port defined in the top most Via header? No, it is sent to the IP/port the request has been received from, which is the most reliable method. Let's think of NATs and what the UAC thinks his address/port is... Doing that 100% rigth would require a STUN server to be hosted at the same ip/port as SEMS, so that the same outbound port is used on the NAT. Only this way, the UAC gets a chance to guess its real ip/port. Regards, Raphael.
_______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
