Re: [asterisk-users] Were i make mistake

2007-05-07 Thread Ronaldo

Hi Ardit,

You set two session with the same name ([test]).
Try changing those names to [test1] and [test2]

Ronaldo.

Ardit Saliu wrote:


I’ve found some manuals and tried this to do :

Sip.conf

[test]

type=friend

username=test1

secret=test1

host=192.168.1.238

context=tutorial

fromuser=SIP Phone

callerid=101

nat=no

canreinvite=yes

dtfmode=info

disallow=all

allow=ulaw

[test]

type=friend

username=test

secret=test

host=192.168.1.240

context=tutorial

callerid=100

nat=no

canreinvite=yes

dtfmode=info

disallow=all

allow=ulaw

Extensions.conf

[tutorial]

exten = 101,1,Dial(SIP/test1)

exten = 100,1,Dial(SIP/test)

allow restarted with sudo /etc/rc.d/init.d/asterisk restart

I’m using Xlite 3.0 34025

In the phone shows “Registration error: 404 – Not found”

What should I do now??

I just want to call from one phone to another one



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
  


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Were i make mistake

2007-05-06 Thread Ardit Saliu
I've found some manuals and tried this to do :

Sip.conf

 

[test]

type=friend

username=test1

secret=test1

host=192.168.1.238

context=tutorial

fromuser=SIP Phone

callerid=101

nat=no

canreinvite=yes

dtfmode=info

disallow=all

allow=ulaw

 

 

 

[test]

type=friend

username=test

secret=test

host=192.168.1.240

context=tutorial

callerid=100

nat=no

canreinvite=yes

dtfmode=info

disallow=all

allow=ulaw

 

 

Extensions.conf 

[tutorial]

exten = 101,1,Dial(SIP/test1)

exten = 100,1,Dial(SIP/test)

 

allow restarted with sudo /etc/rc.d/init.d/asterisk restart

 

 

I'm using Xlite 3.0 34025

 

In the phone shows Registration error: 404 - Not found

 

What should I do now??

I just want to call from one phone to another one

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Were i make mistake

2007-05-06 Thread Nico Busch
First of all, both users have the same name:

[test]

type=friend

username=test1
...

[test]

type=friend

username=test
...

You should change this to:

[test1]

type=friend

username=test1
...

[test]

type=friend

username=test
...


Nico

Ardit Saliu schrieb:

 I’ve found some manuals and tried this to do :

 Sip.conf

  

 [test]

 type=friend

 username=test1

 secret=test1

 host=192.168.1.238

 context=tutorial

 fromuser=SIP Phone

 callerid=101

 nat=no

 canreinvite=yes

 dtfmode=info

 disallow=all

 allow=ulaw

  

  

  

 [test]

 type=friend

 username=test

 secret=test

 host=192.168.1.240

 context=tutorial

 callerid=100

 nat=no

 canreinvite=yes

 dtfmode=info

 disallow=all

 allow=ulaw

  

  

 Extensions.conf

 [tutorial]

 exten = 101,1,Dial(SIP/test1)

 exten = 100,1,Dial(SIP/test)

  

 allow restarted with sudo /etc/rc.d/init.d/asterisk restart

  

  

 I’m using Xlite 3.0 34025

  

 In the phone shows “Registration error: 404 – Not found”

  

 What should I do now??

 I just want to call from one phone to another one

 

 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
   

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users