[Spce-user] New user question...

Robert B devo at spudland.com
Wed Jul 13 17:05:08 EDT 2011


Hi folks...

I'm trying to get a fairly basic setup going here to serve a fairly 
specific purpose that, on its surface, seems like a fairly trivial task.

I've got a few IP-PBX systems setup for clients and friends and I 
maintain relationships with a few different wholesalers. The problem is 
management of these IP-PBXes when IP addresses change. So I'm trying to 
build my own SIP gateway where I can control the dialplans in a central 
local, then provide clients with my own server's hostname for its gateway.

I am not interested in dealing with media streams. I'm leaving that up 
to the endpoint devices. I don't run Asterisk and I don't want to be in 
the B2BUA business.

So I have the software going in an EC2 instance. I have my softphone 
registered successfully. I've created a SIP peering contract and added a 
SIP peer's IP and port.

When I try to place a call to a PTSN number, I receive a "service or 
option unavailable" response and the Kamailio-lb.log says:

Jul 13 21:01:11 spce /usr/sbin/kamailio[3178]: INFO: <script>: New 
request - M=INVITE 
R=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
F=sip:devo at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
T=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
IP=my.ip.ad.dr:1039 ID=XYZ.
Jul 13 21:01:11 spce /usr/sbin/kamailio[3178]: INFO: <script>: NATed 
request detected - M=INVITE 
R=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
F=sip:devo at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
T=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
IP=my.ip.ad.dr:1039 ID=XYZ.
Jul 13 21:01:11 spce /usr/sbin/kamailio[3178]: INFO: <script>: Relaying 
request, du='sip:127.0.0.1:5062' - M=INVITE 
R=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
F=sip:devo at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
T=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
IP=my.ip.ad.dr:1039 ID=XYZ.
Jul 13 21:01:14 spce /usr/sbin/kamailio[3195]: WARNING: <script>: 
Inbound failover - M=INVITE 
R=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
F=sip:devo at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
T=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
IP=my.ip.ad.dr:1039 ID=XYZ.
Jul 13 21:01:14 spce /usr/sbin/kamailio[3195]: ERROR: <script>: Failed 
to select next proxy - M=INVITE 
R=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
F=sip:devo at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
T=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
IP=my.ip.ad.dr:1039 ID=XYZ.
Jul 13 21:01:14 spce /usr/sbin/kamailio[3180]: INFO: <script>: New 
request - M=ACK 
R=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
F=sip:devo at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
T=sip:4025551212 at ec2-abcdefg.compute.amazonaws.com;transport=UDP 
IP=my.ip.ad.dr:1039 ID=XYZ.

Any ideas what I'm not doing right here?

-- Robert





More information about the Spce-user mailing list