[Asterisk-Users] PassThrough mode

Eric Wieling aka ManxPower eric at fnords.org
Tue Dec 28 08:35:56 MST 2004


You also want to add canreinvite=no and type=friend to both entries. 
Once you get it working you can try removing canreinvite=no.  In [user2] 
you want usermane=2 of course.

David Liu wrote:
> Hi Vincent,
> 
> This shouldn't be difficult.  Try the following:
> in sip.conf
> 
> [user1]
> username=user1
> secret=password
> nat=yes
> disallow=all
> allow=g723.1
> 
> [user2]
> username=user1
> secret=password
> nat=yes
> disallow=all
> allow=g723.1
> 
> This will force both users to be in G723.1 mode and it should pass thru 
> without problems.
> 
> Note that if you are trying to do transcoding, as in one client wants to talk 
> in G723.1 and the other say in G711 ulaw, then you will get a complain on 
> console saying no compatible codec.



More information about the asterisk-users mailing list