Hi,

         In a local network (192.168.1.x) I have one Asterisk server, one linux 
machine and some VoIP phones.
The (company) phones are registered in the Asterisk Server (and can communicate 
with each other and the outer world!).
I want to use sipp on the linux machine to send via the Asterisk Server a 
voice-call to one VoIP phone (just as
one company phone would).

I have done these steps:

-          Registered the sipp user on Asterisk by changing some config files 
(found them online somewhere), mainly:
sip.conf:

[sipp]
type=friend
context=sipp
host=dynamic
port=5060
user=sipp
canreinvite=no
disallow=all
allow=alaw
allow=ulaw

extensions.conf:

[sipp]
exten => 1001,1,Answer
exten => 1001,n,SetMusicOnHold(default)
exten => 1001,n,WaitMusicOnHold(20)
exten => 1001,n,Hangup


-          Installed sipp on the linux machine.

-          Tried to accomplice what I wanted to do, with running:


o   sipp -s 103 192.168.1.21 -sn uac_pcap -m 1 -l 1 -mi 192.168.1.202
Note that 1.21 is the phone's IP, 103 is the internal code-number for the 
phone, uac_pcap is the default UA client scenario with media
and 1.202 is the linux machine. This works even without registration on the 
Asterisk server, and the SIP packets are sent between the phone
and the linux machine without Asterisk' s "interference".

o   sipp -s 103 192.168.1.19 -sn uac_pcap -m 1 -l 1 -mi 192.168.1.202
Note that 1.19 is the Asterisk server' s address and this command is what I 
would wanted to play [sip (phoneNumberToCall) (AsteriskAddress) (pcapFile) 
(make1Call) (myIP)] but it does not.

o   sipp -sn uac -d 3000 -s 1001 192.168.1.191 -r 5 -m 100 -trace_screen

This does indeed talk directly to the Asterisk Server, but that's not what I 
want to do.



So, any ideas how to call the other phones through Astersik using sipp?

BR, John

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to