Actually that worked perfectly, now I have another issue. I don't know the parking system too well.

I'm not sure whether I should hack res_features.c to include a ast_sendtext() call to peer to send the message or if I can do it from the conf file through SendText(). the issue is whether the conf file knows who parked the call in order to send them the message or whther this is something that happens in res_features.c





On 7/28/06, Joshua Colp <[EMAIL PROTECTED]> wrote:
----- Original Message -----
From: Guillermo Roditi
[mailto:[EMAIL PROTECTED]]
To: Asterisk Users Mailing List - Non-Commercial
Discussion [mailto: [email protected]]
Sent: Fri, 28 Jul 2006
17:51:26 -0300
Subject: Re: [asterisk-users] SendText() & displaying text
messages on     aSIPhandset's screen


> for amessage that says test test
>
> ------------------------------------------
>
> MESSAGE sip:[EMAIL PROTECTED] SIP/2.0
> Via: SIP/2.0/UDP 10.0.2.13:32827 ;branch=z9hG4bK.39f5be5f;rport;alias
> To: sip:[EMAIL PROTECTED]
> Call-ID: [EMAIL PROTECTED]
> CSeq: 1 MESSAGE
> Content-Type: text/plain
> Max-Forwards: 70
> User-Agent: sipsak 0.9.6
> From: sip:[EMAIL PROTECTED]:32827;tag=1945b6c2
> Content-Length: 9
> Content-Disposition: desktop
>
> test test
>
>
>

Ah, it must be the:

Content-Disposition: desktop

That does it... interesting. You may be able to hack chan_sip up a bit and add that header in.

Joshua Colp
Digium
_______________________________________________
--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

Reply via email to