Hi All,

I've got Asterisk working and am trying to configure with Sipgate. I can make out going calls. Incoming calls show up on the AMP panel with the trunk showing red. However, the call does not go to the extension.

I initally configured Asterisk by editing the config files. I have followed the various guides and have edited sip.conf and extensions.conf copy as below.

When I then configured x-lite...nothing worked. I then went into AMP setup and used the GUI to set things up. I set up an extension (not called Xlite and trunk and DID etc. I did not delete the bits added to the config files. My trunk settings are as below.

Questions...
1. Why did the editing of the config files not work?
2. Why did I have to go into the GUI to set it up?
3. Why does the trunk show an incoming call that is not being forwarded to the extension.
4. When I set up the trunk, I got a second extension showing in the extensions part of the GUI with the Extension title '999992 ( sip )' with a user name of '3141217'. The second extension shows the settings I put in the incoming trunk section. Why?


Any help would be gratefully received.

Thanks

Brian.

 


***********************************************************

sip.conf

***********************************************************
[general]

port = 5060
bindaddr = 0.0.0.0   
disallow=all
allow=gsm
allow=ulaw
allow=alaw
context = from-sip-external
callerid = Unknown
externip=***.***.***.***
localnet=192.168.0.1
localmask=255.255.255.0
nat=yes
register => 3141217:[EMAIL PROTECTED]/3141217

#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf

[sipgate]
type=friend
username=3141217
secret=password
host=sipgate.co.uk
fromuser=3141217
fromdomain=sipgate.co.uk
nat=yes
qualify=yes
authuser=3141217
dtmfmode=info
context=incomingsipgate
insecure=very
canreinvite=no
disallow=all
allow=ulaw
allow=alaw

[xlite1]
type=friend
username=xlite1
callerid= Brians notebook <201>
host=dynamic
nat=yes
canreinvite=no
disallow=all
allow=ulaw
allow=alaw


***********************************************

extensions.conf

***********************************************

have added the following to inbound context

[incomingsipgate]
exten => h,1,Hangup
exten => 3141217,1,Dial(SIP/internestelefon,20,tr)

[sipgate]
exten => _9.,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED],30,tr)
exten => _9.,2,Playback(invalid)
exten => _9.,3,Hangup

 

 


***********************************

SIP Trunk part in GUI

************************************

Outbound caller ID: 3141217
Maximum channels:

Outgoing Dial Rules:
Outgoing Settings

Trunk Name: brighton outgoing
PEER Details:

host=sipgate.co.uk
secret=password
type=peer
username=3141217


Incoming Settings

User Context: 3141217
User Details:

callerid=3141217
context=from-pstn
dtmfmode=info
fromdomain=sipgate.co.uk
host=sipgate.co.uk
insecure=very
secret=password
type=user
user=3141217
username=3141217

 

Registration String: 3141217:[EMAIL PROTECTED]/3141217

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to