incoming call and outgoing call conflict

iceman_xav
Joined: Thu 23 of Jun, 2011

incoming call and outgoing call conflict

Posted:Thu 23 of Jun, 2011 (22:12 UTC)
new user, I"m using asterisk 1.6.2.9-2 under debian
registration work fine
internal calls works fine
but incoming and outgoing calls are in conflict.
Explanation
sip.conf


[general]

context=appel_entrant

dtmfmode=auto
qualify=yes
register => <MyAccount>:<Password>@sip.3starsnet.com
nat = yes

useragent=xlite

bindport=5060
bindaddr=0.0.0.0
srvlookup=yes

language=fr
progressinband=yes

disallow=all
allow=ulaw


[3stars_outgoing]
type=peer
host=sip.3starsnet.com
fromuser=<MyAccount>
username=<MyAccount>
secret=<Password>
dtmfmode=info
qualify=yes
fromdomain=sip.3starsnet.com
context=moncontexte
nat=yes
canreinvite=no


[3stars_incoming]
type=peer
context=appel_entrant
host=sip.3starsnet.com
qualify=yes

;#### USERS ####


[atabox]
type=friend
username=atabox
secret=<Pass>
callerid=1500
host=dynamic
context = moncontexte
canreinvite=no
qualify = yes
nat = no



In this case, outgoing call working but not incoming call

if I put section [3stars_outgoing] after section [3stars_incoming] the incoming call work but not the outgoing

it's appear the problem is on the host same in the both case but need this value on both.

What can I do to have both calls working ( in and out )

In case of need to solve problem, I"m from Belgium working with 3starsnet.

Thanks in advance for your help