2 incomming routes with 2 accounts from same provide (gizmo) behaves differently

Hey all !

I have a very strange problem with gizmo

I have two different accounts and set up two incomming routes. With one account, everything is allright…but with the second one (configured the same way), calls cannot route to the IVR (the call is dropped) but is okay if the call goes to someone extention.

peer settings:

disallow=all
allow=ulaw
auth=md5
authuser=USERNAME
canreinvite=no
context=from-trunk
dtmfmode=auto
fromdomain=proxy01.sipphone.com
fromuser=USERNAME
host=proxy01.sipphone.com
insecure=very
nat=yes
qualify=yes
secret=PASS
type=peer
username=USERNAME

user context : GIZMONUMBER (not DID)

secret=PASS
type=user
context=from-trunk

register string :

USERNAME:[email protected]/GIZMONUMBER

What is wrong ? I tried the other trunk config on this forum but with hte same result

Thanks

http://www.freepbx.org/support/documentation/howtos/how-to-get-the-did-of-a-sip-trunk-when-the-provider-doesnt-send-it-and-

It did the trick…
Just make the custom context advised and it works…