[asterisk-users] Query

sanchal.singh at alliance-infotech.com sanchal.singh at alliance-infotech.com
Thu Jun 28 09:48:48 CDT 2007


Hi,
     I am trying to establish call through sip phone between two PC  connected to linux box on which asterisk server is running
      
       1st PC is having IP Adress : 192.168.1.149
       2nd PC is having IP Adress : 192.168.1.53

       Now, I am tying to dial from 1st PC to 2nd PC

       I am trying to dial from 1st PC to 2nd PC through asterisk server
       The problem is 1st PC is calling directly to 2nd PC not through asterisk server

      I am doing the following additions in configuration files

 1) sip.conf

    [general]
    context=sip
    bindport=5060           
    bindaddr=0.0.0.0           
    
     [phone1]
     type=friend
     host=192.168.1.149
     port=5060
     nat=yes
     dtmfmode=rfc2833
     context=sip

     [phone2]
     type=friend
     host=192.168.1.53
     port=5060
     nat=yes
     dtmfmode=rfc2833
     context=sip

2) extensions.conf
    exten => 11,1,Dial(SIP/phone2,20,tr)

    Now, I am calling from sip phone1 by name phone2 at 192.168.1.53
     It is not being called through asterisk server running on linux m/c. It is calling directly. As, I am running "sip debub" but no packet dumping is taking place. Can anybody will tell me the error I am doing.
Thanx and regards
sanchal
      


                                               

  












More information about the asterisk-users mailing list