[Asterisk-Users] Newby with no idea

Mick Hastings mick_hastings at yahoo.com
Thu Dec 2 00:35:00 MST 2004


Hi folks,

thanks for your help with my last question re: japanese FXO. It doesnt sound 
very compatible so I will use a SIP FXO gateway then.

Untill I find one, im just trying to get my 2 cisco SIP phones talking to my 
* server. just as a learning experience for now. heres what I have so far:

2 Cisco 7960's both using DHCP and both registering with my SIP proxy server 
(Brekeke OnDo on windows XP) they can call eachothers extension and chat no 
problems.

Fedora Core 2, and The latest Asterisk from CVS compiled and running.

and one useless modem card :)

what im trying to do is get * to register with my proxy server and then be 
able call * from my SIP phones and my SIP phones from *. not sure whay im 
trying to do this yet but it seemed like a good start to achieving my final 
goal creating an inhouse phone system for our company and well, arr, just a 
place to start i guess. The boss already likes the look of the phones, I 
just have to make them do something useful.

I tried to search the wiki today but the website was down or something.

What I have done so far is:
cat sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0
context = sip
register => 103 at test.com
[test.com]
type = friend
host = 192.168.0.200
fromuser = mick
fromdomain = hcjp.com

 asterisk -vvvc
<Snip>s
Asterisk Ready.
*CLI> Dec  2 16:27:17 WARNING[6754]: chan_sip.c:604 __sip_xmit: sip_xmit of 
0x8f2ca6c (len 352) to 192.168.0.200 returned -1: Bad file descriptor
Dec  2 16:27:18 WARNING[6754]: chan_sip.c:604 __sip_xmit: sip_xmit of 
0x8f2ca6c (len 352) to 192.168.0.200 returned -1: Bad file descriptor
Dec  2 16:27:19 WARNING[6754]: chan_sip.c:604 __sip_xmit: sip_xmit of 
0x8f2ca6c (len 352) to 192.168.0.200 returned -1: Bad file descriptor
Dec  2 16:27:20 WARNING[6754]: chan_sip.c:604 __sip_xmit: sip_xmit of 
0x8f2ca6c (len 352) to 192.168.0.200 returned -1: Bad file descriptor
Dec  2 16:27:21 WARNING[6754]: chan_sip.c:604 __sip_xmit: sip_xmit of 
0x8f2ca6c (len 352) to 192.168.0.200 returned -1: Bad file descriptor
Dec  2 16:27:22 WARNING[6754]: chan_sip.c:687 retrans_pkt: Maximum retries 
exceeded on call 3945500d7690bad126e1c383576f07ba at hcjp.com for seqno 102 
(Critical Request)

STOP NOW

Beginning asterisk shutdown....
Executing last minute cleanups
  == Destroying any remaining musiconhold processes
Yuck! Error in buffer handling...: Broken pipe
Asterisk cleanly ending (0).

none of which really helped to point me in the direction of what I did wrong 
(or didnt do right) But it was enought ot tell me that something wasnt 
right/not good/bad.

what should i do now?

thanks for your help,
cheers,
Mick.






More information about the asterisk-users mailing list