getting sipgate incoming calls working

just1sip
Posts: 3
Member Since:
2010-07-30

I have set up a sipgate account and encountered an issue that many others have: Outgoing calls work fine, incoming calls do not.

The trunk shows registered and online.

I am using X-Lite softphones and I can call from extension to extension fine. 7777 test call routes correctly.

As a troubleshooting step, if I configure X-lite to connect directly to sipgate, it can send and receive calls just fine.

When I go on to the sipgate website and look at 'connected devices' it is showing my test X-Lite installation along with Asterisk. However it shows Asterisk with my internal ip address:

1. Device
Name: Asterisk PBX 1.6.0.26-FONCORE-r78
IP address: 192.168.0.9
UDP port: 5060

2. Device
Name: X-Lite release 1104o stamp 56125
IP address: 75.164.170.206
UDP port: 32184

It looks to me like the address being reported could be the issue. I'm not sure if that is true and I don't know how to alter it. Any assistance would be appreciated.



obeliks
Posts: 877
Member Since:
2010-03-14
This question came up only

This question came up only about 100 times this week.

http://fonality.com/trixbox/forums/trixbox-forums/help/sipgeneral...



just1sip
Posts: 3
Member Since:
2010-07-30
thanks for your reply, I

thanks for your reply,

I added the below to the sip_general_custom.conf

nat=yes
externip=just1sip.dyndns.org
externrefresh=120
localnet=192.168.0.0/255.255.255.0

the good news: sipgate's website now reflects the correct external ip.
the bad news: still no success with incoming calls.

not sure which direction to look next.



stechnique
Posts: 733
Member Since:
2008-02-21
Use externhost and not

Use externhost and not externip for a hostname.



truefocus
Posts: 104
Member Since:
2007-04-25
Sipgate trunk settings

Peer Details

context=from-pstn
dtmfmode=rfc2833
fromdomain=sipgate.com
fromuser=100xxxxxx
host=sipgate.com
insecure=very
nat=yes
qualify=yes
secret=password
type=friend
username=100xxxxxx
User Context: 415XXXXXXX (*this is my DID)

User Details

context=from-trunk
dtmfmode=info
insecure=very
secret=password

Register String
100xxxxxx:password@sipgate.com/415XXXXXXX

Save and reload..

When done create a Inbound Route with DID number: 4157XXXXXXX (*use your own DID)

save reload and your done, this worked for me.
Incoming calls work fine.



just1sip
Posts: 3
Member Since:
2010-07-30
The combination of the above

The combination of the above recommendations seems to have worked for me.

Thank you all very much.

Sounds like the NAT configuration information belongs in the FAQ. . .



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.