search for: phonetyp

Displaying 4 results from an estimated 4 matches for "phonetyp".

Did you mean: phonetype
2016 Sep 08
3
PJSIP Weirdness, or just my weirdness?
...dp] type=transport protocol=udp bind=0.0.0.0:57969 [murftest12] ; Cisco SPA514G mac=A4:93:4C:FE:1D:A2 type=endpoint auth=murftest12 transport=transport-udp aors=murftest12 moh_suggest=default force_rport=yes rewrite_contact=yes rtp_symmetric=yes dtmf_mode=rfc4733 disallow=all allow=ulaw ; from phonetype allow=g722 ; from phonetype allow=alaw ; from phonetype allow=alaw ; from phonetype (G.729 replaced with alaw) direct_media=no context=phone rtp_timeout=120 set_var=__phoneid=12 set_var=__contacttypeid=4 set_var=__phonelineid=78 callerid="Steve Murphy" <101> call_group=2 pickup_gro...
2006 Feb 21
3
AJAX sub-list
In the new / edit screen for an "item" I''d like to be able to add/remove "sub-items" on pressing an add button below the "sub-items" a bit of a form shows up with the html looking something like: <div id="uniqueid"> <!-- label etc here --> <input type="text" id="sub_items[]" name="sub_items[]"
2007 May 09
0
How can I specify the selected value in collection_select when fieldname different than variable?
...one.number%></ td> <td><%= get_phone_types fieldname%></td></tr> <% n += 1 end %> <table> [/code] helper with get_phone_types [code] # #Create a Phone type select List #Take a list of html options # def get_phone_types(fieldname) @phones = PhoneType.find(:all, :order => "description ASC"); #TODO, how to assign the value from phone.phone_type.id? collection_select(fieldname, "phone_type_id", @phones, :id, :description); end [/code] Also, is it possible for me to call the PhoneType.find and save the resulting a...
2006 Jun 12
3
Multiple Form Fields with Same Model?
...orm that will allow a user to submit a list of phone numbers, but the list is dynamically created. Thus allowing my form to submit an unknown number of phone numbers. Here is some of the code I have been trying: <%= collection_select( "phone[]", "phone_type_id", PhoneType.find(:all, :order => "position"), :id, :description ) %> ( <%= text_field "phone[]", "area_code", :class => "phones" %> ) <%= text_field "phone[]", "prefix", :class => "phones" %> -...