[Asterisk-video] How to test Sipp as client to connect Asterisk

tran quoc tuan tuantq84 at gmail.com
Thu Sep 9 07:33:56 CDT 2010


Hi,
I use Sipp to send data (play pcap file ) and Asterisk replies messages INFO.
- If I use option "-aa" Sipp answers automatically message INFO by
message 200 OK then Sipp has error "Segmentation fault "
ex : ./sipp -sf sipp_uac.xml -inf database.csv 157.159.16.156:5060 -s
100 -i 157.159.16.91 -trace_err -trace_logs -aa -m $1 -t un
- If I don't use options "-aa", Sipp has a message :

"2010-09-09      14:16:59:951    1284034619.951458: Continuing call on
unexpected message for Call-Id '1-5620 at 157.159.16.91': while pausing
(index 7), received 'INFO sip:sipp at 157.159.16.91:5061 SIP/2.0
Via: SIP/2.0/UDP 157.159.16.156:5060;branch=z9hG4bK26e8be7d;rport
Max-Forwards: 70
From: sut <sip:100 at 157.159.16.156:5060>;tag=as2fdfb442
To: sipp <sip:sipp at 157.159.16.91:5061>;tag=1
Contact: <sip:100 at 157.159.16.156>
Call-ID: 1-5620 at 157.159.16.91
CSeq: 103 INFO
User-Agent: Asterisk PBX 1.6.2.11
Content-Type: application/media_control+xml
Content-Length: 205

<?xml version="1.0" encoding="utf-8" ?>
 <media_control>
 <vc_primitive>
  <to_encoder>
   <picture_fast_update>
   </picture_fast_update>
  </to_encoder>
 </vc_primitive>
 </media_control>
'.
sipp: There were more errors, enable -trace_err to log them. "

but Sipp still transfers data video and audio to server.

I don't understand that Asterisk sends message INFO to client Sipp but
with Softphone, Asterisk doesn't send this message INFO.

I have attached my scenario to test Asterisk
Anyone can help me to solve this problem ?
Thank in advance for all helps!
Best regards,
T.Q.Tuan

On Thu, Sep 9, 2010 at 10:10 AM, tran quoc tuan <tuantq84 at gmail.com> wrote:
> Hi all,
> I have tested successfully Softphone as client to connect Asterisk as Server.
> I want to test Sipp as client to connect Asterisk as Server, because I
> want to test with more and more users.
> I have tried to create a scenario but it doesn't create a session.
> In Asterisk, it returns message : 488 Not Acceptable here. I don't
> understand this reason, because SDP in message INVITE, I copy from
> message of Softphone.
>
> I have attached my scenario,
> Thank in advance for all helps!
> Best regards,
> T.Q.Tuan
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sipp_uac.xml
Type: text/xml
Size: 5608 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-video/attachments/20100909/d40edd12/attachment-0001.bin 


More information about the asterisk-video mailing list