[Asterisk-Users] incorrect context called when receiving call on SIP channel

Emerson, Michael MEmerson at vitalbasics.com
Tue Oct 19 11:52:59 MST 2004


I am setting up asterisk to work with Broadvoice and so far am working with
a very simple dialplan.  My sip.conf file is below.  My problem is I think
the wrong context is being called on incoming calls.  I think the [Incoming]
context should be run and instead the [incoming1] context is used.  Can
anyone see what I am doing wrong?

 

 

 

[general]

disallow=all

allow=ulaw

port=5060

bindaddr=0.0.0.0

externip=1.2.3.4

localnet=192.168.1.20/255.255.255.0

context=incoming1

maxexpirey=180

defaultexpirey=160

canreinvite=no

tos=reliability

srvlookup=yes

videosupport=no

dtmfmode=inband

nat=yes

 

register => 5551112222:password at sip.broadvoice.com

 

[sip.broadvoice.com]

type=peer

context=incoming

host=sip.broadvoice.com

nat=yes

canreinvite=no

dtmfmode=inband

insecure=very

 

[sip.broadvoice.com]

type=user

username=5551112222

fromuser=5551112222

fromdomain=sip.broadvoice.com

secret=password

disallow=all

allow=ulaw

maxexpirey=15

host=sip.broadvoice.com

nat=yes

canreinvite=no

dtmfmode=inband

 

Mike Emerson

Vital Basics Inc.

207-321-2338

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041019/420c3657/attachment.htm


More information about the asterisk-users mailing list