[Asterisk-Users] xlite and asterisk

Yair Hakak yhakak at gmail.com
Thu Nov 11 03:46:16 MST 2004


Hello,
 try this document (from the wiki):

http://www.astmasters.net/stuff/X-Lite-and-Asterisk.pdf

setting the auth param and the canreinvite and reinvite might help.

-yair



On Thu, 11 Nov 2004 10:38:55 -0000, Ashling O'Driscoll
<ashling.odriscoll at cit.ie> wrote:
> Hi,
> 
> I havent received many replies so i was just wondering again if
> anyone has any thoughts of the 404 call not found issue.I have only a
> very basic configuration which can be seen below in the original
> email. I have since modified this so that each client (i.e. 2000 and
> 2001) have 'context=from-sip' included in their config and [from-sip]
> is in the extensions.conf file.
> 
> I have now included the diagnostic log from the xlite client to see
> if that helps. Also when i do sip show peers I see:
> 
> Username     Host
> 2001         157.190.70.231
> 2000         84.203.148.14
> 
> The 84.203.148.14 is the address of asterisk, should the 2001 client
> be registering with that address too?
> 
> Any help appreciated.
> Aisling.
> 
> SEND TIME: 4679188
> SEND >> 84.203.148.14:5060
> INVITE sip:2001 at 84.203.148.14 SIP/2.0
> Via: SIP/2.0/UDP
> 84.203.148.14:5061;rport;branch=z9hG4bKFDC50F318C6B44F09C2FCBBAE4DF34A
> 9
> From: Aisling O' Driscoll <sip:2000 at 84.203.148.14:5061>;tag=2391420445
> To: <sip:2001 at 84.203.148.14>
> Contact: <sip:2000 at 84.203.148.14:5061>
> Call-ID: 3638FD10-CE4C-46B1-BFEA-2A6DCC4C2EF6 at 172.16.3.12
> CSeq: 6927 INVITE
> Proxy-Authorization: Digest
> username="2000",realm="asterisk",nonce="10dee878",response="fadc5f7ff0
> 2e3cbd5e8253d173f0b691",uri="sip:2001 at 84.203.148.14"
> Max-Forwards: 70
> Content-Type: application/sdp
> User-Agent: X-Lite release 1103m
> Content-Length: 269
> 
> v=0
> o=2000 4676744 4679018 IN IP4 84.203.148.14
> s=X-Lite
> c=IN IP4 84.203.148.14
> t=0 0
> m=audio 8000 RTP/AVP 0 3 98 97 101
> a=rtpmap:0 pcmu/8000
> a=rtpmap:3 gsm/8000
> a=rtpmap:98 iLBC/8000
> a=rtpmap:97 speex/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> 
> RECEIVE TIME: 4679298
> RECEIVE << 84.203.148.14:5060
> SIP/2.0 404 Not Found
> Via: SIP/2.0/UDP
> 84.203.148.14:5061;branch=z9hG4bKFDC50F318C6B44F09C2FCBBAE4DF34A9;rece
> ived=84.203.148.14;rport=5061
> From: Aisling O' Driscoll <sip:2000 at 84.203.148.14:5061>;tag=2391420445
> To: <sip:2001 at 84.203.148.14>;tag=as4ebaa89b
> Call-ID: 3638FD10-CE4C-46B1-BFEA-2A6DCC4C2EF6 at 172.16.3.12
> CSeq: 6927 INVITE
> User-Agent: Asterisk PBX
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
> Contact: <sip:2001 at 172.16.3.15>
> Content-Length: 0
> 
> SEND TIME: 4679298
> SEND >> 84.203.148.14:5060
> ACK sip:2001 at 84.203.148.14 SIP/2.0
> Via: SIP/2.0/UDP
> 84.203.148.14:5061;rport;branch=z9hG4bKFDC50F318C6B44F09C2FCBBAE4DF34A
> 9
> From: Aisling O' Driscoll <sip:2000 at 84.203.148.14:5061>;tag=2391420445
> To: <sip:2001 at 84.203.148.14>;tag=as4ebaa89b
> Contact: <sip:2000 at 84.203.148.14:5061>
> Call-ID: 3638FD10-CE4C-46B1-BFEA-2A6DCC4C2EF6 at 172.16.3.12
> CSeq: 6927 ACK
> Max-Forwards: 70
> Content-Length: 0
> 
> 
> 
> ---- Original Message ----
> From: brian at hcc.net
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] xlite and asterisk
> Date: Wed, 10 Nov 2004 12:39:22 +0000
> 
> >404 not found can mean many things, are you using a supporting codec?
> >
> >On Wednesday 10 November 2004 05:25 pm, Ashling O'Driscoll wrote:
> >> Hi,
> >>
> >> Hope somebody can help. I have two xlite clients that register with
> >> asterisk. They are called 2000 and 2001.
> >>
> >> 1)When 2000 rings 2001 a '404 not found' message is returned even
> >> though he is registered with asterisk.
> >>
> >> 2)When 2001 rings 2000, a 'call not approved' error is returned. I
> >> found a thread regarding the 'call not approved' error in the
> >> asterisk archives but no solution was posted.
> >>
> >> I have included the relevant portion of my config files below. If
> >any
> >> further info is needed please let me know.
> >>
> >> Also how is it possible to dial a sip address e.g.
> >> sip:aisling at serveraddress from an xlite client?
> >>
> >> Thanks again,
> >> Aisling.
> >>
> >> sip.conf
> >>
> >> ;xlite client 1
> >>
> >> [2000]
> >>
> >> type=friend
> >> username=2000
> >> secret=whatever
> >> nat=yes
> >> host=dynamic
> >> mailbox=100
> >>
> >> [2001]
> >>
> >> type=friend
> >> username=2001
> >> secret=bla
> >> nat=yes
> >> host=dynamic
> >> mailbox=101
> >>
> >> extensions.conf
> >>
> >> exten =3D> 2000,1,Dial(SIP/2000,20)
> >> exten =3D> 2001,1,Dial(SIP/2001,20)
> >>
> >>
> >>
> >>
> >> -------------------Legal
> >Disclaimer---------------------------------------
> >>
> >> The above electronic mail transmission is confidential and intended
> >only
> >> for the person to whom it is addressed. Its contents may be
> >protected by
> >> legal and/or professional privilege. Should it be received by you
> >in error
> >> please contact the sender at the above quoted email address. Any
> >> unauthorised form of reproduction of this message is strictly
> >prohibited.
> >> The Institute does not guarantee the security of any information
> >> electronically transmitted and is not liable if the information
> >contained
> >> in this communication is not a proper and complete record of the
> >message as
> >> transmitted by the sender nor for any delay in its receipt.
> >>
> >>
> >---------------------------------------------------------------------
> >------
> >>-------------
> >>
> >> _______________________________________________
> >> Asterisk-Users mailing list
> >> Asterisk-Users at lists.digium.com
> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> To UNSUBSCRIBE or update options visit:
> >>    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >--
> >--
> >Heritage Communications Corporation
> >  Melbourne, FL     USA     32935
> >http://www.hcc.net
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >-------------------Legal
> >Disclaimer---------------------------------------
> >
> >The above electronic mail transmission is confidential and intended
> >only for the person to whom it is addressed. Its contents may be
> >protected by legal and/or professional privilege. Should it be
> >received by you in error please contact the sender at the above
> >quoted email address. Any unauthorised form of reproduction of this
> >message is strictly prohibited. The Institute does not guarantee the
> >security of any information electronically transmitted and is not
> >liable if the information contained in this communication is not a
> >proper and complete record of the message as transmitted by the
> >sender nor for any delay in its receipt.
> >
> >---------------------------------------------------------------------
> >-------------------
> >
> 
> -------------------Legal  Disclaimer---------------------------------------
> 
> The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
> 
> ----------------------------------------------------------------------------------------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list