[Asterisk-Users] iax problem

Piotr Chytla pch at packetconsulting.pl
Tue Sep 27 04:35:52 MST 2005


On Mon, Sep 26, 2005 at 11:02:47AM -0600, Rich Adamson wrote:
> 
> > > For #2, incoming calls would be handled with:
> > >  exten => 6789,1,Dial(SIP/1235)
> > > 
> > Besides that :
> > 
> > *CLI> iax2 show registry 
> > Host                  Username    Perceived             Refresh  State
> > X.X.X.X:4569      Username1       [MYIP]:4569        60  Registered
> > X.X.X.X:4569      Username2       [MYIP]:4569        60  Registered
> > X.X.X.X:4569      Username3       [MYIP]:4569        60  Registered
> > 
> > source and destination ports for all 3 iax registrations are the same ,
> > and my isp see only one, becouse rest is overwriten.
> 
> Have you tried using three different contexts for those in iax.conf?
> 
> 
Yes and result is as I suppose :

    -- Accepting UNAUTHENTICATED call from X.X.X.X:
       > requested format = ilbc,
       > requested prefs = (ilbc|gsm|ulaw|alaw),
       > actual format = ilbc,
       > host prefs = (),
       > priority = caller
    -- Executing Dial("IAX2/Username3 at X.X.X.X:4569-1", "IAX2/1237") in new stack
    -- Called 1237
    -- Call accepted by 192.168.57.238 (format gsm)
    -- Format for call is gsm
    -- IAX2/1237-8 is ringing
    -- Hungup 'IAX2/1237-8'

Everything enters via last registred username 'Username3'.


/pch

-- 
Dyslexia bug unpatched since 1977 ...
exploit has been leaked to the underground.



More information about the asterisk-users mailing list