Hi again Stefan,

First of all, thank you very much for your help :)

I can see the SDP is being parsed and SEMS is answering with 200OK, so
I think I'm doing some king of mistake :(

SIP/2.0 200 OK
Record-Route: <sip:192.168.1.115;lr=on;ftag=Mg-4cFZlLwV4Yr-I-9tjwPpgT2PPcchL>
Via: SIP/2.0/UDP 192.168.1.115;branch=z9hG4bKd279.84960cf2.0
Via: SIP/2.0/UDP
192.168.1.113:5060;received=192.168.1.113;rport=5060;branch=z9hG4bKPjUW8lXizNO0kyDwlLq8I9rB2c0pjChhvJ
From: sip:[email protected];tag=Mg-4cFZlLwV4Yr-I-9tjwPpgT2PPcchL
To: sip:[email protected];tag=4603C7BF-4A3656000005AE96-B76C7B90
Call-ID: VoCpFgNB8sklNKFDXLbc9Ebrh6NKS2ga
CSeq: 7261 INVITE
Server: Sip Express Media Server (1.1.0-dev-r1434M (i386/linux))
Contact: <sip:[email protected]:5080>
Content-Type: application/sdp
Content-Length: 224

v=0
o=sems 1304901341 188735006 IN IP4 192.168.1.115
s=session
c=IN IP4 192.168.1.115
t=0 0
m=audio 10000 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

Let's see if I understood well:
- If I set run_invite_event=yes in dsm.conf then 'invite' event is
launched BEFORE sessionStart upon entering the dsm scenario.
- In the starting state we can se some preferences, so that no media
session is started and no automatic reply is generated:
initial state START
        enter {
                set(reply_request="0");
                set(connect_session="0");
        };
- After that, in the invite event we generate the prov. reply and
enter the b2bua mode:
transition "on INVITE" START - invite -> runinvite;
transition "on Session Start" START - sessionStart -> runsession;


state runinvite
        enter {
                dlg.reply(100, "Trying");

dlg.connectCalleeRelayed("sip:[email protected]",
"sip:[email protected]");
        };

transition "Let's wait" runinvite - -> waitconnect;

state waitconnect;
state runsession;

- After this steps we should be in the runsession state without
touching the media.

Am I right?


Thans so much for you time!


Best regards,



-- 
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to