[Asterisk-Users] Newbie - getting two local phones tocommunicate would be a good start :)

Dave Cotton dcotton at linuxautrement.com
Sat Jan 3 10:19:29 MST 2004


On Sat, 2004-01-03 at 17:55, John Coll wrote:
> ;
> ; liza:/etc/asterisk/sip.conf
> ;
> [general]
> port = 5060
> bindaddr = 0.0.0.0
> externip = 10.0.1.198
> 
> [5702]
> type=friend
> host=dynamic
> context=johnhome
> reinvite=no
> canreinvite=no
> qualify=300
> callerid="John workroom #1" <5702>
> mailbox=5702
> nat=yes
> 
> [5703]
> type=friend
> host=dynamic
> context=johnhome
> reinvite=no
> canreinvite=no
> qualify=300
> callerid="John workroom #2" <5703>
> mailbox=5703
> nat=yes

> And now dial 5703 from 5702. 5703 rings but when 5703 is taken off hook no
> voice path is established and both phones give rapid beep beep beep after a
> few seconds. The following has been cut a bit but I hope I've left something
> useful in there....
> 

Isn't this the codecs problem?

Try adding :-

disallow=all
allow=ulaw
allow=alaw

into both of your sip.conf descriptions.
-- 
Dave Cotton <dcotton at linuxautrement.com>




More information about the asterisk-users mailing list