I finally saw why it was doing it: In Mobile -> Settings -> SIP From field
there is 4 options:
Tel/User (Standard)
User/User (Standard)
Tel/Tel/ (Not Reg)
User/Tel (Not Reg)

when I choose any of the first two, I dont have this problem but when I use
the last two I have this problem.  At the same time, if I use the first two,
I am not getting the caller id of the person who called the sim, but in the
cdr I see the name of the extensions the gateway was registered too.

So what I had to do, is to set a fixed IP to the gateway and instead of
having host=dynamic I set host=ip_of_gateway.

This way the gateway does not have to register, and I can keep the settings
that passes the right caller id.  Another way would be to have asterisk read
another field for the caller id, because the number of the caller is
somewhere on the sip invite.


2009/11/27 Massimo Nuvoli <mass...@archivio.it>

> Pascal Bruno ha scritto:
> > Hi,
> >
> > I am experiencing a weird issue with my MV-372.
> >
> > Mobile1 & Mobile2 are both registered to my asterisk server, I am able
> > to use them for outgoing call with no problem, but when I call the sims
> > in my gateway, they are routed to the right context/extension/priority,
> > but as soon as I hangup, the sim unregistered from asterisk and tries to
> > register with my the callerid of the last incoming call as follows:
> >
> > Registration from '"mv372" 
> > <sip:+17546542...@77.29.9.16<sip%3a%2b17546542...@77.29.9.16>
> > <mailto:sip%3a%2b17546542...@77.29.9.16<sip%253a%252b17546542...@77.29.9.16>>>'
> failed for '97.26.196.2' - No
> > matching peer found
> >
> > and the registration fails since I dont have a peer created for
> +17546542334
> >
> > Anyone have an idea on how to go about fixing this?
>
> I am using the MV-372 (in and out) and dont have this problem.
>
> First: check if the device has the LATEST firmware, if not, upgrade.
>
> Second: send an email to the portech service. :-)
>
> In the past there was a lot of bug in the firmware of the MV372, and
> also buggy hardware release, but not now... so check also the hardware
> version (in the web interface -> firmware update -> top on the page).
>
> I think this is not "asterisk" issue.
>
> Bye.
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Pascal B.
http://www.kameleonlabs.com/
Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  -
"Sports is like a war without the killing."
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to