Hi Asterisk users

 

I have a problem with a configuration as shown in the diagram…

 

+-----------------+

| PBX/STUN server |

+-----------------+

        |

        |

        |

+-----------------+

| FIREWALL & NAT  |

+-----------------+

        |

        |

        |

+-----------------+

| PUBLIC INTERNET |

+-----------------+

        |

        |

        |

+-----------------+

| FIREWALL & NAT  |

+-----------------+

        |

        |

        |

+-----------------+

|   SIP CLIENT    |

+-----------------+

 

 

Chanel configuration as follows in sip.conf

 

[2103]

type=friend

context=limited

username=2103

secret=XXXXXXXXXX

callerid="Hayetaipaq" <2103>

calleridnum=2103

host=dynamic

nat=yes

disallow=all

allow=gsm

allow=ulaw

allow=alaw

mailbox=2103

 

It happens to work quite well while the client connects directly to a public Ip addressing schema, but when the client is behind a second NAT I only have one way voice either outgoing or incoming but never both at the same time.

 

Does an STUN server will solve the problem ??? Is it possible to use a third party STUN server outside the PBX network?

 

Thanks in advance asterisk users!

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to