David,

I think that is the wrong syntax - if you have Kamailio's IP address
after the -i, SIPp will try to bind that IP address (which it doesn't
own) and fail. You need "./sipp -sn uac -i <your local network IP
address> <Kamailio machine IP address>"

Note that you need to use the IP address that can talk to your network
(the one which Kamailio is on, probably 192.168.x.x), not 127.0.0.1
(which is localhost-only).

Best,
Rob

On 2 April 2014 20:22,  <[email protected]> wrote:
> Hi Rob,
>
> I tried doing that by imputing ./sipp -sn uac 127.0.0.1 -i IP dress, It
> responds with the error message, 1396509142.105827: Unable to bind main
> socket, errno = 125 (Cannot assign requested address). Is there an issue
> with my syntax, since I don't see why SIPP shouldn't be able to access
> Kamailio's IP address.
>
> Thankfully
> David
>
>
>
>
> -----Original Message-----
> From: Rob Day <[email protected]>
> To: davidjmunzer <[email protected]>
> Cc: sipp-users <[email protected]>
> Sent: Wed, Apr 2, 2014 12:54 pm
> Subject: Re: [Sipp-users] Connecting phone system to SIPp
>
> Hi David,
>
> I think this may be because your Windows machine provides its IPv6 or
> its localhost address first, so SIPp uses that and is then unable to
> send messages to other IPv4 machines on the network. If you explicitly
> specify an IP address to bind to (with the -i option) you should get
> better results.
>
> Best,
> Rob
>
> On 2 April 2014 19:18,  <[email protected]> wrote:
>> The SIP server that I am using is Kamailio.
>>
>>
>> -----Original Message-----
>> From: Rob Day <[email protected]>
>> To: Munzer,David J <[email protected]>
>> Cc: sipp-users <[email protected]>
>> Sent: Wed, Mar 26, 2014 1:14 pm
>> Subject: Re: [Sipp-users] Connecting phone system to SIPp
>>
>> Rob,
>>
>> By phone system, I do mean SIP server, specifically a combination of
>> Kamailio and Freeswitch. When I try running the program using "./sipp -sn
>> uac the ip address",  It informs me  that it's unable to send UDP message:
>> Bad address. I've checked that the SIP server's address is correct by
>> doing
>> ip add on the SIP server to verify the IP address.  Any ideas how to
>> approach this issue?
>>
>> Thankfully,
>> David
>>
>> David,
>>
>> When you say that you have a phone system running, do you mean that
>> you have a SIP server (Kamailio/Clearwater/Asterisk) running, or
>> something else?
>>
>> If you have a SIP server, it is probably listening on port 5060
>> (though you can check by running `netstat -lnp`) and you can just give
>> the IP address of that machine as a command-line argument to SIPp. I'm
>> assuming you want to use SIPp in UAC mode to test this phone system -
>> if you want SIPp in UAS mode, handling calls sent to it by that SIP
>> server, you'll need to check the documentation of that SIP server to
>> find how to configure it.
>>
>> SIPp only communicates through the SIP protocol, so if by 'phone
>> system' you don't mean a SIP server, you'll have to set one up to
>> translate between SIP and whatever phone system you have.
>>
>> Best,
>> Rob
>>
>> On 25 March 2014 19:14, Munzer,David J <[email protected]> wrote:
>>> Hi,
>>>
>>> I have just finished installing SIPp and am not sure how to connect my
>>> phone system to SIPp. My computer is running the program on Windows 7
>>> through Cygwin. My phone system runs on Alpine Linuz through a USB.
>>> Because of the two different operating systems, I need need to connect
>>> the two most likely through the IP address. However, I am unsure how to
>>> go about this. I would really appreciate help on this matter.
>>>
>>> Thankfully,
>>> David
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their
>>> applications. Written by three acclaimed leaders in the field,
>>> this first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/13534_NeoTech
>>> _______________________________________________
>>> Sipp-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Sipp-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>

------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to