Hi All,

I am trying to mimic Receive end for Accept call.

My SIP client is not able to map Invite message.

Here is my call flow.

Register -> (Sending)


è  200 OK  (Receiving)

Subscribe-> (Sending)


è 501 not Implemented (Receiving)


è Invite ( Here I have Issue ... not able to map incoming Invite SIP message )





Please find my message structure below

  <send >
    <![CDATA[
REGISTER sip:10.230.53.225 SIP/2.0
Via: SIP/2.0/UDP 10.230.53.229:[local_port];branch=[branch];rport
Max-Forwards: 70
Contact: <sip:9...@10.230.53.229:[local_port]>
To: "900"<sip:9...@10.230.53.225>
From: "900"<sip:9...@10.230.53.225>;tag=[call_number]
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INFO
Content-Length: [len]
]]>
  </send>

  <recv response="200" crlf="true">
  </recv>

  <send >
    <![CDATA[

SUBSCRIBE sip:9...@10.230.53.225 SIP/2.0
Via: SIP/2.0/UDP 10.230.53.229:[local_port];branch=[branch];rport
Max-Forwards: 70
Contact: <sip:9...@10.230.53.229:[local_port]>
To: "900"<sip:9...@10.230.53.225>
From: "900"<sip:9...@10.230.53.225>;tag=[call_number]
Call-ID: [call_id]
CSeq: [cseq] SUBSCRIBE
Expires: 300
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
INFO
User-Agent: X-Lite release 1104o stamp 56125
Event: message-summary
Content-Length: [len]


]]>
  </send>

  <recv response="501" crlf="true">
  </recv>

<recv request="INVITE" />       Note: I have tried to use both ways but none of 
them are working

<recv request="INVITE" crlf="true" rrs="true">
     <action>
                 <ereg regexp=".*" search_in="hdr" header="From:" assign_to="1" 
/>
          <log message="From is [last_From]. Custom header is [$1]"/>
     </action>
</recv>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to